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!)
A098583 Expansion of (1+2*x+4*x^2+8*x^3+16*x^4)/(1-x-32*x^6). 1
1, 3, 7, 15, 31, 31, 63, 159, 383, 863, 1855, 2847, 4863, 9951, 22207, 49823, 109183, 200287, 355903, 674335, 1384959, 2979295, 6473151, 12882335, 24271231, 45849951, 90168639, 185506079, 392646911, 804881631, 1581561023, 3048759455 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,2
LINKS
FORMULA
a(n) = a(n-1) + 32*a(n-6).
a(n) = Sum_{k=0..n} binomial(n-k, floor(k/5)) * 2^k.
MATHEMATICA
CoefficientList[Series[(1+2x+4x^2+8x^3+16x^4)/(1-x-32x^6), {x, 0, 40}], x] (* or *) LinearRecurrence[{1, 0, 0, 0, 0, 32}, {1, 3, 7, 15, 31, 31}, 40] (* Harvey P. Dale, May 02 2014 *)
PROG
(PARI) x='x+O('x^30); Vec((1+2*x+4*x^2+8*x^3+16*x^4)/(1-x-32*x^6)) \\ G. C. Greubel, Feb 03 2018
(Magma) I:=[1, 3, 7, 15, 31, 31]; [n le 6 select I[n] else Self(n-1) + 32*Self(n-6): n in [1..30]]; // G. C. Greubel, Feb 03 2018
CROSSREFS
Cf. A098582.
Sequence in context: A064084 A090633 A320024 * A275531 A275532 A212315
KEYWORD
easy,nonn
AUTHOR
Paul Barry, Sep 16 2004
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 15 14:34 EDT 2024. Contains 372540 sequences. (Running on oeis4.)