OFFSET
1,2
LINKS
Harvey P. Dale, Table of n, a(n) for n = 1..1000
FORMULA
MAPLE
seq(A187680(n), n=1..120) ; # R. J. Mathar, Mar 17 2011
MATHEMATICA
Table[Mod[Times@@Divisors[n], DivisorSigma[1, n]], {n, 70}] (* Harvey P. Dale, May 23 2021 *)
a[n_] := Mod[n^(DivisorSigma[0, n]/2), DivisorSigma[1, n]]; Array[a, 60] (* Amiram Eldar, Jun 18 2022 *)
PROG
(PARI) a(n) = my(d=divisors(n)); vecprod(d) % vecsum(d); \\ Michel Marcus, Jan 29 2019
CROSSREFS
KEYWORD
nonn
AUTHOR
Juri-Stepan Gerasimov, Mar 17 2011
STATUS
approved