in reply to Re^2: Can It Be Written In Base X With Only 1s And 0s
in thread Can It Be Written In Base X With Only 1s And 0s
I can't think of way to benefit from this without memoization.
It means that you can generate the list of compliant numbers rather than searching for them. See gen() in Re: Can It Be Written In Base X With Only 1s And 0s. Cuts the search space by 99%.
If you combine that with my hypothesis that the numbers in the series will be sums of distinct powers of their consitutents and that cuts the search space by another 99%.
That makes looking for candidates in all N power series very fast. I've searched upto (3/4/5/6)^25, in about half an hour. (Assuming that the next number will be sums of distinct powers.)
Then the problem becomes the memory required to store the possible candidates from 3/4/5 whilst testing the 6^* range; which means getting selective about what you store and creative about how you store it.
Of course it could be that my hypothisis is wrong which means going back and looking at all the sums of multiple power combinations; and that's 1000s of times slower.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Can It Be Written In Base X With Only 1s And 0s
by Limbic~Region (Chancellor) on Jun 16, 2015 at 12:53 UTC | |
by BrowserUk (Patriarch) on Jun 16, 2015 at 13:13 UTC |