|
Question 128697: A man wanted to get into his work building, but he had forgotten his code. However, he did remember five clues. These are what those clues were:
The fifth number plus the third number equals fourteen.
The fourth number is one more than the second number.
The first number is one less than twice the second number.
The second number plus the third number equals ten.
The sum of all five numbers is 30.
What were the five numbers and in what order?
Answer by psbhowmick(878) (Show Source):
You can put this solution on YOUR website! Let the code be: a b c d e.
e + c = 14____ (1)
d = b + 1 _____ (2)
a = 2b - 1 _____ (3)
b + c = 10 ________ (4)
a + b + c + d = 30 ______ (5)
From (3),
c = 10 - b _____ (6)
From (1)
e = 14 - c
e = 14 - (10 - b) = 4 + b ______ (7)
Substituting a, c, d, f from (3), (6), (2), (7) into (5)
(2b - 1) + b + (10 - b) + (b + 1) + (4 + b) = 30
4b + 14 = 30
4b = 30 - 14 = 16
b = 16/4 = 4
a = 2x4 - 1 = 7
b = 4
c = 10 - 4 = 6
d = 4 + 1 = 5
e = 4 + 4 = 8
Hence, the code is 74658.
|
|
|
| |