Van Eck sequence: Difference between revisions
Content added Content deleted
(Added Uiua solution) |
m (→{{header|Uiua}}: Reformat) |
||
Line 3,708: | Line 3,708: | ||
=={{header|Uiua}}== |
=={{header|Uiua}}== |
||
<syntaxhighlight lang="Uiua"> |
<syntaxhighlight lang="Uiua"> |
||
# Generator function (prepends). |
F ← ⊂⟨0◌|+1⟩>⊙(-1⧻),,⊗⊃⊢(↘1). # Generator function (prepends). |
||
⚫ | |||
F ← ⊂⟨0◌|+1⟩>⊙(-1⧻),,⊗⊃⊢(↘1). |
|||
⚫ | |||
⚫ | |||
⇌⍥(F)999 [0] |
|||
⚫ | |||
⊃(&p↙¯10)(&p↙10) |
|||
</syntaxhighlight> |
</syntaxhighlight> |
||
{{out}} |
{{out}} |