A066138 a(n) = 10^(2*n) + 10^n + 1.
3, 111, 10101, 1001001, 100010001, 10000100001, 1000001000001, 100000010000001, 10000000100000001, 1000000001000000001, 100000000010000000001, 10000000000100000000001, 1000000000001000000000001, 100000000000010000000000001, 10000000000000100000000000001, 1000000000000001000000000000001
Offset: 0
Examples
From _Peter Bala_, Sep 25 2015: (Start) Simple continued fraction expansions showing large partial quotients: a(9)^(1/3) =[1000000; 2999, 1, 499999, 1439, 1, 2582643, 1, 1, 1, 2, 3, 3, ...]. a(20)^(1/4) = [10000000000; 39999999999, 1, 3999999999, 16949152542, 2, 1, 2, 6, 1, 4872106, 3, 9, 2, 3, ...]. a(25)^(1/5) = [10000000000; 4999999999999999, 1, 3333333332, 2, 1, 217391304347825, 2, 2, 1, 1, 1, 2, 1, 23980814, 1, 1, 1, 1, 1, 7, ...]. (End)
Links
- Harry J. Smith, Table of n, a(n) for n=0..100
- Index entries for linear recurrences with constant coefficients, signature (111,-1110,1000).
Programs
-
Magma
[10^(2*n) + 10^n + 1: n in [0..20]]; // Vincenzo Librandi, Sep 27 2015
-
Mathematica
Table[10^(2 n) + 10^n + 1, {n, 0, 15}] (* Michael De Vlieger, Sep 27 2015 *) CoefficientList[Series[(3 - 222 x + 1110 x^2)/((1 - 100 x) (1 - 10 x) (1 - x)), {x, 0, 33}], x] (* Vincenzo Librandi, Sep 27 2015 *)
-
PARI
a(n) = { 10^(2*n) + 10^n + 1 } \\ Harry J. Smith, Feb 02 2010
-
PARI
Vec(-3*(370*x^2-74*x+1)/((x-1)*(10*x-1)*(100*x-1)) + O(x^20)) \\ Colin Barker, Sep 27 2015
Formula
A168624(n) = a(2*n)/a(n). - Peter Bala, Sep 24 2015
G.f.: (3 - 222*x + 1110*x^2)/((1 - 100*x)*(1 - 10*x)*(1 - x)). - Vincenzo Librandi, Sep 27 2015
From Colin Barker, Sep 27 2015: (Start)
a(n) = 111*a(n-1) - 1110*a(n-2) + 1000*a(n-3) for n > 2.
G.f.: -3*(370*x^2-74*x+1)/((x-1)*(10*x-1)*(100*x-1)). (End)
From Elmo R. Oliveira, Aug 27 2024: (Start)
E.g.f.: exp(x)*(exp(99*x) + exp(9*x) + 1).
a(n) = 3*A074992(n). (End)
Extensions
Offset changed from 1 to 0 by Harry J. Smith, Feb 02 2010
More terms from Michael De Vlieger, Sep 27 2015
Comments