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.

A136517 a(0) = 3; for n > 0, break up decimal expansion of Pi into chunks of increasing lengths; leading zeros are not printed.

Original entry on oeis.org

3, 1, 41, 592, 6535, 89793, 238462, 6433832, 79502884, 197169399, 3751058209, 74944592307, 816406286208, 9986280348253, 42117067982148, 86513282306647, 938446095505822, 31725359408128481, 117450284102701938, 5211055596446229489
Offset: 0

Views

Author

N. J. A. Sloane, Apr 21 2008

Keywords

References

  • Sylvia Nasar, A Beautiful Mind (1998), p. 210.
  • Clifford A. Pickover, A Passion for Mathematics, Wiley, 2005; see p. 64.

Crossrefs

Programs

  • Maple
    with(StringTools): lim:=23: s:=convert(evalf[lim^2](Pi-3),string): printf("3, "): for n from 1 to lim do printf("%d, ",parse(SubString(s,(n-1)*n/2+2..n*(n+1)/2+1))); od: # Nathaniel Johnston, May 08 2011
  • Mathematica
    Join[{3},FromDigits/@With[{p=RealDigits[Pi,10,220][[1]]},Table[ Take[ p, {(n(n-1))/2+2,(n(n-1))/2+1+n}],{n,20}]]] (* Harvey P. Dale, Aug 20 2011 *)

Extensions

Extended by Nathaniel Johnston, May 08 2011