Numbers which are not the sum of distinct squares: Difference between revisions
Numbers which are not the sum of distinct squares (view source)
Revision as of 19:29, 10 June 2024
, 26 days ago→{{header|Uiua}}
(Added Uiua solution) |
|||
Line 1,214:
=={{header|Uiua}}==
The Wren solution gives a little more justification for my
<syntaxhighlight lang="Uiua">
N ← 16 # by inspection
# all sums of the first N squares, sorted and deduped
# find missing numbers
▽¬°⊚:⇡⊡¯1.
# After 128 the next
# ⟜⧻▽≤128.
</syntaxhighlight>
{{out}}
|