Results 1 to 40 of 59

Thread: Recursive Programming Brainteaser

Threaded View

  1. #1

    Thread Starter
    Banned dglienna's Avatar
    Join Date
    Jun 2004
    Location
    Center of it all
    Posts
    17,901

    Recursive Programming Brainteaser

    Substitue a number for each character so that when you add the first *word* to the second *word* you get the third *word* as the result.

    ...DONALD
    .+GERALD
    ..-------
    ...ROBERT

    there is only one answer (that I know of) out of a million possibilities. I solved it by brute force on the same day that my mathematician friend did, but forget the answer.

    I have a few hints in case anyone wants them.

    T = an even number
    You can carry the one to the left
    Each character is a different digit
    Digits used are 0-9

    (can't left justify leading spaces.)

    answer is in format
    111111+222222=333333
    dddddd+ccccccc=ffffff

    Have fun
    Last edited by dglienna; Aug 11th, 2004 at 12:01 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width