aboutsummaryrefslogtreecommitdiffhomepage
path: root/samples/euler/001.bruijn
diff options
context:
space:
mode:
authorMarvin Borner2024-03-25 18:59:03 +0100
committerMarvin Borner2024-03-25 18:59:48 +0100
commit14e38ce378236cf54924b58396168c1e94f8e6b2 (patch)
treeecbbb75517695de8897a2a9c58aa1a97ec2546f5 /samples/euler/001.bruijn
parentf8398804d351667a7b887b89f6f70c7d5c407d22 (diff)
Improved samples by adding links to problems
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]])