aboutsummaryrefslogtreecommitdiffhomepage
path: root/samples/euler/003.bruijn
blob: 0dc016da91cd7a3460c2ebf6973bceed43b2a6dd (plain) (blame)
1
2
3
4
5
6
7
8
:import std/Combinator .
:import std/Math .

solve factors → lmax

:test ((solve (+13195)) =? (+29)) ([[1]])

main [solve (+600851475143)]