|
|
A138826
|
|
Concatenation of 2n-1 digits 1, n digits 0 and 2n-1 digits 1.
|
|
11
|
|
|
101, 11100111, 1111100011111, 111111100001111111, 11111111100000111111111, 1111111111100000011111111111, 111111111111100000001111111111111, 11111111111111100000000111111111111111
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
COMMENTS
|
a(n) has 5n-2 digits.
|
|
LINKS
|
|
|
FORMULA
|
a(n) = (10^(2n-1)-1+10^(5n-2)-10^(3n-1))/9. [R. J. Mathar, Nov 07 2008, corrected Nov 09 2008]
G.f.: x*(1100000000*x^3-2000000*x^2+888910*x+101) / ((x-1)*(100*x-1)*(1000*x-1)*(100000*x-1)). - Colin Barker, Sep 16 2013
|
|
EXAMPLE
|
n ........... a(n)
1 ........... 101
2 ......... 11100111
3 ....... 1111100011111
4 ..... 111111100001111111
5 ... 11111111100000111111111
|
|
PROG
|
(PARI) Vec(x*(1100000000*x^3-2000000*x^2+888910*x+101)/((x-1)*(100*x-1)*(1000*x-1)*(100000*x-1)) + O(x^100)) \\ Colin Barker, Sep 16 2013
|
|
CROSSREFS
|
|
|
KEYWORD
|
base,easy,nonn
|
|
AUTHOR
|
|
|
EXTENSIONS
|
Corrected typo in exponent of my formula. - R. J. Mathar, Nov 09 2008
|
|
STATUS
|
approved
|
|
|
|