OFFSET
1,2
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 1..200
Index entries for linear recurrences with constant coefficients, signature (10, -10).
FORMULA
a(n+1) = 10*a(n) - sum(k=1..n-1, a(k) ).
a(n)= 10*a(n-1) -10*a(n-2). G.f.: x*(1-x)/(1-10*x+10*x^2). [R. J. Mathar, Apr 14 2010]
MATHEMATICA
CoefficientList[Series[(1 - x) / (1 - 10 x + 10 x^2), {x, 0, 30}], x] (* Vincenzo Librandi, Aug 14 2013 *)
PROG
(PARI) lista(nn) = {x = xx + O(xx^nn); Vec(x*(1-x)/(1-10*x+10*x^2)); } \\ Michel Marcus, Aug 13 2013
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Ashleigh Marsh (ashleigh(AT)e-marsh.freeserve.co.uk), Apr 10 2010
EXTENSIONS
More terms from R. J. Mathar, Apr 14 2010
STATUS
approved