Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A053602
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A053602 a(n)=a(n-1)-(-1)^n*a(n-2), a(0)=0, a(1)=1. +0
5
0, 1, 1, 2, 1, 3, 2, 5, 3, 8, 5, 13, 8, 21, 13, 34, 21, 55, 34, 89, 55, 144, 89, 233, 144, 377, 233, 610, 377, 987, 610, 1597, 987, 2584, 1597, 4181, 2584, 6765, 4181, 10946, 6765, 17711, 10946, 28657, 17711, 46368, 28657, 75025, 46368, 121393, 75025 (list; graph; listen)
OFFSET

0,4

COMMENT

If b(0)=0, b(1)=1 and b(n)=b(n-1)+(-1)^n*b(n-2), then a(n)=b(n+3) [From Jaume Oliver Lafont (joliverlafont(AT)gmail.com), Oct 03 2009]

LINKS

Index entries for two-way infinite sequences

FORMULA

G.f.: x*(1+x+x^2)/(1-x^2-x^4). a(n)=a(n-2)+a(n-4).

a(2n)=F(n), a(2n-1)=F(n+1) where F() is Fibonacci sequence.

Also a(n) can be defined as follow: a(3)=1, a(4)=2, for n>4 a(n+2)=a(n+1)+sign(a(n)-a(n+1))*a(n) - Benoit Cloitre (benoit7848c(AT)orange.fr), Apr 08 2002

a(n) = A079977(n-1) + A079977(n-2) + A079977(n-3), n>2. - Ralf Stephan, Apr 26 2003

a(1) = 0, a(2) = 1; a(2n+1) = a(2n)-a(2n-1) a(2n+2) = a(2n) + a(2n+1). - Amarnath Murthy (amarnath_murthy(AT)yahoo.com), Jul 21 2005

PROGRAM

(PARI) a(n)=fibonacci(n\2+n%2*2)

CROSSREFS

a(3-n)=A051792(n). Cf. A000045.

Sequence in context: A114209 A132091 A051792 this_sequence A123231 A058736 A097451

Adjacent sequences: A053599 A053600 A053601 this_sequence A053603 A053604 A053605

KEYWORD

nonn,easy

AUTHOR

Michael Somos, Jan 17 2000

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified December 6 22:55 EST 2009. Contains 170429 sequences.


AT&T Labs Research