Post Reply 
HP 25 Fibonacci sequence in one program step
10-13-2021, 04:42 PM
Post: #10
RE: HP 25 Fibonacci sequence in one program step
(10-13-2021 04:00 PM)C.Ret Wrote:  With all the information from each contributor given in this threat, I finally manage to have a Fibonacci Sequence after each [ x ] key pressed :



(I cut the top of my printed trace to let other readers seeking for their own solution)
Nice trick, and really specific to RPN; will have hard time making a one key program with the infinite stack of RPL systems.

RPN: Y, Z, T <- k1; X <-k2

Then * * * …

RPL: Fill the infinite stack with [ [ 1 1 ] [ 1 0 ] ]

Then * * * …
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: HP 25 Fibonacci sequence in one program step - Gerson W. Barbosa - 10-13-2021 04:42 PM



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