OFFSET
1,1
COMMENTS
a(n) is finite for all n since d(k) <= 2*sqrt(k) and d(k) >= k/n implies no qualifying k can exceed 4*n^2. Here d(k) = A000005(k) is the number of divisors of k.
FORMULA
a(n) = |{k in Z+ : d(k) >= k/n}|, where d(k) = A000005(k).
EXAMPLE
For n=2, we need d(k) >= k/2. The qualifying integers are 1, 2, 3, 4, 6, 8, 12 so a(2) = 7.
For n=3, we need d(k) >= k/3. The additional qualifying integers are 5, 9, 10, 18, 24 so a(3) = 12.
For n=4, we need d(k) >= k/4. The additional qualifying integers are 7, 14, 15, 16, 20, 30, 36 so a(4) = 19.
MATHEMATICA
Table[Count[Range[4*n^2], _?(DivisorSigma[0, #]*n >= # &)], {n, 62}] (* Michael De Vlieger, Nov 23 2025 *)
PROG
(Python)
from sympy import divisor_count
def a(n):
count = 0
for k in range(1, 4*n*n + 1):
if divisor_count(k) * n >= k: count += 1
return count
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Joe Anderson, Nov 22 2025
STATUS
approved
