Skip to content

Solution and New Crossword

Vector 18:2, page 47

competitions and puzzles

Transcribed from the printed issue; not yet reviewed. Read it in the PDF of the issue, page 47

Solution to Crossword in 18.1

The completed 12 by 12 crossword grid from Vector 18.1, filled with APL symbols, names and digits; row 1 reads → 0, then A ∨ D ⊃ C, then A | B, and the bottom row reads D, then ⌊ / V, then ~ M ∨ 0 ∊ V

Crossword for Vector 18.2

The empty 12 by 12 crossword grid, numbered 1 to 38

Across

  1. For each number in B, the number of numbers in vector L larger than it
  2. The values of B, capped at 3 and rounded up to the next integer
  3. Same as 1↑ on an empty vector
  4. Cosine of (pi times R) radians
  5. */TAB,25 .5 for scalar TAB
  6. Remainder when the absolute value of D is divided by N
  7. +/-R
  8. Where in V are the integers from 1 to T?
  9. V-G×⌊V÷G
  10. Number of possible combinations of ×/⍳N objects taken 3 at a time
  11. Branch to the line labelled V1
  12. e to the power T
  13. Shape of A∘.×A
  14. 5 10 15 20 in origin 1
  15. 2 if P>0; 0 if P=0
  16. 3 random numbers from ⍳NV4
  17. (~A∊~B)/A
  18. Same as 27 Down
  19. Is T a scalar?
  20. Stick a column of 2s on the right of matrix M
  21. ~F for Boolean F
  22. Rank of A
  23. Set K as Z[4+⍳(⍴Z)-4]
  24. 1 2 3 ... I
  25. Increase the depth of T by 1
  26. Indices of the 1 bits in B
  27. Length of V
  28. 10*+/4⍴VE for VE a scalar

Down

  1. Cumulative sum of the difference between T and G times itself
  2. B×V where B is a Boolean vector, without ×
  3. ÷5×÷5×.05
  4. First true
  5. Tangent of the magnitude of T radians
  6. Circumference of a circle of diameter D, rounded up to the next integer
  7. |(-R)-1|-R
  8. N⍴⎕IO,~⎕IO for N a scalar
  9. ((T×T)*.5)+A
  10. ×/R⍴e (the mathematical constant e)
  11. Where in vector N is A factorial?
  12. Number of ways the elements of vector P can be combined in sets of V elements
  13. Flag each distinct value in V when it first occurs
  14. Sign (¯1, 0, 1) of the first three elements of matrix B
  15. Exit the function if N=0; restart it if N>0
  16. ×/2 3*2*2 1
  17. 2 if T=0; 0 if T=1
  18. Shuffle the numbers ⍳5
  19. ⍳0 if A is nested (one deep); else 2
  20. B0[2+⍳3]
  21. Is A the shape of T?
  22. Same as 27 Across
  23. An empty vector for which ⍴⎕IO⊃1↑ returns ⍴M
  24. Set M as 0⍴0
  25. 2+3
  26. (+/K)⍴1