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!)
A026635 Sum{T(i,j)}, 0<=i<=n, 0<=j<=n, T given by A026626. 2
1, 3, 8, 18, 40, 84, 174, 354, 716, 1440, 2890, 5790, 11592, 23196, 46406, 92826, 185668, 371352, 742722, 1485462, 2970944, 5941908, 11883838, 23767698, 47535420, 95070864, 190141754, 380283534, 760567096, 1521134220, 3042268470, 6084536970, 12169073972 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,2
LINKS
FORMULA
G.f.: [1+x^4]/[(1-x)(1-2x)(1-x^2)]. - Ralf Stephan, Apr 30 2004
From Colin Barker, Sep 29 2017: (Start)
a(n) = (-9 + (-1)^n + 17*2^n - 6*n) / 6 for n>0.
a(n) = 3*a(n-1) - a(n-2) - 3*a(n-3) + 2*a(n-4) for n>4.
(End)
MATHEMATICA
LinearRecurrence[{3, -1, -3, 2}, {1, 3, 8, 18, 40}, 40] (* Harvey P. Dale, Jan 17 2024 *)
PROG
(PARI) Vec((1 + x^4) / ((1 - x)^2*(1 + x)*(1 - 2*x)) + O(x^40)) \\ Colin Barker, Sep 29 2017
CROSSREFS
Sequence in context: A360784 A335464 A369733 * A135094 A026657 A036384
KEYWORD
nonn,easy
AUTHOR
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 April 23 14:15 EDT 2024. Contains 371914 sequences. (Running on oeis4.)