OFFSET
2,3
COMMENTS
If p is prime, a(p) = phi(n-1).
EXAMPLE
a(10) = Sum_{d|10, d<10} phi(10-d) = phi(10-1) + phi(10-2) + phi(10-5) = 6 + 4 + 4 = 14.
MATHEMATICA
Table[Sum[EulerPhi[n - k] (1 - Ceiling[n/k] + Floor[n/k]), {k, n - 1}], {n, 100}]
CROSSREFS
KEYWORD
nonn
AUTHOR
Wesley Ivan Hurt, May 23 2021
STATUS
approved