OFFSET
2,7
COMMENTS
LINKS
Robert Israel, Table of n, a(n) for n = 2..10000
MAPLE
f:= proc(n) local F, t;
F:= ifactors(n)[2];
n*mul((t[1]-1)*t[1]^(t[2]-1), t=F)/2 mod add(t[1]*t[2], t=F);
end proc:
map(f, [$2..100]);
CROSSREFS
KEYWORD
nonn,look
AUTHOR
J. M. Bergot and Robert Israel, Jan 03 2021
STATUS
approved