View Single Post
Old 2013-02-11, 12:06   #5
paulunderwood
 
paulunderwood's Avatar
 
Sep 2002
Database er0rr

2×1,723 Posts
Default

Code:
c=0;cp=0;p=1;while(p<100000000,p=nextprime(p+1);cp++;if((p%12==11&&isprime((p+1)/12))||(p%12==5&&isprime((p+1)/6)),c++));print(cp" primes less than or equal to "p". With the property are "c". Percentage is "100.*c/cp".")
Quote:
5761456 primes less than or equal to 100000007. With the property are 249977. Percentage is 4.338
"The property" is "p+1=6*q or 12*q , q prime". But is it significant?
paulunderwood is offline   Reply With Quote