OFFSET
1,1
COMMENTS
LINKS
Robert G. Wilson v, Table of n, a(n) for n = 1..1780
FORMULA
a(n)=p, a prime which begins a [p, p+d, p+D, p+D+d]=[p, p+10, p+12, p+22] prime quadruple.
a(n) = A259025(n)-11. - Robert G. Wilson v, Jul 15 2015
EXAMPLE
p=1039 begins [1039,1049,1051,1061] prime quadruple with the appropriate difference pattern: [10,2,10]=[d,D-d,d], so d=10, D=12.
MATHEMATICA
{p, q, r, s} = {2, 3, 5, 7}; lst = {}; While[p < 50000, If[ Differences[{p, q, r, s}] == {10, 2, 10}, AppendTo[lst, p]]; {p, q, r, s} = {q, r, s, NextPrime@ s}]; lst (* Robert G. Wilson v, Jul 15 2015 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Labos Elemer, Mar 22 2000
STATUS
approved