OFFSET
1,2
COMMENTS
If p is prime, a(p) = Sum_{d|p} rad(d) * mu(p/d)^2 = 1*1 + p*1 = p + 1.
EXAMPLE
a(8) = Sum_{d|8} rad(d) * mu(8/d)^2 = 1*0 + 2*0 + 2*1 + 2*1 = 4.
MATHEMATICA
Table[Sum[(1 - Ceiling[n/i] + Floor[n/i]) MoebiusMu[n/i]^2 Product[k^((PrimePi[k] - PrimePi[k - 1]) (1 - Ceiling[i/k] + Floor[i/k])), {k, i}], {i, n}], {n, 100}]
CROSSREFS
KEYWORD
nonn
AUTHOR
Wesley Ivan Hurt, Jun 12 2021
STATUS
approved