OFFSET
2,7
LINKS
Michael De Vlieger, Table of n, a(n) for n = 2..10000
MAPLE
with(numtheory): seq(modp(sigma(n), pi(n)), n=2..100); # Muniru A Asiru, Dec 10 2018
MATHEMATICA
Table[Mod[DivisorSigma[1, w], PrimePi[w]], {w, 1, 128}]
PROG
(PARI) a(n) = sigma(n) % primepi(n); \\ Michel Marcus, Dec 10 2018
(Magma) [SumOfDivisors(n) mod (#PrimesUpTo(n)): n in [2..100]]; // Vincenzo Librandi, Dec 10 2018
CROSSREFS
KEYWORD
nonn
AUTHOR
Labos Elemer, Aug 05 2002
STATUS
approved