The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A018069 Expansion of 1/((1-3x)(1-8x)(1-10x)). 1
1, 21, 307, 3873, 45235, 504633, 5465323, 58007361, 606913219, 6283868745, 64556638939, 659310178449, 6703052628403, 67910134629657, 686138217844555, 6917677165178337, 69627131588692387, 699874195511336169 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,2
LINKS
FORMULA
a(0)=1, a(1)=21, a(2)=307; for n>2, a(n) = 21*a(n-1) -134*a(n-2) +240*a(n-3). - Vincenzo Librandi, Jul 02 2013
a(n) = 18*a(n-1) -80*a(n-2) +3^n. - Vincenzo Librandi, Jul 02 2013
a(n) = (5*10^(n+2) - 7*8^(n+2) + 2*3^(n+2))/70. [Yahia Kahloune, Jul 06 2013]
MATHEMATICA
CoefficientList[Series[1 / ((1 - 3 x) (1 - 8 x) (1 - 10 x)), {x, 0, 30}], x] (* Vincenzo Librandi, Jul 02 2013 *)
LinearRecurrence[{21, -134, 240}, {1, 21, 307}, 20] (* Harvey P. Dale, Jul 02 2023 *)
PROG
(Magma) m:=20; R<x>:=PowerSeriesRing(Integers(), m); Coefficients(R!(1/((1-3*x)*(1-8*x)*(1-10*x)))); /* or */ I:=[1, 21, 307]; [n le 3 select I[n] else 21*Self(n-1)-134*Self(n-2)+240*Self(n-3): n in [1..20]]; // Vincenzo Librandi, Jul 02 2013
CROSSREFS
Sequence in context: A081553 A021524 A021268 * A019488 A025929 A021244
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 May 14 09:29 EDT 2024. Contains 372532 sequences. (Running on oeis4.)