OFFSET
1,3
COMMENTS
FORMULA
a(n) = |{k in Z+ : sigma(k) = n*tau(k)}|.
EXAMPLE
For n=2, we need sigma(k)/tau(k) = 2. The only qualifying integer is 3 so a(2) = 1.
For n=6, we need sigma(k)/tau(k) = 6. The qualifying integers are 11, 14, 15 so a(6) = 3.
PROG
(Python)
from sympy import divisor_count, divisor_sigma
def a(n):
count = 0
for k in range(1, 4*n*n + 1):
if divisor_sigma(k) == n * divisor_count(k): count += 1
return count
CROSSREFS
KEYWORD
nonn
AUTHOR
Joe Anderson, Dec 07 2025
EXTENSIONS
More terms from Sean A. Irvine, Dec 14 2025
STATUS
approved
