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!)
A173521 a(n) is the concatenation of n 1's, 0, n 1's and 0. 1
0, 1010, 110110, 11101110, 1111011110, 111110111110, 11111101111110, 1111111011111110, 111111110111111110, 11111111101111111110, 1111111111011111111110, 111111111110111111111110 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,2
COMMENTS
a(n) is also A170940(n+1) written in base 2.
LINKS
FORMULA
G.f.: 10*x*(200*x-101) / ((x-1)*(10*x-1)*(100*x-1)). [Colin Barker, Sep 17 2013]
EXAMPLE
n ............... a(n)
0 ................ 0
1 ............... 1010
2 .............. 110110
3 ............. 11101110
4 ............ 1111011110
5 ........... 111110111110
6 .......... 11111101111110
7 ......... 1111111011111110
8 ........ 111111110111111110
9 ....... 11111111101111111110
MATHEMATICA
Table[FromDigits[Join[PadRight[{}, n, 1], {0}, PadRight[{}, n, 1], {0}]], {n, 0, 20}] (* Harvey P. Dale, Feb 25 2012 *)
PROG
(PARI) Vec(10*x*(200*x-101)/((x-1)*(10*x-1)*(100*x-1)) + O(x^100)) \\ Colin Barker, Sep 17 2013
CROSSREFS
Sequence in context: A252683 A157010 A076940 * A266442 A266673 A055473
KEYWORD
base,easy,nonn,changed
AUTHOR
Omar E. Pol, Mar 16 2010
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 23 16:40 EDT 2024. Contains 371916 sequences. (Running on oeis4.)