Now, think about what it means for a number to be a divisor of this number. A divisor must have a prime factorization of the form $2^a \cdot 3^b \cdot 5^c$, where $a \leq i$, $b \leq j$, and $c \leq k$.
For each of the prime factors, there are multiple options
Show more…