That is exactly what I am saying.
Type: Posts; User: DavidFongs
That is exactly what I am saying.
The reason that is happening is because after you find out 5 is a factor of x, you are dividing x by 5, and then incrementing i to 6. This is where it is broken, because the new value of x is also...