OFFSET
1,1
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 1..300
Index entries for linear recurrences with constant coefficients, signature (11,-10).
FORMULA
a(n) = 3*(10^n - 2).
R(a(n)) = A086944(n).
From Elmo R. Oliveira, Apr 30 2025: (Start)
G.f.: 6*x*(5*x+4)/((x-1)*(10*x-1)).
E.g.f.: 3*(1 - 2*exp(x) + exp(10*x)).
a(n) = 3*A099150(n).
a(n) = 11*a(n-1) - 10*a(n-2) for n > 2. (End)
MATHEMATICA
3(10^Range[20]-2) (* or *) 10*Table[FromDigits[PadRight[{2}, n, 9]], {n, 20}]+4 (* Harvey P. Dale, Jul 25 2023 *)
PROG
(Magma) [3*(10^n-2): n in [1..20]]; // Vincenzo Librandi, Aug 22 2011
CROSSREFS
KEYWORD
nonn,base,easy
AUTHOR
Ray Chandler, Jul 24 2003
STATUS
approved
