I have a for loop that checks if a number is a factor of a number, then checks if that factor is prime, and then it adds it to an array. Depending on the original number, I wil
In your second loop, i will always start at 2, which means you're looping from 2...1
i
2...1