|
|
A020595
|
|
Expansion of 1/((1-6x)(1-9x)(1-10x)).
|
|
1
|
|
|
1, 25, 421, 5965, 76741, 929005, 10791061, 121699645, 1342777381, 14569879885, 156038219701, 1653799781725, 17380932862021, 181408804717165, 1882561696208341, 19442349988398205, 199976918230722661
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,2
|
|
LINKS
|
|
|
FORMULA
|
a(0)=1, a(1)=25, a(2)=421; For n>2, a(n) = 25*a(n-1)-204*a(n-2)+540*a(n-3). - Harvey P. Dale, Oct 13 2012
a(n) = (3*10^(n+2) - 4*9^(n+2) + 6^(n+2))/12. [Yahia Kahloune, Jun 30 2013]
|
|
MATHEMATICA
|
CoefficientList[Series[1 / ((1 - 6 x) (1 - 9 x) (1 - 10 x)), {x, 0, 30}], x] (* or *) LinearRecurrence[{25, -204, 540}, {1, 25, 421}, 20] (* Harvey P. Dale, Oct 13 2012 *)
|
|
PROG
|
(Magma) m:=20; R<x>:=PowerSeriesRing(Integers(), m); Coefficients(R!(1/((1-6*x)*(1-9*x)*(1-10*x)))); /* or */ I:=[1, 25, 421]; [n le 3 select I[n] else 25*Self(n-1)-204*Self(n-2)+540*Self(n-3): n in [1..20]]; // Vincenzo Librandi, Jul 04 2013
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,easy
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|