OFFSET
1,2
COMMENTS
FORMULA
a(n) = |{k in Z+ : sigma(k) <= n*tau(k)}|.
EXAMPLE
For n=2, we need sigma(k)/tau(k) <= 2. The qualifying integers are 1, 2, 3 so a(2) = 3.
For n=3, we need sigma(k)/tau(k) <= 3. The additional qualifying integers are 4, 5, 6 so a(3) = 6.
PROG
(Python)
from sympy import divisor_count, divisor_sigma
def a(n):
count = 0
for k in range(1, 4*n*n + 1):
if n * divisor_count(k) >= divisor_sigma(k): count += 1
return count
CROSSREFS
KEYWORD
nonn
AUTHOR
Joe Anderson, Dec 07 2025
STATUS
approved
