Problems > Count the Divisors > Editorial

Count the Divisors — Solution & Editorial

Back to the Problem

From the factorization N = ∏ pe, the divisor count is ∏(e+1).

Complexity: O(√N)