Josephus problem: Difference between revisions
Content added Content deleted
m (J: Add spaces around the subtraction to help mislead eyes slightly less when they have been [mis-]trained by some OO syntax) |
m (J: actually that was negation, not subtraction - so let's go a bit further in the classic notation direction) |
||
Line 1,031:
=== Explicit version 2 ===
<lang J>
Josephus2 =: 4 : '(| x&+)/i. -
3 Josephus2 41
|