OFFSET
1,1
COMMENTS
a(32) > 3*10^12. - Giovanni Resta, Mar 31 2017
MATHEMATICA
Select[Range[10^5], DivisorSigma[1, #] - # - 1 == PrimePi[#] &] (* Giovanni Resta, Mar 31 2017 *)
PROG
(PARI) sig(n) = sigma(n)-n-1; pi(x, c=0) = forprime(p=2, x, c++); c for(n=1, 10^8, if(sig(n)==pi(n), print(n)))
(PARI) { n=0; for (m=1, 10^9, if ((sigma(m) - m - 1)==primepi(m), write("b064439.txt", n++, " ", m); if (n==100, break)) ) } \\ Harry J. Smith, Sep 14 2009
CROSSREFS
KEYWORD
nonn
AUTHOR
Jason Earls, Oct 01 2001
EXTENSIONS
More terms from Klaus Brockhaus, Oct 05 2001. No further term < 800000.
a(16)-a(17) from Harry J. Smith, Sep 14 2009
a(18)-a(29) from Donovan Johnson, Feb 09 2013
a(30)-a(31) from Giovanni Resta, Mar 31 2017
STATUS
approved