Number of divisors of n not greater than k

Правка en1, от Tempe5t, 2022-12-29 13:07:45

Given a number $$$n$$$ find the number of its divisors not greater than given $$$k$$$ ($$$n$$$ can be even up to $$$9 * 10^{18}$$$).

This problem can be solved using some fast factorization algorithm (e.g. Pollard's rho) and then just generating every divisor not greater than $$$k$$$ (there are max $$$(9*10^{18})^{\frac{1}{3}} \approx 10^6$$$ divisors so it should be fast enough).

But, can it be done faster? (especially without iterating divisors?)

Also, is there some nice upper bound for the answer (except for the trivial number of divisors of highly composite numbers)?

Теги number theory, divisors, count divisors of n

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский Tempe5t 2022-12-29 13:07:45 662 Initial revision (published)