i didnt able to understand the logic plz help me and explain the logic
Playing with divisors is fun
The product of all the divisors of a number N is N^x where x is the number of divisors of N. The number of divisors is given by product of prime powers+1 for N. for example if N = 12 than its number of divisors are (2+1)*(1+1) = 6. you are already given the prime powers of N hence its number of divisors can be calculated.
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.
1 Like