OFFSET
0,2
LINKS
Index entries for linear recurrences with constant coefficients, signature (10,-17,8).
FORMULA
a(n) = Sum_{i=0..n} A108019(i).
a(n) = 4*(8^(n+1)-7n-8)/49 = 4*A014831(n). - R. J. Mathar, Oct 21 2008
a(0)=0, a(1)=4, a(2)=40, a(n)=10*a(n-1)-17*a(n-2)+8*a(n-3). - Harvey P. Dale, Aug 08 2013
a(n) = A145729(n)/2. G.f.: -4*x / ((x-1)^2*(8*x-1)). - Colin Barker, Oct 28 2014
MATHEMATICA
lst={}; s=0; Do[s+=(s+=(s+=n+s)); AppendTo[lst, s], {n, 0, 5!}]; lst
Accumulate[NestList[8#+4&, 0, 20]] (* or *) LinearRecurrence[{10, -17, 8}, {0, 4, 40}, 20] (* Harvey P. Dale, Aug 08 2013 *)
PROG
(PARI) concat(0, Vec(-4*x/((x-1)^2*(8*x-1)) + O(x^100))) \\ Colin Barker, Oct 28 2014
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Vladimir Joseph Stephan Orlovsky, Oct 17 2008
EXTENSIONS
Edited by R. J. Mathar, Oct 21 2008
STATUS
approved