OFFSET
1,1
COMMENTS
There are 780 possible prime patterns for centuries having 2 primes. - Tim Johannes Ohrtmann, Aug 27 2015
LINKS
T. D. Noe, Table of n, a(n) for n = 1..1000
EXAMPLE
3020 is in this sequence because there are 2 primes between 302000 and 302099 (302009 and 302053).
PROG
(Sage)
def is_A186394(n):
np0 = next_prime(next_prime(100*n))
np1 = next_prime(np0)
return np0 <= 100*n+99 and np1 > 100*n+99 # D. S. McNeil, Feb 21 2011
(PARI) for(n=1, 1e6, if(sum(k=100*n, 100*(n+1), ispseudoprime(k))==2, print1(n", "))); \\ Charles R Greathouse IV, Feb 21 2011
(PARI) N=100; s=0; forprime(p=2, 4e9, if(p>N, if(s==2, 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