login
This site is supported by donations to The OEIS Foundation.
Logo

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A019274 Number of recursive calls needed to compute the n-th Fibonacci number F(n), starting with F(1) = F(2) = 1. 3
0, 0, 2, 4, 8, 14, 24, 40, 66, 108, 176, 286, 464, 752, 1218, 1972, 3192, 5166, 8360, 13528, 21890, 35420, 57312, 92734, 150048, 242784, 392834, 635620, 1028456, 1664078, 2692536, 4356616, 7049154, 11405772, 18454928, 29860702, 48315632 (list; graph; refs; listen; history; internal format)
OFFSET

1,3

COMMENTS

Let g=F(2)+F(3)+...+F(n)=F(n+2)-2. Some numbers in the range [0,g] have unique representations of the form sum_{i=1..n} a(i)*F(i) where each a(i) is 1 or -1. These numbers have the form g-k for k in the sequence. - Louis ten Bosch (louis_ten_bosch(AT)hotmail.com), Jan 01 2003

a(n+2) = Sum[k=0..n, Fib(n-k) + k*Fib(n-k) ].

LINKS

Kim Trammell, sci.math article

FORMULA

a(n)=a(n-1)+a(n-2)+2. a(n)=2*F(n)-2.

a(n)=sum{k=0..n, (2-2*0^(n-k))*F(k)}; - Paul Barry (pbarry(AT)wit.ie), Oct 24 2007

a(n)=F(n)+F(n+3)-2 n>=-1 {where F(n) is the n-th Fibonacci number} - Zerinvary Lajos (zerinvarylajos(AT)yahoo.com), Jan 31 2008

MAPLE

with(combinat): seq(fibonacci(n)+fibonacci(n+3)-2, n=-1..35); - Zerinvary Lajos (zerinvarylajos(AT)yahoo.com), Jan 31 2008

MATHEMATICA

Fibonacci[Range[5! ]]*2-2 [From Vladimir Orlovsky (4vladimir(AT)gmail.com), Mar 19 2010]

CROSSREFS

Cf. A000045.

Antidiagonal sums of array A017125.

Sequence in context: A123655 A084683 A118544 * A164173 A164162 A164165

Adjacent sequences:  A019271 A019272 A019273 * A019275 A019276 A019277

KEYWORD

nonn,easy,nice

AUTHOR

Kim Trammell (kim(AT)coc.com) and others.

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 12 13:33 EST 2012. Contains 205412 sequences.