|
|
A020494
|
|
Expansion of 1/((1-5x)(1-9x)(1-10x)).
|
|
1
|
|
|
1, 24, 391, 5394, 67921, 808164, 9257851, 103242534, 1128792181, 12157176504, 129404822911, 1364594578074, 14281107062041, 148528742855244, 1536752582181571, 15830742722056014, 162476531910613501
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,2
|
|
LINKS
|
|
|
FORMULA
|
a(n) = 5*5^n/4 -81*9^n/4 +20*10^n. - R. J. Mathar, Jun 30 2013
a(0)=1, a(1)=24, a(2)=391; for n>2, a(n) = 24*a(n-1) -185*a(n-2) +450*a(n-3). - Vincenzo Librandi, Jul 03 2013
|
|
MATHEMATICA
|
CoefficientList[Series[1 / ((1 - 5 x) (1 - 9 x) (1 - 10 x)), {x, 0, 20}], x] (* Vincenzo Librandi, Jul 03 2013 *)
LinearRecurrence[{24, -185, 450}, {1, 24, 391}, 20] (* Harvey P. Dale, Nov 27 2014 *)
|
|
PROG
|
(Magma) m:=20; R<x>:=PowerSeriesRing(Integers(), m); Coefficients(R!(1/((1-5*x)*(1-9*x)*(1-10*x)))); /* or */ I:=[1, 24, 391]; [n le 3 select I[n] else 24*Self(n-1)-185*Self(n-2)+450*Self(n-3): n in [1..20]]; // Vincenzo Librandi, Jul 03 2013
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,easy
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|