OFFSET
1,1
LINKS
Robert Israel, Table of n, a(n) for n = 1..10000
MAPLE
select(t -> nops(select(isprime, [t+1, t+3, t+7, t+9]))=2, [seq(i, i=10..10^4, 10)]); # Robert Israel, Feb 05 2019
PROG
(PARI) decade2(n1, n2) = { if(n1==0, n1=10); forstep(x=n1, n2, 10, if(isprime(x+1) && isprime(x+3) && !isprime(x+7) && !isprime(x+9), print1(x" "); ); if(isprime(x+1) && isprime(x+7) && !isprime(x+3) && !isprime(x+9), print1(x" "); ); if(isprime(x+1) && isprime(x+9) && !isprime(x+3) && !isprime(x+7), print1(x" "); ); if(isprime(x+3) && isprime(x+7) && !isprime(x+1) && !isprime(x+9), print1(x" "); ); if(isprime(x+3) && isprime(x+9) && !isprime(x+1) && !isprime(x+7), print1(x" "); ); if(isprime(x+7) && isprime(x+9) && !isprime(x+1) && !isprime(x+3), print1(x" "); ); ); }
CROSSREFS
KEYWORD
easy,nonn,base
AUTHOR
Cino Hilliard, Jan 04 2003
EXTENSIONS
Offset corrected by Robert Israel, Feb 05 2019
STATUS
approved