Files
project_euler/45/main.ua
2025-10-04 08:44:52 +02:00

13 lines
237 B
Plaintext
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# project euler 45
T ← ÷2×⊸+₁
P ← ÷2×⊸(-1×3)
H ← ×⊸(-1×2)
Is! ← =⟜⌊°^
+1⇡100000
⊃⊃T P H # get some numbers
+1⊚(↧∩⌞˜∊) # for all T, see if in P and H
T⊣ # get third such trinum