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!)
A100132 a(n) = Sum_{k=0..floor(n/4)} C(n-2k,2k) * 2^(n-3k). 4
1, 2, 4, 8, 18, 44, 112, 288, 740, 1896, 4848, 12384, 31624, 80752, 206208, 526592, 1344784, 3434272, 8770368, 22397568, 57198368, 146071744, 373034240, 952645120, 2432840256, 6212924032, 15866403584, 40519208448, 103476899968 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,2
COMMENTS
Binomial transform of 1,1,1,1,3,3,7,7,41,... (g.f. (1-x)(1+x)^2/(1-2x^2-x^4)).
LINKS
FORMULA
G.f.: (1-2x)/((1-2x)^2-2x^4).
a(n) = 4*a(n-1) - 4*a(n-2) + 2*a(n-3).
a(n) = Sum_{k=0..floor(n/2)} C(n-k, k)2^(n-3k/2)(1+(-1)^k)/2. - Paul Barry, Jan 22 2005
MATHEMATICA
LinearRecurrence[{4, -4, 0, 2}, {1, 2, 4, 8}, 30] (* Harvey P. Dale, Jun 07 2016 *)
PROG
(PARI) a(n) = sum(k=0, n\4, binomial(n-2*k, 2*k)*2^(n-3*k)); \\ Michel Marcus, Oct 09 2021
CROSSREFS
Sequence in context: A308246 A114203 A339837 * A176720 A088457 A006786
KEYWORD
easy,nonn
AUTHOR
Paul Barry, Nov 06 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 June 29 12:03 EDT 2024. Contains 373848 sequences. (Running on oeis4.)