OFFSET
0,3
COMMENTS
Previous name was: Sequence whose n-th term digits sum to n.
n-th term digits are reversals of A094624(n).
LINKS
Paolo Xausa, Table of n, a(n) for n = 0..1000
Index entries for linear recurrences with constant coefficients, signature (1,10,-10).
FORMULA
G.f.: x*(1+10*x)/((1-x)*(1-10*x^2)).
a(n) = (10^(n/2)/2)*(11/9 + 2*sqrt(10)/9 - (2*sqrt(10)/9 - 11/9)*(-1)^n) - 11/9.
E.g.f.: (11*(cosh(sqrt(10)*x) - cosh(x)) + 2*sqrt(10)*sinh(sqrt(10)*x) - 11*sinh(x))/9. - Stefano Spezia, Feb 21 2024
MATHEMATICA
LinearRecurrence[{1, 10, -10}, {0, 1, 11}, 30] (* Paolo Xausa, Feb 22 2024 *)
CROSSREFS
KEYWORD
easy,nonn,base
AUTHOR
Paul Barry, May 15 2004
STATUS
approved