The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A065989 The first n ternary digits of Pi expressed in decimal forms a prime. 0
 2, 10, 14, 83, 669, 720, 921, 2944, 4567 (list; graph; refs; listen; history; text; internal format)
 OFFSET 1,1 COMMENTS No further terms up to 10000. - Harvey P. Dale, Oct 14 2018 LINKS EXAMPLE The first 10 ternary digits of Pi (A004602) are 1001021101 = 20611 in decimal, which is a prime. MATHEMATICA Do[ If[ PrimeQ[ FromDigits[ First[ RealDigits[Pi, 2, n]], 2]], Print[n]], {n, 1, 5000} ] Module[{nn=4600, pd}, pd=RealDigits[Pi, 3, nn][[1]]; Position[Table[ FromDigits[ Take[ pd, n], 3], {n, nn}], _?(PrimeQ[#]&)]]//Flatten (* Harvey P. Dale, Oct 14 2018 *) CROSSREFS Cf. A004602. Sequence in context: A047043 A244268 A233454 * A299378 A031222 A272041 Adjacent sequences:  A065986 A065987 A065988 * A065990 A065991 A065992 KEYWORD base,nonn AUTHOR Robert G. Wilson v, Dec 10 2001 STATUS approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

Last modified September 27 17:05 EDT 2021. Contains 347693 sequences. (Running on oeis4.)