Fun with Numbers: The Pan-Prime-Digit Cube Hypothesis
08-23-2017, 09:15 PM
Post: #54
 Claudio L. Senior Member Posts: 1,834 Joined: Dec 2013
RE: Fun with Numbers: The Pan-Prime-Digit Cube Hypothesis
(08-23-2017 03:20 AM)DavidM Wrote:
(08-23-2017 12:03 AM)Claudio L. Wrote:  ...
Has anyone tried the opposite way? Look at numbers with the correct digits, discard all the ones that cannot be perfect cubes (by the sum of their digits), and simply take the cube root of the ones left?
...

I had given some thought to this initially, but got hung up when thinking about how to generate all of the potential cubes that only contained the proper digits. Your idea about starting with a base 4 iteration and mapping the result to the proper digits is a nice way to achieve that. I also didn't realize until your mention of it that cubes have a characteristic "sum of digits" result (1, 8, or 9 apparently).

I'd still like to try to get something going on a 50g that will find the first known base within a reasonable (couple days?) time. I'd already been planning on a strategy involving the "only check numbers with good suffixes" approach. Perhaps I'll experiment with this one instead when I can get enough focused time to play with it!

Forget my idea. Seemed as a good starting point but then I realized that:

$$(n+1)^3 = n^3 + (3n^2 + 3n +1)$$

In other words, the distance between one perfect cube and the next is $$3n^2 + 3n +1$$. We are talking n around 12 to 16 digits, the distance for n=1e12 is 3e24, versus counting in base-4 across many, many numbers in that 3e24 range.
So my idea of going backwards would be orders of magnitude slower for large numbers, even if perhaps quick in the low range. There's no point in using it for large numbers.

