diff options
author | Marvin Borner | 2024-03-25 18:59:03 +0100 |
---|---|---|
committer | Marvin Borner | 2024-03-25 18:59:48 +0100 |
commit | 14e38ce378236cf54924b58396168c1e94f8e6b2 (patch) | |
tree | ecbbb75517695de8897a2a9c58aa1a97ec2546f5 /samples/euler/006.bruijn | |
parent | f8398804d351667a7b887b89f6f70c7d5c407d22 (diff) |
Improved samples by adding links to problems
Diffstat (limited to 'samples/euler/006.bruijn')
-rw-r--r-- | samples/euler/006.bruijn | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/samples/euler/006.bruijn b/samples/euler/006.bruijn index 75582c7..4de0d10 100644 --- a/samples/euler/006.bruijn +++ b/samples/euler/006.bruijn @@ -1,7 +1,7 @@ :import std/Combinator . :import std/Math . -solve [|(sum-of-squares - square-of-sum)] +solve [square-of-sum - sum-of-squares] sum-of-squares ∑ (+1) → 0 | (\pow (+2)) square-of-sum (∑ (+1) → 0 | i) ** (+2) |