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!)
A124217 Expansion of (1-x-x^2)/(1-2x-x^2+x^4). 2
1, 1, 2, 5, 11, 26, 61, 143, 336, 789, 1853, 4352, 10221, 24005, 56378, 132409, 310975, 730354, 1715305, 4028555, 9461440, 22221081, 52188297, 122569120, 287865097, 676078233, 1587833266, 3729175645, 8758319459, 20569736330 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,3
COMMENTS
Diagonal sums of generalized Pascal triangle A124216.
LINKS
FORMULA
a(n)=sum{k=0..floor(n/2), sum{j=0..n-k, C(n-k,j)C(j,2(j-k))2^(j-k)}};
MATHEMATICA
CoefficientList[Series[(1-x-x^2)/(1-2x-x^2+x^4), {x, 0, 40}], x] (* or *) LinearRecurrence[{2, 1, 0, -1}, {1, 1, 2, 5}, 40] (* Harvey P. Dale, Jun 14 2016 *)
CROSSREFS
Sequence in context: A238437 A191692 A182015 * A095981 A247471 A082397
KEYWORD
easy,nonn
AUTHOR
Paul Barry, Oct 19 2006
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 29 00:26 EDT 2024. Contains 371264 sequences. (Running on oeis4.)