OFFSET
1,1
COMMENTS
a(n) is the smallest prime p for which the n+1 consecutive primes starting at p can be written as p + c*k + k^2, 0 <= k <= n, for some c >= 0. - Pontus von Brömssen, Nov 07 2021
73389327921983 is the smallest prime followed by exactly 12 such gaps. - Martin Ehrenstein, Nov 20 2021
EXAMPLE
a(2)=5, the 2 prime gaps after 5 are 2,4.
a(3)=17, the 3 prime gaps after 17 are 2,4,6.
a(4)=347, the 4 prime gaps after 347 are 2,4,6,8.
a(5)=2903, the 5 prime gaps after 2903 are 6,8,10,12,14.
MATHEMATICA
Join[{p=2}, Table[While[Union@Differences[NextPrime[p, Range[0, n]], 2]!={2}, p=NextPrime@p]; p, {n, 2, 7}]] (* Giorgos Kalogeropoulos, Nov 05 2021 *)
CROSSREFS
KEYWORD
nonn,more
AUTHOR
Marc Morgenegg, Nov 04 2021
EXTENSIONS
a(8) from Giorgos Kalogeropoulos, Nov 05 2021
a(9) from Pontus von Brömssen, Nov 07 2021
a(10)-a(13) from Martin Ehrenstein, Nov 20 2021
STATUS
approved