login
This site is supported by donations to The OEIS Foundation.
Logo

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A138711 n-th run has length n-th positive triangular number, with digits 0 and 1 only, starting with 1. 2
1, 0, 0, 0, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 (list; graph; refs; listen; history; internal format)
OFFSET

1,1

EXAMPLE

.n ..... Run ............................... Length

.1 ..... 1 ................................. 1

.2 ..... 0,0,0 ............................. 3

.3 ..... 1,1,1,1,1,1........................ 6

.4 ..... 0,0,0,0,0,0,0,0,0,0 ............... 10

.5 ..... 1,1,1,1,1,1,1,1,1,1,1,1,1,1,1 ..... 15

MATHEMATICA

Flatten[Table[Join[PadRight[{}, (n(n+1))/2, 1], PadRight[{}, ((n+1)(n+2))/2, 0]], {n, 1, 7, 2}]] (* From Harvey P. Dale, Dec 11 2011 *)

CROSSREFS

Cf. A000217, A057211, A138149, A138709.

Sequence in context: A104107 A120532 A004555 * A154281 A154282 A178600

Adjacent sequences:  A138708 A138709 A138710 * A138712 A138713 A138714

KEYWORD

easy,nonn

AUTHOR

Omar E. Pol (info(AT)polprimos.com), Mar 29 2008

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 16 04:47 EST 2012. Contains 205860 sequences.