A226184 Least positive integer k such that 1 + 1/2 + ... + 1/n < 1/(n+1) + ... + 1/(n+k).
3, 9, 19, 32, 49, 69, 93, 121, 152, 187, 225, 266, 312, 361, 413, 469, 529, 592, 658, 729, 802, 880, 961, 1045, 1133, 1225, 1320, 1419, 1521, 1627, 1736, 1849, 1966, 2086, 2210, 2337, 2468, 2602, 2740, 2882, 3027, 3175, 3327, 3483, 3642, 3805, 3972, 4142
Offset: 1
Keywords
Examples
a(3) = 19 because 1/4 + 1/5 + ... + 1/(3+18) < 1 + 1/2 + 1/3 < 1/4 + 1/5 + ... + 1/(3+19).
Links
- Clark Kimberling, Table of n, a(n) for n = 1..200
Programs
Formula
a(n) = A226183(n) - n. - Michel Marcus, Sep 09 2021