|
|
A023438
|
|
Dying rabbits: a(n) = a(n-1) + a(n-2) - a(n-8).
|
|
3
|
|
|
0, 1, 1, 2, 3, 5, 8, 13, 21, 33, 53, 84, 134, 213, 339, 539, 857, 1363, 2167, 3446, 5479, 8712, 13852, 22025, 35020, 55682, 88535, 140771, 223827, 355886, 565861, 899722, 1430563, 2274603, 3616631, 5750463, 9143267, 14537844, 23115250, 36753372, 58438059
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,4
|
|
LINKS
|
|
|
FORMULA
|
G.f.: x / ( (x-1)*(x^7+x^6+x^5+x^4+x^3+x^2-1) ). - R. J. Mathar, Nov 29 2011
|
|
MATHEMATICA
|
LinearRecurrence[{1, 1, 0, 0, 0, 0, 0, -1}, {0, 1, 1, 2, 3, 5, 8, 13}, 40] (* Harvey P. Dale, Nov 03 2023 *)
|
|
PROG
|
(PARI) concat(0, Vec(x / ( (x-1)*(x^7+x^6+x^5+x^4+x^3+x^2-1) ) + O(x^60))) \\ Michel Marcus, Sep 06 2017
|
|
CROSSREFS
|
See A000045 for the Fibonacci numbers.
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|