A167918 a(n) is smallest index k > n of k-th prime with f(n,k):=(p(k)+p(k+1))/(p(n)+p(n+1)) an integer >=2 (n=1,2,...).
6, 5, 5, 7, 17, 10, 20, 13, 55, 17, 26, 44, 81, 41, 35, 102, 30, 43, 33, 34, 49, 66, 173, 42, 45, 127, 65, 66, 228, 52, 117, 253, 80, 61, 62, 89, 162, 94, 123, 177, 256, 212, 162, 137, 138, 112, 212, 122, 189, 89, 160, 162, 201, 170, 137, 99, 140, 142, 405, 146, 190, 109
Offset: 1
Keywords
Examples
f(1,6) = (p(6) + p(7))/(p(1) + p(2)) = (13 + 17)/(2 + 3) = 6 gives a(1)=6; f(18,162) = (p(162) + p(163))/(p(18) + p(19)) = (953 + 967)/(61 + 67) = 15 gives a(18)=162.
References
- Richard E. Crandall, Carl Pomerance: Prime Numbers, Springer, 2005
- Harold Davenport, Multiplicative Number Theory, Springer-Verlag, New York, 1980
- Leonard E. Dickson: History of the Theory of numbers, vol. I, Dover Publications, 2005
Programs
Extensions
a(2), a(4), a(18) and a(20) corrected by R. J. Mathar, Nov 17 2009
Comments