OFFSET
1,2
MATHEMATICA
Table[DivisorSum[n, #^EulerPhi[n/#] &, PrimeQ[#] &], {n, 60}]
PROG
(Python)
from sympy import totient, primefactors
def A369687(n): return sum(p**totient(n//p) for p in primefactors(n)) # Chai Wah Wu, Jan 28 2024
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Wesley Ivan Hurt, Jan 28 2024
STATUS
approved