Mathathon 2020 Problem 5 - Hard

Logic Level 2

Alex, Brook, Cody, Dusty, and Erin recently found out that all of their birthdays were on the same day, though they are different ages.

On their mutual birthday, they were jabbering away, flapping their gums about their recent discovery. And, lucky me, I was there. Some of the things that I overheard were...

  • Dusty said to Brook: "I'm nine years older than Erin."
  • Erin said to Brook: "I'm seven years older than Alex."
  • Alex said to Brook: "Your age is exactly 70% greater than mine."
  • Brook said to Cody: "Erin is younger than you."
  • Cody said to Dusty: "The difference between our ages is six years."
  • Cody said to Alex: "I'm ten years older than you."
  • Cody said to Alex: "Brook is younger than Dusty."
  • Brook said to Cody: "The difference between your age and Dusty's is the same as the difference between Dusty's and Erin's."

Since I knew these people and how old they were, I knew that they were not telling the whole truth.

After thinking about it, I realized that when one of them spoke to someone older, everything they said was true, but when speaking to someone younger, everything they said was false.

What is the sum of their ages?


The answer is 219.

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

3 solutions

Jeff Giff
Jul 20, 2020

Let’s name the characters’ ages after their initials: A , B , C , D , E . A,B,C,D,E.

Look at this sentence.

Cody said to Alex:’I am ten years older than you.‘

