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!)
A235537 Expansion of (6 + 13*x - 8*x^2 - 8*x^3 + 6*x^4)/((1 + x)^2*(1 - x)^3). 2
6, 19, 23, 41, 49, 72, 84, 112, 128, 161, 181, 219, 243, 286, 314, 362, 394, 447, 483, 541, 581, 644, 688, 756, 804, 877, 929, 1007, 1063, 1146, 1206, 1294, 1358, 1451, 1519, 1617, 1689, 1792, 1868, 1976, 2056, 2169, 2253, 2371, 2459, 2582, 2674, 2802, 2898 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,1
LINKS
FORMULA
G.f.: (6 + 13*x - 8*x^2 - 8*x^3 + 6*x^4)/((1 + x)^2*(1 - x)^3).
a(n) = a(n-1) + 2*a(n-2) - 2*a(n-3) - a(n-4) + a(n-5).
a(n) = (6*n*(3*n + 17) - (2*n + 43)*(-1)^n + 11)/16 + 8. The terms a(2k) are in A235332; the closed form of the terms a(2k+1) is n*(9*n+35)/2+19.
MATHEMATICA
Table[(6 n (3 n + 17) - (2 n + 43) (-1)^n + 11)/16 + 8, {n, 0, 50}]
LinearRecurrence[{1, 2, -2, -1, 1}, {6, 19, 23, 41, 49}, 80] (* Harvey P. Dale, Aug 22 2015 *)
PROG
(Magma) [(6*n*(3*n+17)-(2*n+43)*(-1)^n+11)/16+8: n in [0..50]];
CROSSREFS
Cf. A235332.
Sequence in context: A012589 A009048 A294313 * A046955 A042215 A041911
KEYWORD
nonn,easy
AUTHOR
Bruno Berselli, Jan 23 2014
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 20 10:17 EDT 2024. Contains 371814 sequences. (Running on oeis4.)