20120718, 04:16  #23 
"Ben"
Feb 2007
3,361 Posts 

20120718, 18:54  #24 
"Serge"
Mar 2008
Phi(4,2^7658614+1)/2
59·157 Posts 
98 > 9862803482...07182848167_{<61303>} PRP

20120719, 17:01  #26 
"Serge"
Mar 2008
Phi(4,2^7658614+1)/2
242F_{16} Posts 
a(20) and a(96) both would be larger than 71000 digits. Running up to 100k digits.

20120720, 00:38  #27 
Mar 2006
Germany
2·1,433 Posts 
Here's some code for finding possible numbers of PIdigitprimes for testing with pfgw.
All needed info. are given in the attachment. 
20120720, 01:13  #28 
"Serge"
Mar 2008
Phi(4,2^7658614+1)/2
59·157 Posts 
Ah. Interesting to compare different programming styles.
Here's my scriptus. Code:
#!/usr/bin/perl w $N=(shift  '20'); # Pi is prepared by gp :: \p 100000; write("Pi",Pi) open IN, "Pi"; $_=<IN>; s/\s+$//; $l=length($_); for($i=0;$i<length($_) && (substr($_,$i,length($N)) ne $N);$i++) {} die unless substr($_,$i,length($N)) eq $N; $s3=substr($_,$i,1); # sum of digits for divisibiltyby3 test for($j=1;$j<$l$i;$j++) { $s3+=substr($_,$i+$j,1); print substr($_,$i,$j+1),"\n" if(substr($_,$i+$j,1) =~ /[1379]/ && $s3%3!=0); } #then run pfgw f cfile 
20120723, 06:47  #29 
May 2007
Kansas; USA
7×13×113 Posts 
IMHO, it makes some of the sequences "uninteresting" if we allow the number itself as a prime. To make them more interesting, I think that only primes with digits added should be allowed. Doing this, we have the following smallest primes from the 1st post of this thread:
Code:
1 > 14159 2 > 26535897932384626433832795028841971693993751058209 3 > 31 4 > 41 5 > 59 6 > 653 7 > 79 8 > 89 9 > 9265358979323 10 > (41938digit PRP already posted) 11 > 1170679 12 > 1284811174502841027019385211055596446229489549303819644288109756659334461284756482337867831652712019091456485669234603486104543266482133936072602491412737245870066063155881748815209209628292540917153643678925903 Last fiddled with by gd_barnes on 20120723 at 07:09 
20120723, 07:04  #30 
Mar 2006
Germany
2·1,433 Posts 
13, 17, 19, 23, 29,... and many others (see file in post #9).
Last fiddled with by kar_bon on 20120723 at 07:04 
20120723, 07:08  #31 
May 2007
Kansas; USA
10283_{10} Posts 

20120723, 07:16  #32 
"Serge"
Mar 2008
Phi(4,2^7658614+1)/2
59×157 Posts 
17 gets in a spot of trouble but it has a 6918digit PRP. Others (I checked only a few ...up to 100... 200) escape easily.
Last fiddled with by Batalov on 20120723 at 07:51 
20120810, 01:27  #33 
May 2004
New York City
2^{3}·23^{2} Posts 
Based on the OP looking for certain primes among the digits of pi,
where is the first occurrence of each successive prime in pi, i.e. the first "2", ... , the first "97", etc. up to say 100000. Indexing could begin with the 3 as 1 or 0. There are repetitions and the sequence is not in numerical order. (I have not computed this sequence.) Also, where are the first occurrences of the Mersenne prime exponents. (The 8 digit ones may be far to find.) 
Thread Tools  
Similar Threads  
Thread  Thread Starter  Forum  Replies  Last Post 
Mersenne Primes p which are in a set of twin primes is finite?  carpetpool  Miscellaneous Math  3  20170810 13:47 
Distribution of Mersenne primes before and after couples of primes found  emily  Math  34  20170716 18:44 
Conjecture about Mersenne primes and nonprimes v2  Mickey1  Miscellaneous Math  1  20130530 12:32 
A conjecture about Mersenne primes and nonprimes  Unregistered  Information & Answers  0  20110131 15:41 
possible primes (real primes & poss.prime products)  troels munkner  Miscellaneous Math  4  20060602 08:35 