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

2 lines
267 B
Markdown

Not much to say here, we save the factorial values to increase speed and operate almost entirely on the stack (also for speed).
The rest is brute force. Our upper limit is `9!*7 = 2540160`, because `9!*8` has only 7 digits and so is impossible to be a curious number.