OFFSET
1,1
COMMENTS
Subset of A087695. - R. J. Mathar, Sep 24 2008
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..10000
Eric Weisstein's World of Mathematics, Prime Triplet.
FORMULA
a(n) = A046138(n) + 3. - R. J. Mathar, Sep 24 2008
MATHEMATICA
Select[Range[7000], And @@ PrimeQ[# + {-3, 3, 5}] &] (* Amiram Eldar, Apr 14 2022 *)
PROG
(Python)
from sympy import isprime
def ok(n): return n > 4 and isprime(n-3) and isprime(n+3) and isprime(n+5)
print(list(filter(ok, range(6567)))) # Michael S. Branicky, Aug 14 2021
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Giovanni Teofilatto, Sep 22 2008
EXTENSIONS
Definition edited and extended by R. J. Mathar, Sep 24 2008
STATUS
approved