Maths Olympiad Prep

Track / Stage 5 / 16 of 400 #616 of 1964

Problem 616

AIME late
Number theory Difficulty 5.0 Find the answer

2. 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.

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 and solution reproduced as published; topic, difficulty and ordering added by this site.