SOLUTION: find a six-digit number in which the first is two less that the fifth, the second digit is one more that the fourth, and the fifth digit is four less than the last. The sum of the

Algebra.Com
Question 104695: find a six-digit number in which the first is two less that the fifth, the second digit is one more that the fourth, and the fifth digit is four less than the last. The sum of the third and last digits equals the second and the sum of all the digits is 30.
Answer by ankor@dixie-net.com(22740)   (Show Source): You can put this solution on YOUR website!
: find a six-digit number in which the first is two less that the fifth, the second digit is one more that the fourth, and the fifth digit is four less than the last. The sum of the third and last digits equals the second and the sum of all the digits is 30.
:
Let the digits by a, b, c, d, e, f In that order.
:
Write an equation for each statement and all it's combinations:
Designated * were used in the equation
:
" the first is two less that the fifth,"
a = e-2
e = a+2
:
"second digit is one more that the fourth,"
b = d+1
d = b-1
:
"fifth digit is four less than the last."
e = f-4 *
f = e+4
From the 1st equation a = e-2
a = (f-4) -2
a = f-6 *
:
"The sum of the third and last digits equals the second"
c + f = b
b = c+f *
f = b-c
c = b-f
From d = (b-1) and b = c+f, we can say
d = c+f-1 *
:
"the sum of all the digits is 30."
a + b + c + d + e + f = 30
:
Substitute all we can in terms of f from the above equations:
--a-------b-----c------d---- --e-----f
(f-6) + (c+f) + c + (c+f-1)+ (f-4) + f = 30
Combine like terms
f + f + f + f + f + c + c + c -6 - 1 -4 = 30
3c + 5f - 11 = 30
3c + 5f = 30 + 11
3c + 5f = 41
A manageable equation; we know that f has to be odd, it cannot be 9
Try f = 7 and solve for c
3c + 5(7) = 41
3c = 41 - 35
3c = 6
c = 2
:
From c = 2, and f = 7, find the rest of the numbers:
b = c + f
b = 2 + 7
b = 9
:
From d = b-1
d = 9 - 1
d = 8
:
From e = f-4:
e = 7 - 4
e = 3
:
From a = e-2
a = 3 - 2
a = 1
:
Check and see if a b c d e f add up to 30
1 + 9 + 2 + 8 + 3 + 7 = 30
:
Our number: 192837

RELATED QUESTIONS

Find a six-digit number in which the first digit is one less than the third, the third... (answered by Edwin McCravy)
all of six digit numbers in which the first digit is one less than the second, the third... (answered by greenestamps)
Find a six digit number in which the first digit is three less than the second and five... (answered by Boreal)
Find a six-digit number in which the first digit is two less than the second. The... (answered by Mathtut)
Find a five-digit number in which the first digit equals the sum of the fourth and fifth... (answered by stanbon,solver91311)
Find the six-digit number in which the first digit is one less than the second digit and... (answered by ankor@dixie-net.com)
Find a five digit number in which the second and fourth digits are the same, the third... (answered by ankor@dixie-net.com)
What is a six digit number in which the first digit is 1 more than the third and the... (answered by ankor@dixie-net.com)
Find the six-digit number in which the first digit is 2 more than the second, the second... (answered by greenestamps)