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.

A138722 Concatenation of p digits 1, p digits 0 and p digits 1, where p is the n-th prime.

Original entry on oeis.org

110011, 111000111, 111110000011111, 111111100000001111111, 111111111110000000000011111111111, 111111111111100000000000001111111111111
Offset: 1

Views

Author

Omar E. Pol, Mar 29 2008

Keywords

Crossrefs

Programs

  • Mathematica
    Table[FromDigits[Join[PadRight[{},n,1],PadRight[{},n,0],PadRight[{},n,1]]],{n,Prime[Range[7]]}] (* Harvey P. Dale, Feb 05 2017 *)