OFFSET
1,1
EXAMPLE
125119, 12511901, 12511903, 12511907, and 12511909 are all prime, thus 125119 is a member of this sequence.
MATHEMATICA
Select[Prime[Range[30000]], AllTrue[100#+{1, 3, 7, 9}, PrimeQ]&] (* Harvey P. Dale, Mar 05 2023 *)
PROG
(Python)
import sympy
from sympy import isprime
{print(p) for p in range(10**6) if isprime(p) and isprime(100*p+1) and isprime(100*p+3) and isprime(100*p+7) and isprime(100*p+9)}
CROSSREFS
KEYWORD
nonn
AUTHOR
Derek Orr, Jan 18 2014
STATUS
approved