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; text; internal format)
OFFSET

1,1

LINKS

Table of n, a(n) for n=1..84.

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}]] (* Harvey P. Dale, Dec 11 2011 *)

CROSSREFS

Cf. A000217, A057211, A138149, A138709.

Sequence in context: A120532 A004555 A288855 * A154281 A154282 A224877

Adjacent sequences:  A138708 A138709 A138710 * A138712 A138713 A138714

KEYWORD

easy,nonn

AUTHOR

Omar E. Pol, Mar 29 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 | Recent | More pages
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy .

Last modified June 25 20:26 EDT 2017. Contains 288730 sequences.