OFFSET
1,1
COMMENTS
A pair of cousin primes are primes of the form p and p+4 (where p+2 may or may not be a prime).
Generates cousin primes such that the last digit of the primes are 3 and 7 in base 10.
PROG
(PARI) isok(p) = isprime(p) && isprime(15*p-2) && isprime(15*p+2); \\ Michel Marcus, Mar 05 2021
CROSSREFS
KEYWORD
nonn
AUTHOR
Tamas Nagy, Mar 04 2021
STATUS
approved