OFFSET
1,1
COMMENTS
The sequence is nondecreasing, since 1/p_n + ... + 1/p_(n+k-1) > 1/p_(n+1) + ... + 1/p_(n+k).
FORMULA
a(n) = A137368(n) - 1.
EXAMPLE
For n = 1, since 1/p_1 + 1/p_2 = 1/2 + 1/3 = 5/6 <= 1 while 1/p_1 + 1/p_2 + 1/p_3 = 1/2 + 1/3 + 1/5 = 31/30 > 1, a(1) = 2.
CROSSREFS
KEYWORD
nonn
AUTHOR
Leon Bykov, Sep 18 2019
STATUS
approved