Steve O'Hara Random Items

Back to Steve's Website


DMHO
It's in Your Own Home
And It's a Real Killer!

Some cool pictures

Optical illusions

Some cool sidewalk art

Tornado Pictures

Some funny pictures

Some clever pictures

Strange Cars

Where is the Sun?

More interesting gems

Jay Leno Christmas Music
We Wish You a Merry Christmas (wow!)

Challenging Math Puzzle: The Know, Don't Know Problem
(Delphi Implementation: U_KnowDontKnow2.pas  u_primes.pas)
Two integers, A and B, each between 2 and 100 inclusive, have been chosen. The product, A×B, is given to mathematician Dr. P. The sum, A+B, is given to mathematician Dr. S. They each know the range of numbers. Their conversation is as follows:

  • P: "I don't have the foggiest idea what your sum is, S."
  • S: "That's no news to me, P. I already knew that you didn't know. I don't know either."
  • P: "Aha, NOW I know what your sum must be, S!"
  • S: "And likewise P, I have figured out your product!!"
    What are the numbers?



    Last Updated on 11/18/2007
    Email: steve@oharasteve.com