In a six-digit number, the sixth, that is, the rightmost, digit is the sum of the first three digits, the fifth digit is the sum of first two digits, the third digit is equal to the first digit, the second digit is twice the first digit and the fourth digit is the sum of fifth and sixth digits. Then, the largest possible value of the fourth digit is
In a six-digit number, the sixth, that is, the rightmost, digit is the sum of the first three digits, the fifth digit is the sum of first two digits, the third digit is equal to the first digit, the second digit is twice the first digit and the fourth digit is the sum of fifth and sixth digits. Then, the largest possible value of the fourth digit is
Entered answer:
Solution
Let us denote the six-digit number as:
From the problem, we have these conditions:
(sixth digit = sum of first three digits)
(fifth digit = sum of first two digits)
(third digit = first digit)
(second digit = twice the first digit)
(fourth digit = sum of fifth and sixth digits)
Since and , we can substitute:
For :
For :
For :
So our six-digit number becomes:
Since each position must be a single digit (0-9), we need:
The most restrictive constraint is , which gives us
Since must be a positive integer (as the first digit of a six-digit number), we have .
With , the maximum value of .
Related questions:
CAT 2021 Slot 1
2025 Slot 2
2025 Slot 3