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!)
A115217 Diagonal sums of "correlation triangle" for 2^n. 2
1, 2, 6, 13, 30, 62, 133, 270, 558, 1125, 2286, 4590, 9253, 18542, 37230, 74533, 149358, 298862, 598309, 1196910, 2394990, 4790565, 9583470, 19168110, 38340901, 76684142, 153377646, 306759973, 613538670, 1227086702, 2454210853 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,2
COMMENTS
Diagonal sums of number triangle A003983.
LINKS
FORMULA
a(n)=sum{k=0..floor(n/2), sum{j=0..n-k, [j<=k]*2^(k-j)[j<=n-2k]2^(n-2k-j)}}.
G.f.: 1/((1-2x)(1-2x^2)(1-x^3)); a(n)=2a(n-1)+2a(n-2)-3a(n-3)-2a(n-4)-2a(n-5)+4a(n-6); - Paul Barry, Jan 18 2006
MATHEMATICA
LinearRecurrence[{2, 2, -3, -2, -2, 4}, {1, 2, 6, 13, 30, 62}, 40] (* Harvey P. Dale, Oct 18 2021 *)
CROSSREFS
Sequence in context: A288979 A289048 A297388 * A094687 A369584 A336875
KEYWORD
easy,nonn
AUTHOR
Paul Barry, Jan 16 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 June 10 14:28 EDT 2024. Contains 373264 sequences. (Running on oeis4.)