A332172 a(n) = 7*(10^(2n+1)-1)/9 - 5*10^n.
2, 727, 77277, 7772777, 777727777, 77777277777, 7777772777777, 777777727777777, 77777777277777777, 7777777772777777777, 777777777727777777777, 77777777777277777777777, 7777777777772777777777777, 777777777777727777777777777, 77777777777777277777777777777, 7777777777777772777777777777777
Offset: 0
Links
- Index entries for linear recurrences with constant coefficients, signature (111,-1110,1000).
Crossrefs
Programs
Formula
a(n) = 7*A138148(n) + 2*10^n.
G.f.: (2 + 505*x - 1200*x^2) / ((1 - x)*(1 - 10*x)*(1 - 100*x)).
a(n) = 111*a(n-1) - 1110*a(n-2) + 1000*a(n-3) for n>2.
Comments