The prime factors of 13195 are 5, 7, 13 and 29.
What is the largest prime factor of the number 600851475143 ?
Surprisingly simple but also surprisingly challenging question. It is the kind of question you should expect. The kind of question that bends all of the rules.
If your algorithm requires O(N) storage, what if you have a trillion?]