Jump to content

Solve hanging lantern problem: Difference between revisions

m
Line 58:
Of course, for the simple sequences from 1, we can use iota to generate them instead of typing them out:
 
<pre> lanterns ⍳4⍳3 ⍝ same as lanterns 1 2 3 4
<pre>
60
lanterns ⍳4 ⍝ same as lanterns 1 2 3 4
lanterns ⍳4
12600
lanterns ⍳5
1,480

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.