# 2021 Fall AMC 10B Problems/Problem 10

## Problem

Forty slips of paper numbered $1$ to $40$ 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 $100$ and add my number, the result is a perfect square. " What is the sum of the two numbers drawn from the hat?

$\textbf{(A) }27\qquad\textbf{(B) }37\qquad\textbf{(C) }47\qquad\textbf{(D) }57\qquad\textbf{(E) }67$

## Solution 1

Let Alice have the number A, Bob B. When Alice says that she can't tell who has the larger number, it means that $A$ cannot equal $1$. Therefore, it makes sense that Bob has $2$ because he now knows that Alice has the larger number. $2$ is also prime. The last statement means that $200+A$ is a perfect square. The three squares in the range $200-300$ are $225$, $256$, and $289$. So, $A$ could equal $25$, $56$, or $89$, so $A+B$ is $27$, $58$, or $91$, of only $\boxed{\textbf{(A) }27}$ is an answer choice.

--stjwyl

## Solution 2

Denote by $A$ and $B$ the numbers drawn by Alice and Bob, respectively.

Alice's sentence “I can't tell who has the larger number.” implies $A \in \left\{ 2 , \cdots , 39 \right\}$.

Bob's sentence “I know who has the larger number.” implies $B \in \left\{ 1 , 2 , 39, 40 \right\}$.

Their subsequent conversation that $B$ is prime implies $B = 2$.

Then, Alice's next sentence “In that case, if I multiply your number by 100 and add my number, the result is a perfect square.” implies $200 + A$ is a perfect square. Hence, $A = 25$.

Therefore, the answer is $\boxed{\textbf{(A) }27}$.

~Steven Chen (www.professorchenedu.com)

## Solution 3 - Guessing those Squares

We see that $225$ is one such square that works. Bob gets $2$ and Alice gets $25$ which is valid. Thus, $2 + 25 = 27.$ So $\boxed{\textbf{(A) }27}$ is our answer.

-D1r

## Sidenote

Note that Bob's statement (that he knows who won/lost) comes after Alice tells him that she doesn't know who won. Since Alice doesn't know who won, Bob knows that she didn't get draw a $1$ (or a $40$), which tells him that his $2$ must be lower than Alice's number.

~jd9

## Video Solution

~Education, the Study of Everything

~savannahsolver

## Video Solution by TheBeautyofMath

~IceMatrix

 2021 Fall AMC 10B (Problems • Answer Key • Resources) Preceded byProblem 9 Followed byProblem 11 1 • 2 • 3 • 4 • 5 • 6 • 7 • 8 • 9 • 10 • 11 • 12 • 13 • 14 • 15 • 16 • 17 • 18 • 19 • 20 • 21 • 22 • 23 • 24 • 25 All AMC 10 Problems and Solutions