A198972 a(n) = (7*10^n - 1)/3.
2, 23, 233, 2333, 23333, 233333, 2333333, 23333333, 233333333, 2333333333, 23333333333, 233333333333, 2333333333333, 23333333333333, 233333333333333, 2333333333333333, 23333333333333333, 233333333333333333, 2333333333333333333, 23333333333333333333, 233333333333333333333
Offset: 0
Links
- Vincenzo Librandi, Table of n, a(n) for n = 0..200
- Index entries for linear recurrences with constant coefficients, signature (11,-10).
Programs
-
Magma
[(7*10^n-1)/3 : n in [0..20]];
-
Maple
A198972:=n->(7*10^n-1)/3; seq(A198972(n), n=0..50); # Wesley Ivan Hurt, Nov 14 2013
-
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 *)
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
From Elmo R. Oliveira, Jun 14 2025: (Start)
E.g.f.: exp(x)*(7*exp(9*x) - 1)/3.
a(n) = A198699(n)/3. (End)
Comments