OFFSET
1,3
EXAMPLE
The positive divisors of 8 are 1, 2, 4 and 8. (2+1), (4+1) and (8+1) are relatively prime to 8, so a(8) = 3.
MATHEMATICA
Table[Length[Select[Divisors[n], CoprimeQ[#+1, n]&]], {n, 120}] (* Harvey P. Dale, Sep 07 2020 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Leroy Quet, Aug 10 2000
STATUS
approved