|
|
A190954
|
|
a(n) = 10*a(n-1) + 4*a(n-2), with a(0)=0, a(1)=1.
|
|
2
|
|
|
0, 1, 10, 104, 1080, 11216, 116480, 1209664, 12562560, 130464256, 1354892800, 14070785024, 146127421440, 1517557354496, 15760083230720, 163671061725184, 1699750950174720, 17652193748647936, 183320941287178240, 1903818187866374144, 19771465643812454400
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,3
|
|
LINKS
|
|
|
FORMULA
|
|
|
MATHEMATICA
|
LinearRecurrence[{10, 4}, {0, 1}, 50]
CoefficientList[Series[x/(1-10*x-4*x^2), {x, 0, 50}], x] (* G. C. Greubel, Jan 24 2018 *)
|
|
PROG
|
(PARI) x='x+O('x^30); concat([0], Vec(x/(1-10*x-4*x^2))) \\ G. C. Greubel, Jan 24 2018
(Magma) I:=[0, 1]; [n le 2 select I[n] else 10*Self(n-1) + 4*Self(n-2): n in [1..30]]; // G. C. Greubel, Jan 24 2018
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,easy
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|