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.

A021247 Decimal expansion of 1/243.

Original entry on oeis.org

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

Views

Author

N. J. A. Sloane, Dec 11 1996

Keywords

Comments

Period 27 Repeat: [0, 0, 4, 1, 1, 5, 2, 2, 6, 3, 3, 7, 4, 4, 8, 5, 5, 9, 6, 7, 0, 7, 8, 1, 8, 9, 3]. - Wesley Ivan Hurt, May 25 2014

Examples

			0.00411522633744855967078189300411522633744855967078189300411522633744855967078...
		

Crossrefs

Cf. A010701 (1/3), A000012 (1/3^2), A021085 (1/3^4), A021733 (1/3^6).
Cf. A068542 (period of the fraction 1/3^n).

Programs

  • Maple
    Digits:=100; evalf(1/243); # Wesley Ivan Hurt, May 25 2014
  • Mathematica
    RealDigits[1/243, 10, 100, -1][[1]] (* Wesley Ivan Hurt, May 25 2014; corrected by Harvey P. Dale, Jan 23 2019 *)
    PadRight[{},120,{0,0,4,1,1,5,2,2,6,3,3,7,4,4,8,5,5,9,6,7,0,7,8,1,8,9,3}] (* Harvey P. Dale, Jan 23 2019 *)
  • PARI
    A021247_upto(N=100)={localprec(N+3);digits((1/3^5+1)\.1^N)[^1]} \\ M. F. Hasler, Apr 23 2021

Formula

1/243 = 1/3^5. - M. F. Hasler, Apr 23 2021