OFFSET
1,1
COMMENTS
A prime quadruple (triple), {[p,p+d],[p+D,p+D+d]} is called a "non-overlapping" (disjoint or touching) pair of twins if D = distance >= d = difference "inside" twin.
FORMULA
Smallest p so that [p, p+2n], [p+min{D}, p+2n+min{D}] is a quadruple (or triple if d=min{D}) of consecutive primes.
EXAMPLE
If n=23, d=46, min{D}=48 then the first suitable quadruple of primes is [15370423, 15370469, 15370471, 15370517] with difference pattern [46, 2, 46]; if n=3, d=6, min{D}=6 then the first such triple is [47, 53, 53, 59] = [47, 53, 59] with difference pattern [6, 6].
CROSSREFS
KEYWORD
nonn
AUTHOR
Labos Elemer, Mar 13 2000
EXTENSIONS
Corrected by Jud McCranie, Jan 04 2001
a(11) corrected by Sean A. Irvine, Nov 07 2021
STATUS
approved