aboutsummaryrefslogtreecommitdiffhomepage
path: root/samples/euler/001.bruijn
diff options
context:
space:
mode:
Diffstat (limited to 'samples/euler/001.bruijn')
-rw-r--r--samples/euler/001.bruijn2
1 files changed, 1 insertions, 1 deletions
diff --git a/samples/euler/001.bruijn b/samples/euler/001.bruijn
index 1678b58..72b605f 100644
--- a/samples/euler/001.bruijn
+++ b/samples/euler/001.bruijn
@@ -3,7 +3,7 @@
:import std/Math .
solve [∑(crit <#> ({ (+0) → --0 }))]
- crit φ m ((\mod (+3)) → zero?) ((\mod (+5)) → zero?)
+ crit [ψ m ((mod 0) → zero?) (+3) (+5)]
:test ((solve (+10)) =? (+23)) ([[1]])