|
|
A122995
|
|
Expansion of x*(1+4*x)/(1-x-25*x^2).
|
|
6
|
|
|
1, 5, 30, 155, 905, 4780, 27405, 146905, 832030, 4504655, 25305405, 137921780, 770556905, 4218601405, 23482524030, 128947559155, 716010659905, 3939699638780, 21839966136405, 120332457105905, 666331610516030, 3674643038163655, 20332933301064405, 112199009255155780
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,2
|
|
COMMENTS
|
The sequence can also be generated by adding of the top-row elements of the (n-1)st power of the matrix [[0,1],[1,1/5]] and multiplying with 5^(n-1).
|
|
LINKS
|
|
|
FORMULA
|
a(n) = (1/2+9*sqrt(101)/202)*(1/2+sqrt(101)/2)^(n-1) + (1/2-9*sqrt(101)/202)*(1/2-sqrt(101)/2)^(n-1). [Antonio Alberto Olivares, Jun 07 2011]
|
|
MATHEMATICA
|
M := {{0, 1}, {1, 1/5}}; v[1] = {1, 1}; v[n_] := v[n] = M.v[n - 1]; a = Table[v[n][[1]]*5^(n - 1), {n, 1, 30}]
LinearRecurrence[{1, 25}, {1, 5}, 30] (* Harvey P. Dale, Mar 11 2017 *)
|
|
PROG
|
(PARI) Vec(x*(1+4*x)/(1-x-25*x^2) + O(x^30)) \\ Michel Marcus, Jan 28 2015
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,easy
|
|
AUTHOR
|
|
|
EXTENSIONS
|
Replaced definition by a specific one - The Assoc. Eds. of the OEIS, Jun 07 2010
|
|
STATUS
|
approved
|
|
|
|