cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A138720 Concatenation of k digits 1, k digits 0 and k digits 1, where k is the n-th positive triangular number.

Original entry on oeis.org

101, 111000111, 111111000000111111, 111111111100000000001111111111, 111111111111111000000000000000111111111111111, 111111111111111111111000000000000000000000111111111111111111111
Offset: 1

Views

Author

Omar E. Pol, Mar 29 2008

Keywords

Crossrefs

Cf. A000217, 138711, A138179, A138721, A138722.

Programs

  • Mathematica
    Table[c=(n(n+1))/2;FromDigits[Join[PadRight[{},c,1],PadRight[{},c,0], PadRight[{},c,1]]],{n,10}] (* Harvey P. Dale, Oct 15 2013 *)