 |
 |
The time now is Tue Jan 06, 2009 2:49 pm |
|
|
|
| Author
|
Thread |
|
|
|
|
Gadget Wizard
UFSC Administrator


Age: 48
Joined: 24 Jul 2004
Posts: 12780
Location: Upstate SC |
The sort method doesn't break down. It does work!!
Now, as far as the calc-method, you're right. As I said in the post, I didn't brute force through all the possible iterations...
006, 600 and 060 is the same an we want them to match, same with 345, 453 etc.. but we don't want 345 & 600 to match.
I do believe we are on the right track here to come up with a pure mathematical solution though. We are going to need to perform some functon on each of the digits and then sum/mutliply them or perform some opertion on that as a whole. Perhaps simply raising each digit to a higher power ^4 will do the trick. You might even want to perform some other function such as a log().
To prove any function we come up with, we are going to have to write a brute force algorithm to check all possible combinations. Once that is done, we can plug in any formula we come up with and test it. _________________
"Linux is more than an OS, it's a state of mind."

|
Thu Nov 10, 2005 3:27 pm |
|
|
|
|
|
|
|
|
|
|
|
|
slider
Charter UFSC Member

Age: 52
Joined: 29 Jul 2004
Posts: 1920
Location: Wellford |
Good work! Someone care to explain what this will do and why for all us non excel folk.
|
Thu Nov 10, 2005 4:28 pm |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
 |
|
 |
|
|
|
| |