login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A019793
Expansion of 1/((1-5x)(1-6x)(1-9x)).
1
1, 20, 271, 3110, 32641, 324800, 3125011, 29414090, 272851381, 2506362980, 22871235751, 207773763470, 1881803862121, 17008495407560, 153516126074491, 1384313656687250, 12474986630176861, 112372624930994540
OFFSET
0,2
FORMULA
a(n) = 25*5^n/4 -12*6^n +27*9^n/4. R. J. Mathar, Jun 29 2013
a(0)=1, a(1)=20, a(2)=271; for n>2, a(n) = 20*a(n-1) -129*a(n-2) +270*a(n-3). - Vincenzo Librandi, Jul 03 2013
a(n) = 15*a(n-1) -54*a(n-2) +5^n. - Vincenzo Librandi, Jul 03 2013
MATHEMATICA
CoefficientList[Series[1 / ((1 - 5 x) (1 - 6 x) (1 - 9 x)), {x, 0, 20}], x] (* Vincenzo Librandi, Jul 03 2013 *)
PROG
(Magma) m:=20; R<x>:=PowerSeriesRing(Integers(), m); Coefficients(R!(1/((1-5*x)*(1-6*x)*(1-9*x)))); /* or */ I:=[1, 20, 271]; [n le 3 select I[n] else 20*Self(n-1)-129*Self(n-2)+270*Self(n-3): n in [1..20]]; // Vincenzo Librandi, Jul 03 2013
CROSSREFS
Sequence in context: A180799 A021594 A224248 * A021774 A181384 A269009
KEYWORD
nonn,easy
AUTHOR
STATUS
approved