### Brain Teasers

# The Secret Code

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?

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

7, 4, 6, 5, 8Hide Answer Show Answer

## What Next?

**Solve a Similar Brain Teaser...**

Or, get a random brain teaser.

If you become a registered user you can vote on this brain teaser, keep track of

which ones you have seen, and even make your own.

## Comments

Jan 20, 2004

But he Could remember all of that? Weird guy... Nice teaser.

So, like what's the best way to figure this out? Or do I just try numbers until it works, which is what I did. I'm not strong on math...

Let O = digit 1, T = dig 2, R = dig 3, F = dig 4, V = dig 5.

O must be odd since 2*T-0 = 1 (clue 3)

so, 0=1,3,5,7,9 which means T=1,2,3,4,5 (clue 3 again)

we know R+T = 10(clue 4) then R=9,8,7,6,5

we know F-T = 1 (clue 2) then F=2,3,4,5,6

we know V+R = 14 (clue 1) then V=5,6,7,8,9

all of these possible values are listed respectively, so

our possible codes are

O T R F V

1 1 9 2 5 = 18

3 2 8 3 6 = 21

5 3 7 4 7 = 26

7 4 6 5 8 = 30 (clue 5)

9 5 5 6 9 = 34

7 4 6 5 8 is the solution

O must be odd since 2*T-0 = 1 (clue 3)

so, 0=1,3,5,7,9 which means T=1,2,3,4,5 (clue 3 again)

we know R+T = 10(clue 4) then R=9,8,7,6,5

we know F-T = 1 (clue 2) then F=2,3,4,5,6

we know V+R = 14 (clue 1) then V=5,6,7,8,9

all of these possible values are listed respectively, so

our possible codes are

O T R F V

1 1 9 2 5 = 18

3 2 8 3 6 = 21

5 3 7 4 7 = 26

7 4 6 5 8 = 30 (clue 5)

9 5 5 6 9 = 34

7 4 6 5 8 is the solution

Difficult

Why is this so Difficult. First I started by placing a nine in the fifth place. This resulting in a total sum of 34. So replaced the 9 with an 8 and got the correct answer. GREAT TEASER BUT IS NOT AS HARD AS IT IS MADE OUT TO BE!!!

I don't know if you purposefully left this out, but it would be easier if you said that no 2 numbers were the same. i enjoyed solving it anyway gj.

Unnecessary information Jo. Taking the first clue, let 3rd number be x so 5th is 14-x

From 4th clue 2nd is 10-x.

This means the 4th number is 11-x.

From the 3rd clue the first number is 19-2x.

Adding them 54-4x=30.

solving gives x = 6. Work backwards.

Nice puzzle!

From 4th clue 2nd is 10-x.

This means the 4th number is 11-x.

From the 3rd clue the first number is 19-2x.

Adding them 54-4x=30.

solving gives x = 6. Work backwards.

Nice puzzle!

Nice puzzle. Not too strong in difficulty but pretty good in fun.

Fun Teaser, not that hard. Just start with two digits equaling 14 and work your way back.

I missed the boat on this one... I set N1+N2...+N5=30 and then put every number in terms of N2... this looked like (2N2-1)+N2+(10-N2)+(N2+1)+[14-(10-N2)]=30. This puts N2=8 but then after substituting into the other equations I got a code of 15,8,2,9,12 which equals 46. I know this is way off but why can't I solve algebraically ?? Thanks

Mar 05, 2004

I used the same method except that I got N2or B=4 and it all worked out.

(2B-1)+B+(10-B)+(B+1)+(4+B)=30

Jillian

(2B-1)+B+(10-B)+(B+1)+(4+B)=30

Jillian

it looked hard but turned out 2 b easy even though i didn't get it

TOO EASY

If u have trouble then talk 2 my maths teacher who goes onn and onn and onnnnnnnnn.....!!!!!!!

May 17, 2007

x y z t e

9 3 7 4 7

9 3 7 4 7

May 17, 2007

x y z t e

e+z=14

t=y+1

y+z=10

x+y+z+t+e=30

x+y+10-y+y+1+4+y=30

x+2y= 15

x must be 2

e=4+y

e must be

e+z=14

t=y+1

y+z=10

x+y+z+t+e=30

x+y+10-y+y+1+4+y=30

x+2y= 15

x must be 2

e=4+y

e must be

I've got to agree with the too easy, but I guess they don't all need to be hard. Simple algebra problem without any twists.

Jul 26, 2009

The problem is wronge.... Take the answer from the computer and pug them into the clues they do not match.... So all you people who think your smart...CHECK YOUR WORK!!!!!!!!!!!!!!

Sep 18, 2009

Nice one;

I think it is easy to remember the five digit code than those clues.

I think it is easy to remember the five digit code than those clues.

Nov 19, 2010

How the hell can he remember all these gay clues but not remember the god damn code!!!

## Follow Braingle!