Post Reply 
Most mind-blowing program for your favorite calculator
07-01-2022, 08:07 AM
Post: #24
RE: Most mind-blowing program for your favorite calculator
(07-01-2022 05:38 AM)pauln Wrote:  The non-mod version of Euclid's algorithm …

This mod version program for the HP-15C uses one register but only 8 steps:
Code:
001 -    44  0  STO 0       
002 -       34  x<>y        
003 -       36  ENTER       
004 - 45,10, 0  RCL/ 0      
005 -    43 44  INT         
006 - 45,20, 0  RCLx 0      
007 -       30  -           
008 -    43 20  x=0

Example

CLEAR PRGM

112
ENTER
63
R/S
R↓

7.0000


You are free to add LBL, GTO, R↓ and RTN if you feel like this is cheating.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Most mind-blowing program for your favorite calculator - Thomas Klemm - 07-01-2022 08:07 AM



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