A152764 Bisection of A138144.
1, 111, 11011, 1100011, 110000011, 11000000011, 1100000000011, 110000000000011, 11000000000000011, 1100000000000000011, 110000000000000000011, 11000000000000000000011
Offset: 1
Examples
n ...... a(n) 1 ....... 1 2 ...... 111 3 ..... 11011 4 .... 1100011 5 ... 110000011
Links
- Index entries for linear recurrences with constant coefficients, signature (101,-100).
Programs
-
Mathematica
LinearRecurrence[{101,-100},{1,111,11011,1100011},20] (* Harvey P. Dale, Nov 26 2019 *)
-
PARI
Vec(-x*(10*x-1)*(10*x+1)^2/((x-1)*(100*x-1)) + O(x^100)) \\ Colin Barker, Sep 16 2013
Formula
From Colin Barker, Sep 16 2013: (Start)
a(n) = 11+11*10^(2*n-3) for n>2.
a(n) = 101*a(n-1)-100*a(n-2) for n>4.
G.f.: -x*(10*x-1)*(10*x+1)^2 / ((x-1)*(100*x-1)). (End)