login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

The first n base-5 digits of Pi expressed in decimal forms a prime.
1

%I #2 Mar 30 2012 17:30:37

%S 1,6,102,131,230

%N The first n base-5 digits of Pi expressed in decimal forms a prime.

%e The first 6 quinary digits of Pi (A004604) are 303232 = 9817 in decimal, which is a prime.

%t Do[ If[ PrimeQ[ FromDigits[ First[ RealDigits[Pi, 5, n]], 5]], Print[n]], {n, 1, 3600} ]

%Y Cf. A004604.

%K base,nonn

%O 1,2

%A _Robert G. Wilson v_, Dec 10 2001