1
0
www.mikescher.com/www/statics/euler/euler_003_explanation.md
2017-11-08 17:39:51 +01:00

329 B

This problem is the reason why I changed the internals of my interpreter to int64 (because the numbers are too big for int32).

Fortunately the number is still small enough to brute-force the prime factors, going from the biggest factor to the smallest, the first factor (that is also a prime) that my code finds is the solution.