Post Reply 
HHC 2019 will be in Reno, Nevada, Sept 21-22
09-22-2019, 10:05 PM
Post: #26
RE: HHC 2019 will be in Reno, Nevada, Sept 21-22
 
Hi, Eric:

(09-22-2019 05:02 PM)Eric Rechlin Wrote:  From David Ramsey:

Quote:HHC 2019 Programming Contest. [...]write a program that finds all 3-digit numbers equal to the sums of the cubes of their digits.

This article o'mine includes a solution (Task 1) for both the HP-41C (RPN, 39 steps) and the SHARP PC-1211 (BASIC, 2 lines:

          Know Thy Foe: A New Contender

Also, I give a general solution for 1 to 11 digits for the HP-71B (BASIC, 12 lines) in my Short & Sweet Math Challenges #23: "May the 4th Be With You !" Special., just do a REV$ of every solution found. I also discuss there the details on how to efficiently find the solutions for that many digits in reasonable times.

Regards.
V.
 

  
All My Articles & other Materials here:  Valentin Albillo's HP Collection
 
Visit this user's website 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 - Valentin Albillo - 09-22-2019 10:05 PM



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