OFFSET
1,1
LINKS
Eric Weisstein's World of Mathematics, Prime Triplet.
FORMULA
a(n) = A022005(n) + 1. - R. J. Mathar, Sep 24 2008
PROG
(Python)
from sympy import isprime
def ok(n): return n > 4 and isprime(n-1) and isprime(n+3) and isprime(n+5)
print(list(filter(ok, range(5739)))) # Michael S. Branicky, Aug 14 2021
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Giovanni Teofilatto, Sep 23 2008
EXTENSIONS
Definition edited and extended by R. J. Mathar, Sep 24 2008
STATUS
approved