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
Problem 192
Official solution
Peter can only arrive at this conclusion if the last digit is even (and the number is divisible by ) or equal to (and the number is divisible by ). All other digits can be the last digit of a three-digit prime, e.g. , , and are prime. Samo's number was odd, so the last digit must have been .