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.

A051480 Run lengths in binary expansion of Pi.

Original entry on oeis.org

2, 2, 1, 2, 1, 4, 6, 1, 2, 1, 1, 1, 1, 1, 1, 3, 1, 3, 1, 4, 1, 1, 2, 1, 1, 3, 2, 4, 1, 3, 2, 1, 1, 2, 2, 3, 1, 2, 2, 3, 2, 2, 2, 3, 1, 1, 1, 3, 1, 1, 3, 7, 2, 1, 3, 5, 3, 2, 2, 1, 1, 3, 1, 2, 1, 1, 1, 2, 1, 6, 1, 2, 1, 2, 3, 5, 1, 3, 1, 3, 1, 1, 1, 2, 2, 2, 5, 2, 2, 3, 3, 1, 1, 8, 1, 5, 1, 1, 3, 1, 5, 1, 1, 1, 1
Offset: 1

Views

Author

H. Tracy Hall (hthall(AT)math.berkeley.edu)

Keywords

Examples

			The binary expansion of Pi is: 11. 00 1 00 1 0000 111111 0 ...
		

Crossrefs

Programs

  • Mathematica
    Map[Length, Most[Split[First[RealDigits[Pi, 2, 300]]]]] (* Paolo Xausa, Jul 30 2024 *)