login
This site is supported by donations to The OEIS Foundation.

 

Logo

Annual Appeal: Please make a donation (tax deductible in USA) to keep the OEIS running. Over 5000 articles have referenced us, often saying "we discovered this result with the help of the OEIS".

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

Table of n, a(n) for n=1..27.

Index entries for linear recurrences with constant coefficients, signature (6,-13,13,-6,1).

FORMULA

G.f.: x^2(2-x)/((1-3x+x^2)(1-x)^3). a(n)=A001906(n+1)-A000217(n+1). [From R. J. Mathar, Jan 08 2009]

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

Cf. A152891

Sequence in context: A274326 A055329 A193005 * A176621 A000822 A154813

Adjacent sequences:  A152892 A152893 A152894 * A152896 A152897 A152898

KEYWORD

nonn

AUTHOR

Vladimir Joseph Stephan Orlovsky, Dec 14 2008

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent | More pages
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy .

Last modified December 6 11:02 EST 2016. Contains 278776 sequences.