For a 4-digit number (greater than 1000), sum of the digits in the thousands, hundreds, and tens places is 15. Sum of the digits in the hundreds, tens, and units places is 16. Also, the digit in the tens place is 6 more than the digit in the units place. The difference between the largest and smallest possible value of the number is
For a 4-digit number (greater than 1000), sum of the digits in the thousands, hundreds, and tens places is 15. Sum of the digits in the hundreds, tens, and units places is 16. Also, the digit in the tens place is 6 more than the digit in the units place. The difference between the largest and smallest possible value of the number is
Solution
Let the 4-digit number be , where is the thousands digit, is the hundreds digit, is the tens digit, and is the units digit.
From the given conditions:
--- (1)
--- (2)
--- (3)
Since and , we get , so can be or .
Substituting in Equation (2):
Substituting and in Equation (1):
Testing all possible values of :
| Number | Valid? | ||||
|---|---|---|---|---|---|
| 0 | -1 | 10 | 6 | - | No, is negative and is not a single digit |
| 1 | 0 | 8 | 7 | 0871 | No, makes it a 3-digit number |
| 2 | 1 | 6 | 8 | 1682 | Yes |
| 3 | 2 | 4 | 9 | 2493 | Yes |
Since can only range from 0 to 3, the only valid numbers are and .
Difference
Related questions:
2025 Slot 3
CAT 2022 Slot 2