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

 


A100137
a(n) = Sum_{k=0..floor(n/6)} C(n-3k,3k) * 2^(n-6k).
4
1, 2, 4, 8, 16, 32, 65, 136, 296, 672, 1584, 3840, 9473, 23566, 58736, 146080, 361760, 891328, 2184961, 5331476, 12958684, 31400160, 75910320, 183220800, 441787201, 1064687642, 2565404524, 6181873208, 14899796416, 35922756992, 86635757825
OFFSET
0,2
COMMENTS
Binomial transform of 1,1,1,1,1,1,2,2,2,5,5,11,11,... with g.f. (1-x)^2(1+x)^2/(1-3x^2+3x^4-2x^6)=(1+x)(1-x^2)^2/((1-x^2)^3-x^6).
FORMULA
G.f.: (1-2x)^2/((1-2x)^3 - x^6).
a(n) = 6*a(n-1) - 12*a(n-2) + 8*a(n-3) + a(n-6).
MATHEMATICA
Table[Sum[Binomial[n-3k, 3k]2^(n-6k), {k, 0, Floor[n/6]}], {n, 0, 30}] (* or *) LinearRecurrence[{6, -12, 8, 0, 0, 1}, {1, 2, 4, 8, 16, 32}, 31] (* Harvey P. Dale, Mar 19 2015 *)
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Paul Barry, Nov 06 2004
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | 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 September 22 11:05 EDT 2024. Contains 376097 sequences. (Running on oeis4.)