%I #40 Sep 13 2022 09:36:30
%S 3,0,3,2,3,2,2,1,4,3,0,3,3,4,3,2,4,1,1,2,4,1,2,2,4,0,4,1,4,0,2,3,1,4,
%T 2,1,1,1,4,3,0,2,0,3,1,0,0,2,2,0,0,3,4,4,4,1,3,2,2,1,1,0,1,0,4,0,3,3,
%U 2,1,3,4,4,0,0,4,3,2,4,4,4,0,1,4,4,1,0,4,2,3,3,4,1,3,3,0,1,1,3,2
%N Expansion of Pi in base 5.
%H G. C. Greubel, <a href="/A004604/b004604.txt">Table of n, a(n) for n = 1..10000</a>
%e 3.03232214303343241124122404140231421114...
%t RealDigits[Pi, 5, 100][[1]]
%t Table[ResourceFunction["NthDigit"][Pi, n, 5], {n, 1, 100}] (* _Joan Ludevid_, Aug 17 2022;easy to compute a(10000000)=0 with this function;requires Mathematica 12.0+ *)
%Y Pi in base b: A004601 (b=2), A004602 (b=3), A004603 (b=4), this sequence (b=5), A004605 (b=6), A004606 (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_
|