OFFSET
1,2
COMMENTS
a(n) is also A147595(n) written in base 2. [From Omar E. Pol, Nov 08 2008]
LINKS
FORMULA
a(n) = 11+11*10^(n-2) for n>3. a(n) = 11*a(n-1)-10*a(n-2). G.f.: -x*(10*x^2-1)*(10*x^2+1) / ((x-1)*(10*x-1)). - Colin Barker, Sep 15 2013
EXAMPLE
n .... a(n)
1 .... 1
2 .... 11
3 .... 111
4 .... 1111
5 .... 11011
6 .... 110011
7 .... 1100011
8 .... 11000011
9 .... 110000011
10 ... 1100000011
MATHEMATICA
LinearRecurrence[{11, -10}, {1, 11, 111, 1111, 11011}, 20] (* Harvey P. Dale, Aug 21 2016 *)
PROG
(PARI) Vec(-x*(10*x^2-1)*(10*x^2+1)/((x-1)*(10*x-1)) + O(x^100)) \\ Colin Barker, Sep 15 2013
CROSSREFS
KEYWORD
easy,nonn,base
AUTHOR
Omar E. Pol, Mar 29 2008
EXTENSIONS
Better definition. - Omar E. Pol, Nov 15 2008
STATUS
approved