One thing I see is the need for a command to extract individual digits from a number, so I added a DIGITS command to newRPL, where you provide the start and end range (in powers of 10, 0=unity, 1=tens, 2=hundreds, -1=tenths, etc.) and it extracts the digits, without having to go the string route.
 « Next Oldest | Next Newest »

 Messages In This Thread Fun with Numbers: The Pan-Prime-Digit Cube Hypothesis - Joe Horn - 07-30-2017, 06:17 AM RE: Fun with Numbers: The Pan-Prime-Digit Cube Hypothesis - SlideRule - 07-30-2017, 04:38 PM RE: Fun with Numbers: The Pan-Prime-Digit Cube Hypothesis - Bob Patton - 08-01-2017, 12:51 AM RE: Fun with Numbers: The Pan-Prime-Digit Cube Hypothesis - Dan - 08-01-2017, 03:24 AM RE: Fun with Numbers: The Pan-Prime-Digit Cube Hypothesis - Luigi Vampa - 08-02-2017, 05:29 PM RE: Fun with Numbers: The Pan-Prime-Digit Cube Hypothesis - Gerald H - 08-06-2017, 09:47 AM RE: Fun with Numbers: The Pan-Prime-Digit Cube Hypothesis - Joe Horn - 08-06-2017, 09:48 PM RE: Fun with Numbers: The Pan-Prime-Digit Cube Hypothesis - SlideRule - 08-06-2017, 10:06 PM RE: Fun with Numbers: The Pan-Prime-Digit Cube Hypothesis - rprosperi - 08-07-2017, 12:58 AM RE: Fun with Numbers: The Pan-Prime-Digit Cube Hypothesis - Joe Horn - 08-07-2017, 03:38 AM RE: Fun with Numbers: The Pan-Prime-Digit Cube Hypothesis - Massimo Gnerucci - 08-07-2017, 07:14 AM RE: Fun with Numbers: The Pan-Prime-Digit Cube Hypothesis - Gerald H - 08-07-2017, 07:56 AM RE: Fun with Numbers: The Pan-Prime-Digit Cube Hypothesis - AlexFekken - 08-07-2017, 10:33 AM RE: Fun with Numbers: The Pan-Prime-Digit Cube Hypothesis - AlexFekken - 08-07-2017, 10:50 AM RE: Fun with Numbers: The Pan-Prime-Digit Cube Hypothesis - David Hayden - 08-07-2017, 07:09 PM RE: Fun with Numbers: The Pan-Prime-Digit Cube Hypothesis - Werner - 08-08-2017, 06:38 AM RE: Fun with Numbers: The Pan-Prime-Digit Cube Hypothesis - Arno K - 08-08-2017, 01:50 PM RE: Fun with Numbers: The Pan-Prime-Digit Cube Hypothesis - Werner - 08-07-2017, 07:57 PM RE: Fun with Numbers: The Pan-Prime-Digit Cube Hypothesis - David Hayden - 08-08-2017, 12:01 AM RE: Fun with Numbers: The Pan-Prime-Digit Cube Hypothesis - Gerald H - 08-08-2017, 03:10 PM RE: Fun with Numbers: The Pan-Prime-Digit Cube Hypothesis - Paul Dale - 08-08-2017, 12:53 AM RE: Fun with Numbers: The Pan-Prime-Digit Cube Hypothesis - Werner - 08-08-2017, 03:39 PM RE: Fun with Numbers: The Pan-Prime-Digit Cube Hypothesis - DavidM - 08-09-2017, 03:20 AM RE: Fun with Numbers: The Pan-Prime-Digit Cube Hypothesis - Werner - 08-10-2017, 08:17 PM RE: Fun with Numbers: The Pan-Prime-Digit Cube Hypothesis - DavidM - 08-11-2017, 04:43 PM RE: Fun with Numbers: The Pan-Prime-Digit Cube Hypothesis - DavidM - 08-11-2017, 10:26 PM RE: Fun with Numbers: The Pan-Prime-Digit Cube Hypothesis - Gerald H - 08-08-2017, 05:20 PM RE: Fun with Numbers: The Pan-Prime-Digit Cube Hypothesis - Joe Horn - 08-09-2017, 01:02 PM RE: Fun with Numbers: The Pan-Prime-Digit Cube Hypothesis - David Hayden - 08-09-2017, 02:27 PM RE: Fun with Numbers: The Pan-Prime-Digit Cube Hypothesis - Joe Horn - 08-10-2017, 03:51 AM RE: Fun with Numbers: The Pan-Prime-Digit Cube Hypothesis - Gerald H - 08-10-2017, 07:34 AM RE: Fun with Numbers: The Pan-Prime-Digit Cube Hypothesis - Paul Dale - 08-10-2017, 07:44 AM RE: Fun with Numbers: The Pan-Prime-Digit Cube Hypothesis - Joe Horn - 08-10-2017, 01:26 PM RE: Fun with Numbers: The Pan-Prime-Digit Cube Hypothesis - DavidM - 08-10-2017, 02:41 PM RE: Fun with Numbers: The Pan-Prime-Digit Cube Hypothesis - Arno K - 08-11-2017, 04:57 PM RE: Fun with Numbers: The Pan-Prime-Digit Cube Hypothesis - David Hayden - 08-14-2017, 10:11 PM RE: Fun with Numbers: The Pan-Prime-Digit Cube Hypothesis - DavidM - 08-15-2017, 04:31 AM RE: Fun with Numbers: The Pan-Prime-Digit Cube Hypothesis - David Hayden - 08-15-2017, 12:20 PM RE: Fun with Numbers: The Pan-Prime-Digit Cube Hypothesis - DavidM - 08-15-2017, 08:51 PM RE: Fun with Numbers: The Pan-Prime-Digit Cube Hypothesis - David Hayden - 08-16-2017, 04:26 PM RE: Fun with Numbers: The Pan-Prime-Digit Cube Hypothesis - Gerald H - 08-16-2017, 04:51 PM RE: Fun with Numbers: The Pan-Prime-Digit Cube Hypothesis - Werner - 08-17-2017, 12:50 PM RE: Fun with Numbers: The Pan-Prime-Digit Cube Hypothesis - DavidM - 08-17-2017, 03:11 PM RE: Fun with Numbers: The Pan-Prime-Digit Cube Hypothesis - pier4r - 08-17-2017, 05:06 PM RE: Fun with Numbers: The Pan-Prime-Digit Cube Hypothesis - Werner - 08-17-2017, 07:56 PM RE: Fun with Numbers: The Pan-Prime-Digit Cube Hypothesis - pier4r - 08-17-2017, 08:50 PM RE: Fun with Numbers: The Pan-Prime-Digit Cube Hypothesis - David Hayden - 08-18-2017, 03:47 PM RE: Fun with Numbers: The Pan-Prime-Digit Cube Hypothesis - Joe Horn - 08-18-2017, 11:51 PM RE: Fun with Numbers: The Pan-Prime-Digit Cube Hypothesis - David Hayden - 08-21-2017, 02:10 PM RE: Fun with Numbers: The Pan-Prime-Digit Cube Hypothesis - pier4r - 08-21-2017, 03:39 PM RE: Fun with Numbers: The Pan-Prime-Digit Cube Hypothesis - David Hayden - 08-21-2017, 08:39 PM RE: Fun with Numbers: The Pan-Prime-Digit Cube Hypothesis - Claudio L. - 08-23-2017, 12:03 AM RE: Fun with Numbers: The Pan-Prime-Digit Cube Hypothesis - DavidM - 08-23-2017, 03:20 AM RE: Fun with Numbers: The Pan-Prime-Digit Cube Hypothesis - Claudio L. - 08-23-2017 09:15 PM RE: Fun with Numbers: The Pan-Prime-Digit Cube Hypothesis - DavidM - 08-23-2017, 09:58 PM RE: Fun with Numbers: The Pan-Prime-Digit Cube Hypothesis - Claudio L. - 08-23-2017, 11:53 PM RE: Fun with Numbers: The Pan-Prime-Digit Cube Hypothesis - DavidM - 08-24-2017, 12:54 AM RE: Fun with Numbers: The Pan-Prime-Digit Cube Hypothesis - Werner - 08-24-2017, 09:08 AM RE: Fun with Numbers: The Pan-Prime-Digit Cube Hypothesis - pier4r - 08-24-2017, 11:47 AM RE: Fun with Numbers: The Pan-Prime-Digit Cube Hypothesis - Paul Dale - 08-24-2017, 08:37 AM

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