Maths Olympiad Prep

Library / CEMC Cayley /326 of 470

CEMC Cayley

Algebra Difficulty 2.2 Junior Find the answer

Integers greater than 1000 are created using the digits 2,0,1,32,0,1,3 exactly once in each integer. What is the difference between the largest and the smallest integers that can be created in this way?

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

Solution

With a given set of four digits, the largest possible integer that can be formed puts the largest digit in the thousands place, the second largest digit in the hundreds place, the third largest digit in the tens place, and the smallest digit in the units place. Thus, the largest integer that can be formed with the digits 2,0,1,32,0,1,3 is 3210. The smallest integer of this type that can be made uses a thousands digit of 1, and then lists the remaining digits in increasing order; this integer is 1023. The difference between these integers is 3210−1023=21873210-1023=2187.

Want a route through all this instead of an archive? The track puts 2,604 problems in a working order, from Junior Challenge level to the IMO shortlist.

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