A006941 Expansion of Pi in base 8.
3, 1, 1, 0, 3, 7, 5, 5, 2, 4, 2, 1, 0, 2, 6, 4, 3, 0, 2, 1, 5, 1, 4, 2, 3, 0, 6, 3, 0, 5, 0, 5, 6, 0, 0, 6, 7, 0, 1, 6, 3, 2, 1, 1, 2, 2, 0, 1, 1, 1, 6, 0, 2, 1, 0, 5, 1, 4, 7, 6, 3, 0, 7, 2, 0, 0, 2, 0, 2, 7, 3, 7, 2, 4, 6, 1, 6, 6, 1, 1, 6, 3, 3, 1, 0, 4, 5, 0, 5, 1, 2, 0, 2, 0, 7, 4, 6, 1, 6, 1, 5, 0, 0, 2, 3
Offset: 1
Examples
3.1103755242102643021514230630505600670...
References
- D. E. Knuth, The Art of Computer Programming. Addison-Wesley, Reading, MA, Vol. 1, p. 614.
- N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, Academic Press, 1995 (includes this sequence).
Links
Crossrefs
Programs
-
Maple
convert(evalf(Pi), octal, 120); # Alois P. Heinz, Dec 16 2018
-
Mathematica
RealDigits[ N[ Pi, 105], 8] [[1]] Table[ResourceFunction["NthDigit"][Pi, n, 8], {n, 1, 105}] (* Joan Ludevid, Sep 13 2022; easy to compute a(10000000)=1 with this function; requires Mathematica 12.0+ *)
Formula
Extensions
More terms from Michel ten Voorde, Apr 14 2001