OFFSET
1,5
MATHEMATICA
Table[Sum[If[GCD[n, k] == 1, (k - 1)/GCD[n, k - 1], 0], {k, n}], {n, 65}]
PROG
(PARI) a(n) = sum(k=1, n, if (gcd(n, k)==1, (k-1)/gcd(n, k-1))); \\ Michel Marcus, Sep 27 2021
CROSSREFS
KEYWORD
nonn
AUTHOR
Ilya Gutkovskiy, Sep 26 2021
STATUS
approved