|
|
|
|
1, 5, 23, 104, 469, 2115, 9539, 43024, 194053, 875245, 3947651, 17805240, 80307649, 362214635, 1633710407, 7368586016, 33234813001, 149900237685, 676100727791, 3049442757256, 13754017334317, 62035266076915, 279800013602699, 1261992614249520, 5692013155802701
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,2
|
|
LINKS
|
|
|
FORMULA
|
G.f.: (1 - x + x^2)/(1 - 6 x + 8 x^2 - 6 x^3 + x^4).
a(n) = 6*a(n-1) - 8*a(n-2) + 6*a(n-3) - a(n-4).
|
|
MATHEMATICA
|
z = 60; s = x/(1 - x)^2; p = 1 - 2 s - 2 s^2;
Drop[CoefficientList[Series[s, {x, 0, z}], x], 1] (* A000027 *)
u = Drop[CoefficientList[Series[1/p, {x, 0, z}], x], 1] (* A290923 *)
LinearRecurrence[{6, -8, 6, -1}, {1, 5, 23, 104}, 30] (* Harvey P. Dale, Nov 10 2022 *)
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,easy
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|