aboutsummaryrefslogtreecommitdiffhomepage
path: root/samples/euler/003.bruijn
diff options
context:
space:
mode:
Diffstat (limited to 'samples/euler/003.bruijn')
-rw-r--r--samples/euler/003.bruijn8
1 files changed, 8 insertions, 0 deletions
diff --git a/samples/euler/003.bruijn b/samples/euler/003.bruijn
new file mode 100644
index 0000000..0dc016d
--- /dev/null
+++ b/samples/euler/003.bruijn
@@ -0,0 +1,8 @@
+:import std/Combinator .
+:import std/Math .
+
+solve factors → lmax
+
+:test ((solve (+13195)) =? (+29)) ([[1]])
+
+main [solve (+600851475143)]