|
|
A190005
|
|
a(n) = 6*a(n-1) + 10*a(n-2), with a(0)=0, a(1)=1.
|
|
3
|
|
|
0, 1, 6, 46, 336, 2476, 18216, 134056, 986496, 7259536, 53422176, 393128416, 2892992256, 21289237696, 156665348736, 1152884469376, 8483960303616, 62432606515456, 459435242128896, 3380937517927936, 24879977528856576, 183089240352418816, 1347335217403078656
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,3
|
|
LINKS
|
|
|
FORMULA
|
a(n) = sqrt(19)*((3+sqrt(19))^n - (3-sqrt(19))^n)/38. - Paolo P. Lava, Jun 06 2011
|
|
MATHEMATICA
|
LinearRecurrence[{6, 10}, {0, 1}, 50]
CoefficientList[Series[x/(1-6*x-10*x^2), {x, 0, 50}], x] (* G. C. Greubel, Jan 11 2018 *)
|
|
PROG
|
(PARI) x='x+O('x^30); concat([0], Vec(x/(1-6*x-10*x^2))) \\ G. C. Greubel, Jan 11 2018
(Magma) I:=[0, 1]; [n le 2 select I[n] else 6*Self(n-1) + 10*Self(n-2): n in [1..30]]; \\ G. C. Greubel, Jan 11 2018
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,easy
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|