OFFSET
0,1
COMMENTS
The year 2003 is the only prime year in the 2000 decade.
MATHEMATICA
Select[10*Range[200], PrimePi[#+10]-PrimePi[#]==1&] (* Harvey P. Dale, Apr 13 2020 *)
PROG
(PARI) decade1(n1, n2) = { forstep(x=n1, n2, 10, if(isprime(x+1) && !isprime(x+3) && !isprime(x+7) && !isprime(x+9), print1(x" "); ); if(isprime(x+3) && !isprime(x+1) && !isprime(x+7) && !isprime(x+9), print1(x" "); ); if(isprime(x+7) && !isprime(x+1) && !isprime(x+3) && !isprime(x+9), print1(x" "); ); if(isprime(x+9) && !isprime(x+1) && !isprime(x+3) && !isprime(x+7), print1(x" "); ); ); }
CROSSREFS
KEYWORD
easy,nonn,base
AUTHOR
Cino Hilliard, Jan 04 2003
STATUS
approved