login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A021048 Expansion of 1/((1-x)(1-2x)(1-3x)(1-9x)). 1
1, 15, 160, 1530, 14071, 127605, 1151470, 10372560, 93381541, 840520395, 7564945180, 68085295590, 612770035411, 5514937460385, 49634458601290, 446710191850620, 4020391920103681, 36183527861539575, 325651752496199800 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,2
LINKS
FORMULA
a(n) = (243/112)*9^n - (9/4)*3^n + (8/7)*2^n - 1/16. - Neven Juric, Oct 22 2009
a(0)=1, a(1)=15; for n>1, a(n) = 12*a(n-1) -27*a(n-2) +2^n - 1. - Vincenzo Librandi, Jul 05 2013
a(0)=1, a(1)=15, a(2)=160, a(3)=1530; for n>3, a(n) = 15*a(n-1) -65*a(n-2) +105*a(n-3) -54*a(n-4). - Vincenzo Librandi, Jul 05 2013
MATHEMATICA
CoefficientList[Series[1 / ((1 - x) (1 - 2 x) (1 - 3 x) (1 - 9 x)), {x, 0, 20}], x] (* Vincenzo Librandi, Jul 05 2013 *)
PROG
(Magma) m:=25; R<x>:=PowerSeriesRing(Integers(), m); Coefficients(R!(1/((1-x)*(1-2*x)*(1-3*x)*(1-9*x)))); /* or */ I:=[1, 15, 160, 1530]; [n le 4 select I[n] else 15*Self(n-1)-65*Self(n-2)+105*Self(n-3)-54*Self(n-4): n in [1..25]]; // Vincenzo Librandi, Jul 05 2013
CROSSREFS
Sequence in context: A016297 A206811 A027544 * A095685 A263514 A323292
KEYWORD
nonn,easy
AUTHOR
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified March 28 10:55 EDT 2024. Contains 371241 sequences. (Running on oeis4.)