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.

A021139 Decimal expansion of 1/135.

Original entry on oeis.org

0, 0, 7, 4, 0, 7, 4, 0, 7, 4, 0, 7, 4, 0, 7, 4, 0, 7, 4, 0, 7, 4, 0, 7, 4, 0, 7, 4, 0, 7, 4, 0, 7, 4, 0, 7, 4, 0, 7, 4, 0, 7, 4, 0, 7, 4, 0, 7, 4, 0, 7, 4, 0, 7, 4, 0, 7, 4, 0, 7, 4, 0, 7, 4, 0, 7, 4, 0, 7, 4, 0, 7, 4, 0, 7, 4, 0, 7, 4, 0, 7, 4, 0, 7, 4, 0, 7, 4, 0, 7, 4, 0, 7, 4, 0, 7, 4, 0, 7
Offset: 0

Views

Author

Keywords

Programs

  • Mathematica
    PadLeft[First@ #, Abs@ Last@ # + Length@ First@ #] &@ RealDigits[N[1/135, 120]] (* Bruno Berselli, Jun 21 2016 *)
    Join[{0,0},RealDigits[1/135,10,120][[1]]] (* or *) PadRight[{0},120,{4,0,7}] (* Harvey P. Dale, Jun 16 2023 *)