login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A342184 Primes q such that 10*q-3 and 10*q+1 are cousin primes. 2
7, 13, 31, 97, 109, 157, 271, 523, 601, 691, 769, 829, 1063, 1069, 1201, 1249, 1291, 1483, 1489, 1567, 1579, 1609, 1693, 1747, 1831, 2203, 2281, 2383, 2803, 2887, 2953, 3511, 3967, 4513, 4651, 5023, 5059, 5437, 5653, 5779, 5821, 6151, 6163, 6199, 6361, 6367 (list; graph; refs; listen; history; text; internal format)
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 7 and 1 in base 10.
LINKS
PROG
(PARI) isok(p) = isprime(p) && isprime(10*p-3) && isprime(10*p+1); \\ Michel Marcus, Mar 05 2021
CROSSREFS
Sequence in context: A102002 A239679 A195353 * A247178 A053183 A247955
KEYWORD
nonn
AUTHOR
Tamas Nagy, Mar 04 2021
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 24 20:06 EDT 2024. Contains 371963 sequences. (Running on oeis4.)