Post Reply 
Mini-Challenge: Rudin-Shapiro Sequence
07-14-2023, 09:44 PM (This post was last modified: 07-15-2023 06:36 PM by Gilles.)
Post: #19
RE: Mini-Challenge: Rudin-Shapiro Sequence
newRPL HP50g:
Code:
«
  { 1 } DUP ROT
  2 SWAP START
    DUP2 ADD UNROT NEG ADD 
  NEXT
  ADD 
»

Nota : + and ADD are switched in NewRPL, wich is more logical but loose compatibility

Size: 68 bytes

1024 items, Time : 0.022 sec (usb connected)
8192 items, Time : 0.161 sec

PC newRPL : 65536 items, Time : 0 sec (!!)
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Mini-Challenge: Rudin-Shapiro Sequence - Gilles - 07-14-2023 09:44 PM



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