A^5+B^5+C^5+D^5+E^5=S
Given that the concatenation ABCDE digits is a 9-digit zero-less pandigital number
and so is the sum S - there is only one sum S to make the above equation true.
Find it.
(In reply to
re(2): computer solution by Ady TZIDON)
Thanks for the compliment. It's good to have some recognition for someone who codes in Basic. Although I'm no Newton, I do stand on the shoulders of those who wrote Basic interpreters and compilers and the engineers who made computer chips to run fast enough to make them practicable. I've written some programs for my smartphone that I really love, but they run under a Basic interpreter app and I shudder at the thought of trying to learn how to make them into native apps so I could write them directly and market them.
The other question raised is whether it's worth a couple of hours of programming time to save 50 milliseconds of run time (or when running UBASIC under DOSBox, a full second of run time). The megabyte extra of an intermediate file is irrelevant when you've got a terabyte only 20% used.
|
Posted by Charlie
on 2015-03-20 07:49:52 |