login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A251653 5-step Fibonacci sequence starting with 0,0,1,0,0. 1
0, 0, 1, 0, 0, 1, 2, 4, 7, 14, 28, 55, 108, 212, 417, 820, 1612, 3169, 6230, 12248, 24079, 47338, 93064, 182959, 359688, 707128, 1390177, 2733016, 5372968, 10562977 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,7
LINKS
H. Prodinger, Counting Palindromes According to r-Runs of Ones Using Generating Functions, J. Int. Seq. 17 (2014) # 14.6.2, even length, r=4.
FORMULA
a(n+5) = a(n) + a(n+1) + a(n+2) + a(n+3) + a(n+4).
G.f.: x^2*(x^2 + x - 1)/(x^5 + x^4 + x^3 + x^2 + x - 1). - Chai Wah Wu, May 27 2016
MATHEMATICA
LinearRecurrence[{1, 1, 1, 1, 1}, {0, 0, 1, 0, 0}, 100] (* G. C. Greubel, May 27 2016 *)
PROG
(J) (see www.jsoftware.com) First construct the generating matrix
1 1 1 1 1
1 2 2 2 2
2 3 4 4 4
4 6 7 8 8
8 12 14 15 16
Given that matrix one can produce the first 5*200 numbers by
, M(+/ . *)^:(i.250) 0 0 1 0 0x
CROSSREFS
Sequence in context: A068060 A239791 A358837 * A057744 A251708 A293325
KEYWORD
nonn,easy
AUTHOR
Arie Bos, Dec 06 2014
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 25 03:15 EDT 2024. Contains 371964 sequences. (Running on oeis4.)