OFFSET
1,2
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 1..5000
EXAMPLE
n=50: sigma(50) = 93, pi(93) = 24 = a(50).
MATHEMATICA
Table[PrimePi[DivisorSigma[1, n]], {n, 1, 256}]
PROG
(Sage) [prime_pi(sigma(n, 1)) for n in range(1, 76)] # - Zerinvary Lajos, Jun 06 2009
(PARI) A070803(n) = primepi(sigma(n)) \\ Michael B. Porter, Jan 28 2010
(Magma) [#PrimesUpTo(SumOfDivisors(n)): n in [1..100]]; // Vincenzo Librandi, Feb 06 2017
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Labos Elemer, May 08 2002
STATUS
approved