Olympiad Maths Prep

Track / Stage 3 / 192 of 260 #192 of 2000

Problem 192

AMC 10/12, early questions
Number theory Difficulty 3.8 Find the answer National Math Olympiad in Slovenia · Slovenia

Samo wrote down a 3-digit odd positive integer on a piece of paper. He then told Peter what the last digit of this number was. Peter immediately concluded that the number Samo wrote down is not prime. What was this last digit?
(A) 1
(B) 3
(C) 5
(D) 7
(E) 9

Official solution

Peter can only arrive at this conclusion if the last digit is even (and the number is divisible by 22) or equal to 55 (and the number is divisible by 55). All other digits can be the last digit of a three-digit prime, e.g. 101101, 103103, 107107 and 109109 are prime. Samo's number was odd, so the last digit must have been 55.

Source: MathNet, licensed CC-BY-4.0. Statement and solution reproduced as published; topic, difficulty and ordering added by this site.