login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A342185
Primes q such that 10*q-1 and 10*q+3 are cousin primes.
2
2, 11, 23, 101, 149, 227, 239, 269, 353, 479, 557, 569, 647, 683, 809, 827, 983, 1289, 1607, 1619, 1823, 1901, 1907, 2039, 2213, 2411, 2447, 2843, 2879, 2957, 2963, 3011, 3119, 3257, 3389, 3557, 3671, 3833, 3923, 4001, 4019, 4397, 4943, 5099, 5309, 5441, 5471
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 digits of the primes are 9 and 3 in base 10.
PROG
(PARI) isok(p) = isprime(p) && isprime(10*p-1) && isprime(10*p+3); \\ Michel Marcus, Mar 05 2021
CROSSREFS
KEYWORD
nonn
AUTHOR
Tamas Nagy, Mar 04 2021
STATUS
approved