Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Expansion of Pi in base 7.
22

%I #36 Oct 03 2022 11:59:25

%S 3,0,6,6,3,6,5,1,4,3,2,0,3,6,1,3,4,1,1,0,2,6,3,4,0,2,2,4,4,6,5,2,2,2,

%T 6,6,4,3,5,2,0,6,5,0,2,4,0,1,5,5,4,4,3,2,1,5,4,2,6,4,3,1,0,2,5,1,6,1,

%U 1,5,4,5,6,5,2,2,0,0,0,2,6,2,2,4,3,6,1,0,3,3,0,1,4,4,3,2,3,3,6,3,1,0,1,1,3

%N Expansion of Pi in base 7.

%H G. C. Greubel, <a href="/A004606/b004606.txt">Table of n, a(n) for n = 1..10000</a>

%e 3.06636514320361341102634022446522266435...

%t RealDigits[Pi, 7, 105][[1]]

%t Table[ResourceFunction["NthDigit"][Pi, n, 7], {n, 1, 105}] (* _Joan Ludevid_, Sep 13 2022; easy to compute a(10000000)=5 with this function;requires Mathematica 12.0+ *)

%Y Pi in base b: A004601 (b=2), A004602 (b=3), A004603 (b=4), A004604 (b=5), A004605 (b=6), this sequence (b=7), A006941 (b=8), A004608 (b=9), A000796 (b=10), A068436 (b=11), A068437 (b=12), A068438 (b=13), A068439 (b=14), A068440 (b=15), A062964 (b=16), A060707 (b=60).

%Y Cf. A007514.

%K nonn,base,cons,easy

%O 1,1

%A _N. J. A. Sloane_