Sailors, coconuts and a monkey problem: Difference between revisions

m
m (Corrected order)
(One intermediate revision by the same user not shown)
Line 2,468:
</syntaxhighlight>
{{out}}
<pre>
3121
233275
</pre>
 
Or for a terse point-free loop through different numbers of sailors:
<syntaxhighlight lang="Uiua">
+2⇡7
≡(
↘1×,⇡10000000
⊟:⊢⍥(+1×+1⟜÷⟜(⊏⊚=0◿)-1:,,),
)
</syntaxhighlight>
{{out}}
<pre>
╭─
╷ 2 11
3 25
4 765
5 3121
6 233275
7 823537
8 117440505
</pre>
 
=={{header|VBA}}==
73

edits