Maths Olympiad Prep

Track / Stage 4 / 20 of 340 #280 of 1964

Problem 280

AMC 12 late, AIME early
Combinatorics Difficulty 4.5 Multiple choice Fall AMC 10 B · United States · 2021

Forty slips of paper numbered 11 to 4040 are placed in a hat. Alice and Bob each draw one number from the hat without replacement, keeping their numbers hidden from each other. Alice says, “I can’t tell who has the larger number.” Then Bob says, “I know who has the larger number.” Alice says, “You do? Is your number prime?” Bob replies, “Yes.” Alice says, “In that case, if I multiply your number by 100100 and add my number, the result is a perfect square.” What is the sum of the two numbers drawn from the hat?

Pick one

Next problem →

Official solution

Based on Alice's first statement, Bob can deduce that her number is not 11 or 4040. Bob says that he knows who has the larger number, which implies that his number must be 11, 22, 3939, or 4040. The number 22 is the only prime among them, which tells Alice that Bob's number is 22. Alice then says that her number added to 200200 is a perfect square. The only perfect square between 201201 and 240240 is 152=22515^2 = 225, so Alice's number is 2525 and the sum of the two numbers is 25+2=2725 + 2 = 27.

Source: MathNet, licensed CC-BY-4.0. Statement reproduced verbatim; metadata (topic, difficulty, ordering) added by this project.