OFFSET
1,2
LINKS
G. C. Greubel, Table of n, a(n) for n = 1..500
Index entries for linear recurrences with constant coefficients, signature (23,-163,361,-320,100).
FORMULA
a(n) = n*10^(n-1) + n*(n-1)/2.
From G. C. Greubel, May 27 2021: (Start)
G.f.: x*(1 -2*x -17*x^2 +99*x^3)/((1-x)^3 * (1-10*x)^2).
E.g.f.: (1/2)*x*( x*exp(x) + 2*exp(10*x) ). (End)
MATHEMATICA
Table[n*10^(n-1) +n(n-1)/2, {n, 40}] (* G. C. Greubel, May 27 2021 *)
PROG
(Sage) [n*10^(n-1) +binomial(n, 2) for n in (1..40)] # G. C. Greubel, May 27 2021
CROSSREFS
KEYWORD
base,easy,nonn
AUTHOR
Amarnath Murthy, Apr 01 2003
EXTENSIONS
Terms a(13) onward added by G. C. Greubel, May 27 2021
STATUS
approved