Post Reply 
challenge for programmable calculators
12-22-2013, 06:59 PM
Post: #23
RE: challenge for programmable calculators
(12-22-2013 05:30 AM)Gerson W. Barbosa Wrote:  About 3.3 seconds to show 144, then 135 is shown instantly after R/S. Apparently no gain...
Using an HP-41: About 13 seconds to show 135, then after 5 seconds 144 was shown. The whole program needed about 1 minute to finish.

Cheers
Thomas

Code:

1.009
STO 00
LBL 00
RCL 00
STO 01
INT
STO 03
10
*
STO 04
LBL 01
RCL 03
STO 05
STO 06
RCL 01
STO 02
INT
ST+ 05
ST* 06
RCL 04
+
10
*
STO 07
LBL 02
RCL 07
RCL 02
INT
+
LASTX
LASTX
RCL 05
+
*
RCL 06
*
1E3
X<=Y?
GTO 03
RDN
X=Y?
STOP
ISG 02
GTO 02
LBL 03
RCL 01
RCL 02
X=Y?
GTO 04
ISG 01
GTO 01
LBL 04
RCL 00
RCL 01
X=Y?
GTO 05
ISG 00
GTO 00
LBL 05
END
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: challenge for programmable calculators - Thomas Klemm - 12-22-2013 06:59 PM
Proof using number theory - cruff - 12-24-2013, 05:43 PM
RE: challenge for programmable calculators - radwilliams - 12-24-2013, 05:57 PM



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