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!)
A152895 Partial sums of A152891. 2
0, 2, 11, 40, 123, 349, 951, 2539, 6710, 17645, 46290, 121302, 317706, 831920, 2178173, 5702734, 14930181, 39087979, 102333945, 267914065, 701408480, 1836311627, 4807526676, 12586268700, 32951279748, 86267570894, 225851433311 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
FORMULA
From R. J. Mathar, Jan 08 2009: (Start)
G.f.: x^2*(2-x)/((1-3x+x^2)*(1-x)^3).
a(n) = A001906(n+1)-A000217(n+1). (End)
a(1)=0, a(2)=2, a(3)=11, a(4)=40, a(5)=123, a(n)=6*a(n-1)-13*a(n-2)+ 13*a(n-3)- 6*a(n-4)+a(n-5). - Harvey P. Dale, Mar 26 2015
MATHEMATICA
lst={}; a=b=s=0; Do[b+=n+a; a+=n+b; s+=a; AppendTo[lst, s], {n, 0, 2*4!}]; lst
Accumulate[LinearRecurrence[{5, -8, 5, -1}, {0, 2, 9, 29}, 30]] (* or *) LinearRecurrence[{6, -13, 13, -6, 1}, {0, 2, 11, 40, 123}, 30] (* Harvey P. Dale, Mar 26 2015 *)
CROSSREFS
Sequence in context: A274326 A055329 A193005 * A308524 A335629 A000822
KEYWORD
nonn
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 24 14:12 EDT 2024. Contains 371960 sequences. (Running on oeis4.)