A246058 a(n) = (16*10^n - 7)/9.
1, 17, 177, 1777, 17777, 177777, 1777777, 17777777, 177777777, 1777777777, 17777777777, 177777777777, 1777777777777, 17777777777777, 177777777777777, 1777777777777777, 17777777777777777, 177777777777777777, 1777777777777777777, 17777777777777777777, 177777777777777777777
Offset: 0
Links
- Vincenzo Librandi, Table of n, a(n) for n = 0..100
- Index entries for linear recurrences with constant coefficients, signature (11,-10).
Crossrefs
Cf. similar sequences listed in A246057.
Programs
-
Magma
[(16*10^n-7)/9: n in [0..20]];
-
Mathematica
Table[(16 10^n - 7)/9, {n, 0, 20}]
Formula
G.f.: (1+6*x)/((1-x)*(1-10*x)).
a(n) = 11*a(n-1) - 10*a(n-2).
E.g.f.: exp(x)*(16*exp(9*x) - 7)/9. - Elmo R. Oliveira, May 06 2025