OFFSET
0,3
COMMENTS
a(n)/10^n converges to 470/2187=0.214906264...
LINKS
Index entries for linear recurrences with constant coefficients, signature (14,-46,64,-41,10).
FORMULA
a(n) = (10^n-1)*(470/2187)-n^3/9-n^2*(10/27)-n*(110/243).
G.f.: -x*(x^2+4*x+1) / ((x-1)^4*(10*x-1)). - Colin Barker, Sep 13 2014
MATHEMATICA
RecurrenceTable[{a[0]==0, a[n]==10a[n-1]+n^3}, a, {n, 20}] (* Harvey P. Dale, Mar 21 2023 *)
PROG
(PARI) concat(0, Vec(-x*(x^2+4*x+1)/((x-1)^4*(10*x-1)) + O(x^100))) \\ Colin Barker, Sep 13 2014
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Henry Bottomley, Jul 04 2000
EXTENSIONS
Corrected by T. D. Noe, Nov 08 2006
More terms from Colin Barker, Sep 13 2014
STATUS
approved