OFFSET
1,1
COMMENTS
There are 2459376 possible prime patterns for centuries having 7 primes. - Tim Johannes Ohrtmann, Aug 27 2015
LINKS
T. D. Noe, Table of n, a(n) for n = 1..1000
EXAMPLE
59 is in this sequence because there are 7 primes between 5900 and 5999 (5903, 5923, 5927, 5939, 5953, 5981 and 5987).
MATHEMATICA
Select[Range[610], PrimePi[100#+99]-PrimePi[100#]==7&] (* Harvey P. Dale, Nov 05 2011 *)
PROG
(PARI) for(n=1, 1e6, if(sum(k=100*n, 100*(n+1), ispseudoprime(k))==7, print1(n", "))); \\ Charles R Greathouse IV, Feb 21 2011
(PARI) N=100; s=0; forprime(p=2, 1e6, if(p>N, if(s==7, print1((N\100)-1, ", ")); s=1; N=100*(p\100+1), s++)) \\ Charles R Greathouse IV, Feb 21 2011
CROSSREFS
KEYWORD
nonn
AUTHOR
Tim Johannes Ohrtmann, Feb 20 2011
STATUS
approved
