Post Reply 
(34S) Collatz Conjecture
05-31-2014, 08:44 PM
Post: #2
RE: (WP-34S) Collatz Conjecture
The Collatz Conjecture is also called the Syracuse problem.
Here is my version for the WP 34S in 19 steps:
Code:
001 LBL A
002 FILL
003 STO- Y
004 x#1?
005 SKIP 002
006 DROP
007 RTN
008 INC Y
009 EVEN?
010 SKIP 006 
011 3
012 *
013 INC X
014 x>?Z
015 STO Z
016 BACK 008
017 2
018 /
019 BACK 015
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
(34S) Collatz Conjecture - Dave Britten - 05-31-2014, 08:11 PM
RE: (WP-34S) Collatz Conjecture - Didier Lachieze - 05-31-2014 08:44 PM



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