OFFSET
1,5
COMMENTS
Equivalently, this is the number of solutions of the equation n = xyz + x + z in positive integer x, y and z.
EXAMPLE
For n=5 there are three rational numbers which satisfy all the conditions: 5/2 = [2;1,1], 5/3 = [1;1,2] and 5/4 = [1;3,1]. Therefore a(5) = 3.
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Dmitry Badziahin, Sep 12 2016
STATUS
approved