Post Reply 
HHC 2019 will be in Reno, Nevada, Sept 21-22
09-30-2019, 09:54 PM
Post: #61
RE: HHC 2019 will be in Reno, Nevada, Sept 21-22
Claudio, can you explain how this part of the code works? I'm guessing that RANGE produces a list of numbers from 0 to 9 by 1's. And I think NEWRPL's + operator adds corresponding elements in lists (rather than appending lists). But how does it create a list of 1000 numbers?

Thanks,
Dave

(09-30-2019 04:15 PM)Claudio L. Wrote:  
Code:

«
  0 9 1 RANGE      @ Make a case-list of numbers 0-9
 3 ^ DUPDUP + +    @ Sum of the cubes of the digits of ALL numbers from 0 to 999
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: HHC 2019 will be in Reno, Nevada, Sept 21-22 - David Hayden - 09-30-2019 09:54 PM



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