login

Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.

A369779
a(n) = n * Sum_{p|n, p prime} phi(n/p) / p.
1
0, 1, 1, 2, 1, 8, 1, 8, 6, 22, 1, 20, 1, 44, 26, 32, 1, 66, 1, 48, 48, 112, 1, 80, 20, 158, 54, 92, 1, 172, 1, 128, 116, 274, 62, 156, 1, 344, 162, 192, 1, 348, 1, 228, 174, 508, 1, 320, 42, 540, 278, 320, 1, 594, 130, 368, 348, 814, 1, 448, 1, 932, 306, 512, 176
OFFSET
1,4
LINKS
MATHEMATICA
Table[n*DivisorSum[n, EulerPhi[n/#]/# &, PrimeQ[#] &], {n, 100}]
PROG
(PARI) A369779(n) = if(1==n, 0, my(f=factor(n)); n*sum(i=1, #f~, (eulerphi(n/f[i, 1])/f[i, 1]))); \\ Antti Karttunen, Jan 23 2025
CROSSREFS
KEYWORD
nonn,easy,changed
AUTHOR
Wesley Ivan Hurt, Jan 31 2024
STATUS
approved