Maths Olympiad Prep

Track / Stage 5 / 39 of 400 #639 of 1964

Problem 639

AIME late
Number theory Difficulty 5.0 Find the answer

Determine the smallest prime that does not divide any five-digit number whose digits are in a strictly increasing order.

A number or a short expression. Fractions can be typed as 3/2, and spacing doesn't matter.

Next problem →

Official solution

Solution. Note that 12346 is even, 3 and 5 divide 12345, and 7 divides 12348. Consider a 5 digit number n=abcden=a b c d e with 0a>00a>0 and S=e(dc)(ba)<e10S=e-(d-c)-(b-a)<e \leq 10, so SS is not divisible by 11 and hence nn is not divisible by 11. Thus 11 is the smallest prime that does not divide any five-digit number whose digits are in a strictly increasing order.

Source: NuminaMath-1.5, licensed Apache-2.0. Statement reproduced verbatim; metadata (topic, difficulty, ordering) added by this project.