OFFSET
1,1
COMMENTS
Primes in A064977.
EXAMPLE
10193 is prime and 1000*10193-1 = 10192999 is prime, 1000*10193-3 = 10192997 is prime, 1000*10193-7 = 10192993 is prime and 1000*10193-9 = 10192991 is prime. Thus 10193 is a member of this sequence.
PROG
(Python)
import sympy
from sympy import isprime
from sympy import prime
{print(prime(n), end=', ') for n in range(1, 10**5) if isprime(1000*prime(n)-1) and isprime(1000*prime(n)-3) and isprime(1000*prime(n)-7) and isprime(1000*prime(n)-9)}
(PARI) for(n=1, 10^5, if(ispseudoprime(1000*prime(n)-1) && ispseudoprime(1000*prime(n)-3) && ispseudoprime(1000*prime(n)-7) && ispseudoprime(1000*prime(n)-9), print1(prime(n), ", ")))
CROSSREFS
KEYWORD
nonn,less
AUTHOR
Derek Orr, Jun 04 2014
STATUS
approved