@ SAmmm Also i would like to mention that we don't need to explicitly calculate all the primes...All we need to do is cancel out the factors and keep track of the powers..
On Dec 26, 11:43 pm, SAMMM <[email protected]> wrote: > Continued:-- > > Sry , I misunderstood the problm I thought it to be the power of Prime > factor ... > > For finding the required answer of N can be done N = a^p b^q .... > Need to find the hcf of (p,q,...) > 1 then the number can be > expressed as m^n .. -- You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en.
