Post Reply 
Challenge - Keypad puzzle
02-14-2020, 09:12 PM (This post was last modified: 02-14-2020 09:13 PM by John Keith.)
Post: #15
RE: Challenge - Keypad puzzle
Ah, now I understand. For completeness, here is my HP50 version. It requires the libraries ListExt, GoferLists, and Ifactor.

Code:

\<< { { 1 2 5 4 }
      { 2 3 6 5 }
      { 5 6 9 8 }
      { 4 5 8 7 } } \-> s
  \<< 1. 4.
    FOR j 0. 1.
      FOR k s j GET k 2. MOD { REV } IFT 1. 4.
        START DUP NL\->I IFACTOR LGRP SWAP LROLL
        NEXT DROP
      NEXT
    NEXT 32. \->LIST
    \<< Intersect
    \>> STREAM
  \>>
\>>
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Challenge - Keypad puzzle - pinkman - 02-13-2020, 08:30 AM
RE: Challenge - Keypad puzzle - John Keith - 02-13-2020, 05:34 PM
RE: Challenge - Keypad puzzle - pinkman - 02-13-2020, 09:07 PM
RE: Challenge - Keypad puzzle - John Keith - 02-13-2020, 06:00 PM
RE: Challenge - Keypad puzzle - pinkman - 02-13-2020, 09:09 PM
RE: Challenge - Keypad puzzle - pinkman - 02-14-2020, 06:25 AM
RE: Challenge - Keypad puzzle - pinkman - 02-13-2020, 09:11 PM
RE: Challenge - Keypad puzzle - pinkman - 02-14-2020, 06:45 AM
RE: Challenge - Keypad puzzle - pinkman - 02-14-2020, 12:07 PM
RE: Challenge - Keypad puzzle - pinkman - 02-14-2020, 12:17 PM
RE: Challenge - Keypad puzzle - John Keith - 02-14-2020 09:12 PM
RE: Challenge - Keypad puzzle - pinkman - 02-14-2020, 10:55 PM
RE: Challenge - Keypad puzzle - John Keith - 02-15-2020, 06:38 PM



User(s) browsing this thread: 2 Guest(s)