(33s) Ulam Spiral - Printable Version +- HP Forums (https://www.hpmuseum.org/forum) +-- Forum: HP Software Libraries (/forum-10.html) +--- Forum: General Software Library (/forum-13.html) +--- Thread: (33s) Ulam Spiral (/thread-18730.html) |
(33s) Ulam Spiral - Gerald H - 08-29-2022 09:36 AM The Ulam Spiral https://en.wikipedia.org/wiki/Ulam_spiral programme returns the indexes of the two difficult neighbouring boxes to the box index provided as integer input. The programme preserves the stack. Code: 1. LBL U |