If Cody’s the younger one, he is telling the t r u t h \color{#D61F06} truth . This leads to a contradiction so Cody is older, i.e. C > A . C\gt A.

Now we know that the statements

‘Brook is younger than Dusty’ and ‘Cody is ten years older than Alex’

are f a l s e \color{#3D99F6}false , ergo Brook is older than Dusty( B > D B\gt D ).


Now since Brook’s older than Dusty, the statement

‘Dusty is nine years older than Erin’

Is t r u e \color{#D61F06} true .
Now we know C > B > D > E C\gt B\gt D\gt E and C > A C\gt A .


Erin said to Brook: ‘I'm seven years older than Alex.’

This is obviously true. So now we know C > B > D > E > A C\gt B\gt D\gt E\gt A .


So these are the t r u e \color{#D61F06} true statements:

Dusty said to Brook: ‘I'm nine years older than Erin.’
Erin said to Brook: ‘I'm seven years older than Alex.’
Alex said to Brook: ‘Your age is exactly 70% greater than mine.’
Brook said to Cody: ‘Erin is younger than you.’
Brook said to Cody: ‘The difference between your age and Dusty's is the same as the difference between Dusty's and Erin's.’

So these give us a set of equations:(the numbers in the brackets are the lines in the quote for reference) { D = E + 9 , ( 1 ) E = A + 7 , ( 2 ) C = D + 9 = E + 18 = A + 25 , ( 1 , 2 , 5 ) 170 % A = B . ( 3 ) \begin{cases} D=E+9,(1)\\ E=A+7,(2)\\ C=D+9=E+18=A+25,(1,2,5)\\ 170\%A=B.(3) \end{cases} Now look at those two equations: C = A + 25 , 170 % A = B , D + 9 = A + 25 ( D = A + 16 ) C=A+25,170\%A=B,D+9=A+25(D=A+16) . Look at the inequality from the last section(the age sequence) to get A + 25 > 170 % A > A + 16. A+25\gt 170\%A\gt A+16. Since we assume the ages are all integers, A must be divisible by 10 for 170%A to be an integer. So A = 30 A=30 , and everyone’s ages are C = 55 , B = 51 , D = 46 , E = 37 , A = 30. C=55,B=51,D=46,E=37,A=30. So the answer is 55 + 51 + 46 + 37 + 30 = 219 . 55+51+46+37+30=\boxed{\colorbox{#CEBB00}{219}}.

@Percy Jackson, You can give me pts now :)

Jeff Giff - 10 months, 3 weeks ago

Uniqueness 0 same logic
Latex 10 Great La-text!
No Mistakes 10 No mistakes!
Clarity 10 Clear and nice explanation!
Time 10 First solution
@Jeff Giff 's Total 40 Awesome!

A Former Brilliant Member - 10 months, 3 weeks ago
Lorenz W.
Jul 21, 2020

As a beginning we can name the characters after their initials: A=Alex, B=Brook, C=Cody, D=Dusty, and E=Erin. \text{As a beginning we can name the characters after their initials: A=Alex, B=Brook, C=Cody, D=Dusty, and E=Erin.}

Then we can check if certain combinations are impossible. \text{Then we can check if certain combinations are impossible.}

Is it possible that E is the youngest person? \color{#EC7300}{\textit{Is it possible that E is the youngest person?}}

No, because E would have to equal A+7, which is a contradiction if E is the youngest. \textit{No, because E would have to equal A+7, which is a contradiction if E is the youngest.}

Is it possible that D is the youngest person? \color{#EC7300}{\textit{Is it possible that D is the youngest person?}}

No, because D would have to equal E+9, which is a contradiction if D is the youngest. \textit{ No, because D would have to equal E+9, which is a contradiction if D is the youngest.}

Is it possible that C is the youngest person? \color{#EC7300}{\textit{Is it possible that C is the youngest person?}}

No, because C would have to equal A+10, which is a contradiction if C is the youngest. \textit{ No, because C would have to equal A+10, which is a contradiction if C is the youngest.}

Chart of possible solutions \textbf{Chart of possible solutions}

youngest oldest
AB ABCDE ABCDE ABCDE ABCDE

But we can ask more questions... \text{But we can ask more questions...}

Can Brook be the oldest? (btw. Alex is the youngest then because, as proved above, no one else can be the youngest.) \color{#EC7300}{\textit{Can Brook be the oldest? (btw. Alex is the youngest then because, as proved above, no one else can be the youngest.)}}

No. E would be greater than C, according to statement 4, but C would equal A+10 but E only A+7, which is a contradiction. \textit{No. E would be greater than C, according to statement 4, but C would equal A+10 but E only A+7, which is a contradiction.}

Can Alex be older than Cody? \color{#EC7300}{\textit{Can Alex be older than Cody?}}

No, A cannot be greater than C because statement 6 would have to be true but statement 6 explicitly states that C is A+10. \textit{ No, A cannot be greater than C because statement 6 would have to be true but statement 6 explicitly states that C is A+10.}

Therefore we know that A<C. Due to that we can deduce from claim 7 that D<B. \text{Therefore we know that A<C. Due to that we can deduce from claim 7 that D<B.}

This also makes it impossible for Brook to be the youngest or the 2nd youngest. \text{This also makes it impossible for Brook to be the youngest or the 2nd youngest.}

Chart of possible solutions \textbf{Chart of possible solutions}

youngest oldest
A CDE BCDE BCE CE

As D < B and D = E + 9 are both valid, Dusty can not be the youngest or the 2nd youngest. And Erin has to be younger than him. \text{ As D < B and D = E + 9 are both valid, Dusty can not be the youngest or the 2nd youngest. And Erin has to be younger than him.}

In addition to that, Cody has to be the oldest as Brook has been proven to not be the oldest, Erin has to be younger than Dusty, and Dusty is supposed to be younger than Brook. And Alex has been proven to be the youngest. \text{In addition to that, Cody has to be the oldest as Brook has been proven to not be the oldest, Erin has to be younger than Dusty, and Dusty is supposed to be younger than Brook. And Alex has been proven to be the youngest.}

This gives us only one possible solution. \textbf{This gives us only one possible solution.}

youngest oldest
A E D B C
A A+7 A+16 1.7A A+25

Can it withstand all claims? \textbf{Can it withstand all claims?}

  • 1.D=E+9
  • 2.E=A+7
  • 3.B= 1.7 times A
  • 4.E<C
  • 5.CD is not 6
  • 6.C is nor A+10
  • 7.D<B
  • 8.CD=DE

There is not contradiction in these statements. Now we only need to solve for A. \text{There is not contradiction in these statements. Now we only need to solve for A.}

First equation: \text{First equation:}

A + 16 < 1.7 A A+16 < 1.7 \cdot A 16 < 0.7 A 16 <0.7 \cdot A 22.85 < A 22.85 < A

Second equation: \text{Second equation:}

1.7 A < A + 25 1.7 \cdot A < A + 25 0.7 A < 25 0.7 \cdot A < 25 A < 35.7 A < 35.7

We know that all ages are integers. But 1.7 x n can only be an integer if n is a multiple of 10. \text{We know that all ages are integers. But 1.7 x n can only be an integer if n is a multiple of 10.}

As there is only one multiple of 10 in the interval 23<A<35, we know that A=30. \text{As there is only one multiple of 10 in the interval 23<A<35, we know that A=30.}

A = 30 A = 30 E = A + 7 = 30 + 7 = 37 E = A + 7 = 30 + 7 = 37 D = A + 16 = 30 + 7 = 46 D = A + 16 = 30 + 7 = 46 B = A 1.7 = 30 1.7 = 51 B = A \cdot 1.7 = 30 \cdot 1.7 = 51 C = A + 25 = 30 + 25 = 55 C = A + 25 = 30 + 25 = 55

Now we only need to add those up... \text{Now we only need to add those up...}

A + E + D + B + C = 30 + 37 + 46 + 51 + 55 = 219 A + E + D + B + C = 30 + 37 + 46 + 51 + 55 = 219

The sum of their ages is 219. \color{forestgreen}{\text{The sum of their ages is 219.}}

Uniqueness 0 same logic
Latex 10 Great La-text!
No Mistakes 10 No mistakes!
Clarity 10 Clear and nice explanation!
Time 8 3rd solution
@Lorenz W. 's Total 38 Awesome!

A Former Brilliant Member - 10 months, 3 weeks ago
Zakir Husain
Jul 21, 2020

Let the age of Alex, Brook, Cody, Dusty, and Erin be A , B , C , D A,B,C,D and E E

Above statements can be translated as follows : D < B D = E + 9.......... [ 1 ] D<B\Leftrightarrow D=E+9..........[1] E < B E = A + 7.......... [ 2 ] E<B\Leftrightarrow E=A+7..........[2] A < B B = 17 10 A . . . . . . . . . . [ 3 ] A<B\Leftrightarrow B=\dfrac{17}{10}A..........[3] B < C E < C . . . . . . . . . . [ 4 ] B<C\Leftrightarrow E<C..........[4] C < D C D = 6.......... [ 5 ] C<D\Leftrightarrow |C-D|=6..........[5] C < A C = A + 10.......... [ 6 ] C<A\Leftrightarrow C=A+10..........[6] C < A B < D . . . . . . . . . . [ 7 ] C<A\Leftrightarrow B<D..........[7] B < C C D = E D . . . . . . . . . . [ 8 ] B<C\Leftrightarrow |C-D|=|E-D|..........[8] In [ 6 ] [6] there are 3 3 cases

Case 1 1 : C < D C<D is t r u e C = A + 10 \green{true}\Rightarrow C\cancel{=}A+10

\Rightarrow statement [ 6 ] [6] is c o n t r a d i c t e d \red{contradicted}

Case 2 2 : C = A + 10 C=A+10 is t r u e C < D \green{true}\Rightarrow C\cancel{<}D

\Rightarrow statement [ 6 ] [6] is c o n t r a d i c t e d \red{contradicted}

Case 3 3 : C < A C<A and C = A + 10 C=A+10 both are f a l s e \red{false}

\Rightarrow statement [ 6 ] [6] is c o r r e c t \green{correct}

Therefore the only possible case is the third case.

So, C > A D < B D > E E < B E > A C>A\Rightarrow D<B\Rightarrow D>E\Rightarrow E<B\Rightarrow E>A From [ 6 ] , [ 7 ] , [ 1 ] [6],[7],[1] and [ 2 ] [2] we get C > B > D > E > A . . . . . . . . . . [ α ] C>B>D>E>A..........[\alpha] And E A = 7.......... [ I ] E-A=7..........[I] D E = 9.......... [ I I ] D-E=9..........[II] C D = 9.......... [ I I I ] C-D=9..........[III] [ I ] + [ I I ] D A = 7 + 9 = 7 + ( 10 1 ) = 17 1 = 16.......... [ I V ] [I]+[II]\Rightarrow D-A=7+9=7+(10-1)=17-1=16..........[IV] [ I I I ] + [ I V ] C A = 16 + 9 = 16 + ( 10 1 ) = 26 1 = 25.......... [ V ] [III]+[IV]\Rightarrow C-A=16+9=16+(10-1)=26-1=25..........[V] Subtracting A A in [ α ] [\alpha] C A > B A > D A > 0.......... [ β ] C-A>B-A>D-A>0..........[\beta] From [ 3 ] , [ β ] , [ I V ] [3],[\beta],[IV] and [ V ] [V] we get 25 > 17 10 A A > 16 > 0 25>\dfrac{17}{10}A-A>16>0 25 > 7 10 A > 16 > 0 17 10 A A = 17 A 10 A 10 = 7 10 A 25>\dfrac{7}{10}A>16>0\quad\blue{\because \dfrac{17}{10}A-A=\dfrac{17A-10A}{10}=\dfrac{7}{10}A} Now as ( B A ) Z + ; B A = 7 × 1 10 A 7 ( B A ) (B-A)\in Z^+;B-A=7\times \dfrac{1}{10}A\Rightarrow 7|(B-A)

Now as 21 21 is the only multiple 7 7 between 16 16 and 25 25 B A = 21 \Rightarrow B-A=21 7 10 A = 21 B A = 7 10 A s e e [ 3 ] \dfrac{7}{10}A=21\quad \blue{\because B-A=\dfrac{7}{10}A\space see\space [3]} A = 21 × 10 7 = 10 × 21 7 = 10 × 3 = 30 A=21\times\dfrac{10}{7}=10\times\dfrac{21}{7}=10\times3=30 A = 30 \boxed{A=30} From [ 3 ] [3] B = 17 10 A = 17 1 0 × 3 0 = 17 × 3 = 51 B = 51 B=\dfrac{17}{10}A=\dfrac{17}{1\cancel{0}}\times3\cancel{0}=17\times3=51\Rightarrow\boxed{B=51} From [ I ] [I] E A = 7 E = 7 + A E = 30 + 7 = 37 E = 37 E-A=7\Rightarrow E=7+A\Rightarrow E=30+7=37\Rightarrow \boxed{E=37} From [ I I ] [II] D E = 9 D = 9 + E = 9 + 37 = 46 D = 46 D-E=9\Rightarrow D=9+E=9+37=46\Rightarrow \boxed{D=46} From [ I I I ] [III] C D = 9 C = 9 + D = 9 + 46 = 55 C = 55 C-D=9\Rightarrow C=9+D=9+46=55\Rightarrow \boxed{C=55} Therefore, A + B + C + D + E = 30 + 51 + 55 + 46 + 37 = 219 \blue{A}\green{+}\red{B}\green{+}\blue{C}\green{+}\red{D}\green{+}\blue{E}=\blue{30}\green{+}\red{51}\green{+}\blue{55}\green{+}\red{46}\green{+}\blue{37}=\boxed{219}

Uniqueness 3 A is found by a bit different logic!
Latex 10 Great La-text!
No Mistakes 10 No mistakes!
Clarity 10 Clear and nice explanation!
Time 9 2nd solution
@Zakir Husain 's Total 42 Awesome!

A Former Brilliant Member - 10 months, 3 weeks ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...