login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
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.
a(n) is also A147540(n) written in base 2. [From Omar E. Pol, Nov 08 2008]
LINKS
Index entries for linear recurrences with constant coefficients, signature (101101,-110201100,10110100000,-10000000000).
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
Sequence in context: A082521 A365994 A262645 * A292686 A138720 A262627
KEYWORD
base,easy,nonn
AUTHOR
Omar E. Pol, Apr 06 2008
EXTENSIONS
Corrected typo in exponent of my formula. - R. J. Mathar, Nov 09 2008
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 19 21:09 EDT 2024. Contains 371798 sequences. (Running on oeis4.)