OFFSET
1,2
COMMENTS
Number of numbers <= n that are either prime, a divisor of n, or both.
LINKS
Robert Israel, Table of n, a(n) for n = 1..10000
MAPLE
map(numtheory:-tau + numtheory:-pi - nops @ numtheory:-factorset, [$1..100]);
# Robert Israel, Dec 09 2024
MATHEMATICA
Table[DivisorSigma[0, n] + PrimePi[n] - PrimeNu[n], {n, 100}]
CROSSREFS
KEYWORD
nonn,changed
AUTHOR
Wesley Ivan Hurt, Feb 12 2022
STATUS
approved