Playing with numbers: Balanced Pandigits

07092016, 10:54 AM
Post: #2




RE: Playing with numbers: Balanced Pandigits
(07072016 04:40 PM)Joe Horn Wrote: I know this is not a Number Theory forum, but I see that many of you have played extensively with pandigital numbers (hereafter referred to as pandigits), so I'm hoping you can help me with a pandigit puzzler. The range of numbers can be optimized a little, if you are looking only for 10digit numbers, you know for sure log10(x^a) is between 9 and 10. This means: a) a can only go from 2 to 9 (which would yield a singledigit x). b) for each a, you can determine the range of x. For a=2, 9/2=4.5 and 10/2=5, so xmin=10^4.5=31623 and xmax=10^5=100000, so your loop could start from 31623 (would've found the 32043 much faster). As a becomes larger, the range of x is much narrower which would speed up your search a lot. I'll give it a try if I have time, perhaps we can find a 20digit one. 

« Next Oldest  Next Newest »

Messages In This Thread 
Playing with numbers: Balanced Pandigits  Joe Horn  07072016, 04:40 PM
RE: Playing with numbers: Balanced Pandigits  Claudio L.  07092016 10:54 AM
RE: Playing with numbers: Balanced Pandigits  Joe Horn  07172016, 06:37 AM
RE: Playing with numbers: Balanced Pandigits  Arno K  07152016, 08:23 AM

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