The Monty Hall problem is a practical example of a feature of conditional probability first discovered/demonstrated by Bayes. The solution has been implemented at all sorts of carnivals and county fairs and such. This problem has little if anything to do with number theory, sorry. (and DO switch your guess, should you find yourself playing in a "Monty Hall"-ish game).
FReegards!