AMC 12 Mock Exam 9 Problem 6
Problem 6 of 25
Ana and Ben play a game. Each of them independently chooses an integer from to , inclusive, with all choices equally likely. They win together if the product of their two numbers is a perfect square. What is the probability that they win?
Answer choices
Show solution
Solution
Write each positive integer as with squarefree; is the squarefree part of . A product is a perfect square exactly when the squarefree parts of and are equal. (Their product must be a square, and two squarefree numbers have a square product only if they are equal.) Group by squarefree part: The winning ordered pairs number out of , so the probability is . (Counting only the pairs gives . Forgetting that is a square gives .)
Tagged: probability that a product is a perfect square (two players)