A002280 a(n) = 6*(10^n - 1)/9.
0, 6, 66, 666, 6666, 66666, 666666, 6666666, 66666666, 666666666, 6666666666, 66666666666, 666666666666, 6666666666666, 66666666666666, 666666666666666, 6666666666666666, 66666666666666666, 666666666666666666, 6666666666666666666, 66666666666666666666, 666666666666666666666
Offset: 0
Links
- Ivan Panchenko, Table of n, a(n) for n = 0..200
- Kival Ngaokrajang, Illustration of initial terms.
- Index entries for linear recurrences with constant coefficients, signature (11,-10).
Crossrefs
Programs
-
Mathematica
LinearRecurrence[{11,-10},{0,6},20] (* Harvey P. Dale, Dec 20 2012 *)
-
PARI
a(n)=6*(10^n-1)/9 \\ Charles R Greathouse IV, Sep 24 2015
Formula
a(n) = 6*A002275(n).
From Jaume Oliver Lafont, Feb 03 2009: (Start)
G.f.: 6*x/((1-x)*(1-10*x)).
a(n) = 11*a(n-1) - 10*a(n-2) with a(0)=0, a(1)=6. (End)
a(n) = a(n-1) + 6*10^(n-1) with a(0)=0. - Vincenzo Librandi, Jul 22 2010
E.g.f.: 2*exp(x)*(exp(9*x) - 1)/3. - Stefano Spezia, Sep 13 2023
From Elmo R. Oliveira, Jul 21 2025: (Start)
a(n) = A073551(n+1)/2 for n >= 1.
Comments