Crackerjack
10-08-2007, 02:04 AM
I am trying to take my output for a prime number say for example for the number 135 I get 3 3 3 5 and I would like to output it as 3^3 5. Another example would be 612 which I would want to output as 2^2 3^2 17.
I am just looking for a pointer in the right direction. I want to code this myself.
I am just looking for a pointer in the right direction. I want to code this myself.