OFFSET
1,1
COMMENTS
Without the condition on monotonicity, this would be essentially the same as A052187, but there 255767 is followed by 247099, while monotonicity here gives 689467. Similarly, following a(9) = A052187(10) = 6314393 we have a(10) = 9113263, while A052187(11) = 4911251. The next term which is not matching is a(14) = 69266033 vs A052187(15) = 34346203. One may notice that the two terms differ approximately by a factor of 2.
LINKS
Pierre CAMI, Table of n, a(n) for n = 1..23
EXAMPLE
a(1) = A047948(1) = 47 is the least prime p(k) such that p(k+1) - p(k) = p(k+2) - p(k+1) = 6.
a(2) = A052188(1) = 199 is the least prime p(k) > 47 such that p(k+1) - p(k) = p(k+2) - p(k+1) = 12.
a(3) = A052189(1) = 20183 is the least prime p(k) > 199 such that p(k+1) - p(k) = p(k+2) - p(k+1) = 18.
a(4) = A052190(1) = 40039 is the least prime p(k) > 20183 such that p(k+1) - p(k) = p(k+2) - p(k+1) = 24.
a(5) = A052195(1) = 69593 is the least prime p(k) > 40039 such that p(k+1) - p(k) = p(k+2) - p(k+1) = 30.
PROG
(PARI) g=6; o=2; forprime(p=2, , o+g==(o=p)||next; nextprime(p+1)==p+g||next; print1(p-g", "); g+=6)
CROSSREFS
KEYWORD
nonn
AUTHOR
M. F. Hasler, Apr 03 2013
STATUS
approved