solve 45 in uiua (FAST)

This commit is contained in:
2025-10-04 08:44:49 +02:00
parent c582670d23
commit ece916c752

12
45/main.ua Normal file
View File

@@ -0,0 +1,12 @@
# 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