All about flooble | fun stuff | Get a free chatterbox | Free JavaScript | Avatars
 perplexus dot info

 Taking the 5th (Posted on 2009-05-03)
A5 + B5 + C5 + D5 + E5 = ABCDE

where each separate letter represents a different digit and A is not zero.

What is ABCDE?

 Submitted by Charlie Rating: 1.0000 (1 votes) Solution: (Hide) ```CLS FOR a = 1 TO 9 FOR b = 0 TO 9 FOR c = 0 TO 9 FOR d = 0 TO 9 FOR e = 0 TO 9 tot = a * a * a * a * a tot = tot + b * b * b * b * b tot = tot + c * c * c * c * c tot = tot + d * d * d * d * d tot = tot + e * e * e * e * e tot2 = a * 10000 + b * 1000 + c * 100 + d * 10 + e IF tot = tot2 THEN PRINT tot2 NEXT NEXT NEXT NEXT NEXT ``` gives ``` 54748 92727 93084 ``` By inspection, the one without repeated digits is 93084.

 Subject Author Date Naught to spare ed bottemiller 2009-05-04 13:25:06 re: Different signs (good point) Daniel 2009-05-03 19:55:37 Different signs FrankM 2009-05-03 19:17:23 This takes me back... Jer 2009-05-03 17:24:55 computer solution Daniel 2009-05-03 13:11:47

 Search: Search body:
Forums (0)