|
|
A015562
|
|
Expansion of x/(1 - 7*x - 5*x^2).
|
|
4
|
|
|
0, 1, 7, 54, 413, 3161, 24192, 185149, 1417003, 10844766, 82998377, 635212469, 4861479168, 37206416521, 284752311487, 2179298263014, 16678849398533, 127648437104801, 976933306726272, 7476775332607909, 57222093861886723
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,3
|
|
LINKS
|
|
|
FORMULA
|
a(n) = 7*a(n-1) + 5*a(n-2).
|
|
MATHEMATICA
|
|
|
PROG
|
(Sage) [lucas_number1(n, 7, -5) for n in range(0, 21)] # Zerinvary Lajos, Apr 24 2009
(Magma) [n le 2 select n-1 else 7*Self(n-1) + 5*Self(n-2): n in [1..30]]; // Vincenzo Librandi, Nov 14 2012
(PARI) x='x+O('x^30); concat([0], Vec(x/(1-7*x-5*x^2))) \\ G. C. Greubel, Dec 30 2017
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,easy
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|