A179240 a(n) is the smallest prime q > a(n-1) such that, for the previous prime p and the following prime r, the fraction (q-p)/(r-q) has denominator equal to A006843(n) (or 0, if such a prime does not exist).
5, 11, 17, 19, 29, 41, 47, 67, 73, 97, 101, 359, 367, 379, 383, 389, 397, 419, 421, 449, 467, 547, 613, 631, 647, 683, 691, 733, 769, 797, 811, 929, 941, 1021, 1087, 1153, 1181, 1193, 1249, 1709, 1721, 1747, 1847, 1889, 2017, 2153, 2357
Offset: 1
Keywords
Examples
For n = 1..3, A006843(n) = 1, and p,q,r have to obey the condition r-q | q-p. Thus a(1) = 5, a(2) = 11, a(3) = 17.
Extensions
More terms from Alois P. Heinz, Jan 06 2011
Comments