OFFSET
0,1
COMMENTS
2 followed by n 3's. - Wesley Ivan Hurt, Nov 14 2013
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..200
Index entries for linear recurrences with constant coefficients, signature (11,-10).
FORMULA
a(n) = 10*a(n-1) + 3.
a(n) = 11*a(n-1) - 10*a(n-2), n > 1.
G.f.: (2 + x)/(1 - 11*x + 10*x^2). - Vincenzo Librandi, Jan 04 2013
MAPLE
MATHEMATICA
CoefficientList[Series[(2 + x)/(1 - 11 * x + 10 * x^2), {x, 0, 30}], x] (* Vincenzo Librandi, Jan 04 2013 *)
(7 * 10^Range[0, 19] - 1)/3 (* Alonso del Arte, Aug 07 2014 *)
PROG
(Magma) [(7*10^n-1)/3 : n in [0..20]]
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Vincenzo Librandi, Nov 02 2011
STATUS
approved