What is the difference between the largest and smallest four-digit numbers made up of the digits

What is the difference between the largest and smallest four-digit numbers made up of the digits 5801 if the numbers should not be repeated?

Let’s make 5 from the numbers; eight; 0; 1 is the largest and smallest possible four-digit number.

To do this, the digits related to the digits must go in decreasing or increasing sequence.

The largest number is 8510, the smallest is 1058, since zero cannot be in the thousand place, otherwise we will get a three-digit number.

Let’s find the difference 8510 – 1058 = 7452.

Answer: 7452.



One of the components of a person's success in our time is receiving modern high-quality education, mastering the knowledge, skills and abilities necessary for life in society. A person today needs to study almost all his life, mastering everything new and new, acquiring the necessary professional qualities.