OFFSET
1,2
LINKS
Chai Wah Wu, Table of n, a(n) for n = 1..10000
EXAMPLE
a(5) = 4 because sigma(4!) = 60 is divisible by 5.
MATHEMATICA
Table[k = 1; While[! Divisible[DivisorSigma[1, k!], n], k++]; k, {n, 84}] (* Michael De Vlieger, Aug 08 2016 *)
PROG
(PARI) a(n) = {my(k=1); while(sigma(k!) % n != 0, k++); k; }
CROSSREFS
KEYWORD
nonn
AUTHOR
Altug Alkan, Aug 08 2016
STATUS
approved