Points:
++
tye for introducing and working hard on the problem.
++
abigail-ii for providing simple solution.
++
tall_man for analyzing the solution as I did.
Credits:
I have enjoyed the math puzzles long before having a chance to see
computer for the first time. This puzzle is mentiond on
mathpuzzle.com. It is an interesting and fun site to visit
with lots of links by Ed Pegg Jr who is also a great
contributor on
mathworld.
Notes:
I believe the original question doesn't put any limit on number of
digits in the numbers. As tall_man mentiond it's impossible to have
solution with 3 or 6 numbers. According to his analysis there is also
the possibility of having only 2 numbers that can add to 2003.
Approach:
What I realy enjoyed is different pathway for thinking about solving
the math problem. The problem can be tackled from restricted set of
views and that makes it interesting to see if you can see the easy
methodology and appreciate solution provided by others. I also enjoy ACM puzzles. They servce purpose to construct powerful computational logic.
Future:
Yes, tye I would like to see Alogrithm::Loop. I believe that, I can use it.
artist