A186394 Numbers k such that there are 2 primes between 100*k and 100*k + 99.
3020, 3709, 4484, 4617, 4806, 4921, 5072, 5423, 5616, 6041, 6194, 6231, 6452, 6485, 6683, 6828, 7101, 7365, 7454, 7532, 7839, 8096, 8157, 8728, 8738, 9221, 9486, 9635, 9796, 10152, 10506, 10720, 10852, 11261, 11621, 11736, 11953, 11992
Offset: 1
Keywords
Examples
3020 is in this sequence because there are 2 primes between 302000 and 302099 (302009 and 302053).
Links
- T. D. Noe, Table of n, a(n) for n = 1..1000
Crossrefs
Programs
-
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
-
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
Comments