Post Reply 
challenge for programmable calculators
12-24-2013, 04:54 AM
Post: #29
RE: challenge for programmable calculators
SySRPL with a twist:
Code:

::
  TEN ONE_DO (DO)
    INDEX@
    TEN ZERO_DO (DO)
        TEN ZERO_DO (DO)
            INDEX@ OVER #* JINDEX@ #* ( a*b*c )
            INDEX@ 3PICK #+ JINDEX@ #+ ( a+b+c )
            #*
            OVER ONEHUNDRED #* JINDEX@ TEN #* #+ INDEX@ #+ ( abc )
            OVER #= ITE ( a abc )
                 SWAP DROP
        LOOP
    LOOP
    DROP
  LOOP
;
0.02 seconds on my RPL32 interpreter running on my PC.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: challenge for programmable calculators - David Hayden - 12-24-2013 04:54 AM
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: 1 Guest(s)