OFFSET
1,3
LINKS
Seiichi Manyama, Table of n, a(n) for n = 1..10000
MAPLE
a:= n-> add(`if`(igcd(i, n)=1, i*numtheory[phi](i), 0), i=1..n):
seq(a(n), n=1..55); # Alois P. Heinz, Mar 22 2020
PROG
(PARI) a(n) = sum(i=1, n, if (gcd(n, i) == 1, i*eulerphi(i))); \\ Michel Marcus, Mar 23 2020
CROSSREFS
KEYWORD
nonn,look
AUTHOR
N. J. A. Sloane, Mar 22 2020
STATUS
approved