OFFSET
1,4
LINKS
Harvey P. Dale, Table of n, a(n) for n = 1..1000
FORMULA
EXAMPLE
a(15) = 24 - 4 - 6 = 14 because the sum of divisors of 15 is 1 + 3 + 5 + 15 = 24, the number of divisors of 15 is 4 (1,3,5,15) and the number of primes not exceeding 15 is 6 (2,3,5,7,11,13). - Emeric Deutsch, Dec 30 2008
MAPLE
with(numtheory): seq(sigma(n)-tau(n)-pi(n), n = 1 .. 75); # Emeric Deutsch, Dec 30 2008
MATHEMATICA
Table[DivisorSigma[1, n]-DivisorSigma[0, n]-PrimePi[n], {n, 75}] (* Harvey P. Dale, Sep 19 2011 *)
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Omar E. Pol, Dec 19 2008, Dec 31 2008
EXTENSIONS
Corrected and extended by Emeric Deutsch, Dec 30 2008
STATUS
approved