50G Hidden digits with HP RANDom number generator - Printable Version +- HP Forums (https://www.hpmuseum.org/forum) +-- Forum: HP Software Libraries (/forum-10.html) +--- Forum: General Software Library (/forum-13.html) +--- Thread: 50G Hidden digits with HP RANDom number generator (/thread-22197.html) |
50G Hidden digits with HP RANDom number generator - Gil - 08-19-2024 10:43 AM The program R12—>3 enables, with 2 consecutive random numbers generated by the HP50G RAND internal command, to determine with brutal force the deleted last 3 digits (when executing RAND). The next (3rd) RANDom is here also automatically generated and should correspond to the same RANDom number given executing the internal RAND command a 3rd time. To check the 4th & next random numbers, press — after having executed once the program R12—>3 — the other program R? as many times as wished and compare the results when executing again, each new time, internal RAND command. No attempt to optimise the program was made. Here were used strings instead of modulo. SREPL command was used, but, with some changes, the POS command might have been used. Code:
|