DYNA Fall 2025: 29-30 September. More info

APL Exercises

Sixteen-panel grid on a dark background with glowing orange, lavender and white dots and lines, suggesting varied APL exercise themes.

These exercises are designed to introduce APL to a high school senior adept in mathematics. The entire set of APL Exercises has the following sections: Introduction0. Beginnings1. Utilities2. Recursion3. Proofs4. Rank Operator5. Index-Of 6. Key Operator7. Indexing8. Grade and Sort9. Power Operator10. Arithmetic11. Combinatorial ObjectsThe Fine Print Sections 2 and 10 are the most interesting […]

50847534

Abstract digital landscape of a glowing grid with scattered luminous points rising upward, symbolising data or prime numbers against a dark background.

⎕io←0 throughout. I was re-reading A Mathematician’s Apology before recommending it to Suki Tekverk, our summer intern, and came across a statement that the number of primes less than 1e9 is 50847478 (§14, page 23). The function pco from the dfns workspace does computations on primes; ¯1 pco n is the number of primes less […]

Get Support

Technical advice and assistance on all aspects of Dyalog usage is available by e-mail (support@dyalog.com) and/or telephone (+44 1256 830030 – limited to U.K. office hours). Limited advice on design and coding is available, but is not intended to replace the use of the printed and on-line documentation. Except when reporting an issue with the software, users are encouraged to seek advice from the user community via the Dyalog Forum (reading the content of the forums does not require membership).

Search our website...