Anna, Brenda, and Cynthia are taking turns playing a two-person game. Each game, the player with the least amount of money bets it all, and the opponent calls it. The results of the games are as follows:
All three of them end up with equal amounts of money.
They each started with an integer number of cents. One of the players started with 50 cents—who was it?
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.
Does the solution imply B and C can't be decimals?
Log in to reply
I think it can be considered obvious that cents are the smallest unit.
Log in to reply
I think it might still be best to note that they can't have any fractional money for those who don't live in the US. I've lived in the US so I understood the problem, but I don't know if everyone else would consider it obvious. :)
It definitely is not obvious that cents are the smallest unit. Even in the USA, there used to be smaller coins a few hundred years ago .
Depending on what you base the value of your currency on, e.g. 1 gram of gold (compare gold dollars ), a cent being one hundredth of it can still be a significant amount of money, and would still need to be subdivided. For the example given, such a cent would be worth about $0.40 and it would be very likely that there would be coins being worth a fraction of this number.
I'm glad that the problem has been clarified to include the requirement for an integer number of cents initially.
whatif a had 90 cents initially then b would have 150cents and c would have 120cents in that case no have began with 50 cents
Log in to reply
The title and text both say that someone began with 50 cents. Your equations may have other solutions, but they don't satisfy that condition of the problem.
But it was NOT determined, that 50 cent is a real coin, not e.g. a PayPal account balance.... If Cynthia had 50 cent, then A had 0,375 cent (3/8 cent), and B had 0,625 cent (5/8 cent)
I think, so this problem is not correct :/
Log in to reply
It says in the question that everyone has to start with an integer number of cents. They can't start off with decimal values so Brenda starting with 50 cents is the only possible answer.
Log in to reply
The comment was posted before the question was changed to state that everyone had an integer number of coins.
You mean A had 37.5 cent and B had 62.5 cent. As this requires only half-cents, this definitely was possible (a couple of centuries ago), even in the USA with real coins . If the problem did not require an integer number of cents previously, you are correct that the right answer would have been "Impossible to answer".
Poorly worded BS question. NEXT.
Log in to reply
How is it poorly worded? I can't see any ambiguity in the wording of the question.
Log in to reply
Well, if the person who wins the round gets all the money, how come Brenda had 50 cents, Cynthia had 40, and Brenda WON a game against Cynthia (remember, if you have the smaller amount of money, you bet it all) and DOUBLED her money? Cynthia only had 40 and went all in, Brenda, who had 50, bet 40 and won, so she ended up with 90. 50*2 isn't 90.
I think 30, 50, 40 was the intended solution, but it doesn't make sense given the game rules.
Log in to reply
@Lucas Macedo – When Brenda won against Cynthia she didn't have 50 cents anymore, because she had just lost 30 cents to Anna in the first round.
Log in to reply
@Jeremy Galvagni – Oh, that's right, I stand corrected. Brenda had 20 cents when she played against Cynthia, my bad.
in the question it says that the person with the least amount of money plays the game and hence doubling the money. In the second round of the game it says that Brenda and Cynthia play and brenda doubles her money... meaning that brenda has less money than cynthia... so how is it possible for brenda to have 50 cents and cynthia 40 cents?? also it doesnt say anywhere that the other player has to give that money to the other one... so why did you subtract in the answer??
Log in to reply
B lost money in the first round (30 cents) to A. She then had less than C (20 vs 40), so she could double up.
Since no solutions give the money in hand after each round, here they are:
Start (30,50,40). After first: (60,20,40). After second (60,40,20). After last (40,40,40).
Log in to reply
What does it mean when you say "and the opponent calls it" in the problem question?
Ah okay that makes sense though, thank you.
Log in to reply
@Stefanos Charkoutsis – That was not my original wording. The moderators try to be helpful and usually they succeed. In this case, they used a phrase that maybe not everyone knows.
When a player makes a bet for some amount, the verb "to call" means to accept that bet for that amount.
In some betting games, the opponent has the option "to raise" the bet to a higher amount. This obviously can't happen here.
How do we know that the three players have an equal amount at the end? Thanks!
I looked at the problem in reverse so that I only needed to look at one variable. Suppose that x is the money that each of the three players have at the end.
Look at the third game. Cynthia wins against Anna and doubles her money. That means that, before game 3, Cynthia had 2 x . This also happens to be the amount that Anna loses. So, Anna had 2 3 x before game 3. Brenda had x since she did not participate in this game.
Now, look at game 2. Brenda wins against Cynthia and doubles her money. That means that, before game 2, Brenda had 2 x . This also happens to be the amount that Cynthia loses, putting her money at 2 x + 2 x = x before this game. Anna still has 2 3 x .
Finally, look at game 1. Anna wins against Brenda and doubles her money, meaning that Anna had 4 3 x before this game. Brenda lost this amount, so she had 2 x + 4 3 x = 4 5 x initially. Cynthia still has x .
Now, one of them has 5 0 cents initially. If you set each of the initial amounts of money we derived above to 5 0 , you will get that only Brenda's amount makes sense (others give fractional values for x , which is absurd).
BTW, with this, you can find that all players had x = 4 0 cents in the end, Anna had 4 3 x = 3 0 cents initially, Brenda had 4 5 x = 5 0 cents initially, and Cynthia had x = 4 0 cents initially.
The idea of looking in reverse is a gem.
wonderful to work in reverse! I wish i think of this sooner
I did exactly that and noted because of the fractions you get it get's easier, if you think of the final amount everyone has as 4x. Then it goes like this in reverse:
game 3: c=2x a=6x => c=4x a=4x
game 2: b=2x c=4x => b=4x c=2x
game 1: a=3x b=5x => a=6x b=2x
=> initial situation: a=3x, b=5x c=4x
With that multiples of x, x must be integer and since 50=2x5x5 the factors 3 and 4 disqualify a and c, so b=50, x=10 and a=30, b=50 c=40
Let Anna, Brenda, and Cynthia start with A ( 0 ) = a , B ( 0 ) = b , and C ( 0 ) = c respectively. Then we have:
Round n 0 1 2 2 A n n a A ( 0 ) = a A ( 1 ) = 2 a A ( 2 ) = a + b − c B r e n d a B ( 0 ) = b B ( 1 ) = b − a B ( 2 ) = 2 ( b − a ) C y n t h i a C ( 0 ) = c C ( 1 ) = c − b + a C ( 2 ) = 2 ( c − b + a ) Anna wins. Brenda wins. Cynthia wins. b > a c > b − a 2 a > c − b + a
Then we have
A ( 2 ) a + b − c ⟹ 2 ( b − a ) b − a ⟹ c b − a a + b − c a + b ⟹ b ⟹ a = B ( 2 ) = C ( 2 ) = 2 ( b − a ) = 2 ( c − b + a ) = 2 ( c − b + a ) = c − ( b − a ) = 2 ( b − a ) = B ( 2 ) = A ( 2 ) = C ( 2 ) = 2 c = c = 2 c = 4 5 c = 2 c − b = 4 3 c . . . ( 1 ) . . . ( 2 ) . . . ( 1 ) + ( 2 ) . . . ( 2 )
Therefore a : b : c = 4 3 : 4 5 : 1 = 3 : 5 : 4 = 3 0 cents : 5 0 cents : 4 0 cents . Therefore Brenda started with 50 cents.
I did it this way, but didn't even realize the connection you made for c = C(2). That would've saved me some time :)
Work backwards. At the end, the three players' balances ( A n n a : B r e n d a : C y n t h i a ) are in the ratio 1 : 1 : 1 .
Cynthia wins the final game, thereby winning half of her resulting balance off Anna. So the ratio immediately prior to this is 2 3 : 1 : 2 1 = 3 : 2 : 1 .
Brenda wins the second game, thereby winning half of her resulting balance off Cynthia. So the ratio immediately prior to this is 3 : 1 : 2 .
Anna wins the first game, thereby winning half of her resulting balance off Brenda. So the ratio immediately prior to this is 2 3 : 2 5 : 2 = 3 : 5 : 4 . This is thus the ratio of funds that they start with.
Since 3 : 5 : 4 is a ratio in its lowest terms, and since each person starts with an integer number of cents, then their opening balances must be 3 n , 5 n and 4 n respectively for some integer n . Of these, only 5 n can equal 50, thus n = 1 0 . So the amounts they start with are:
Each player has 3 different amounts of money throughout the game, Which I'll write as A 1 , A 2 , A 3 for Anna, etc.
The results of the games show us:
A 1 = A 2 ÷ 2
B 1 = B 2 + A 1
C 1 = C 2 + B 2
A 2 = A 3 + C 2
B 2 = B 3 ÷ 2
C 2 = C 3 ÷ 2
Substitution gives us:
A 1 = ( A 3 + ( C 3 ÷ 2 ) ) ÷ 2
B 1 = ( B 3 ÷ 2 ) + ( A 3 + ( C 3 ÷ 2 ) ) ÷ 2
C 1 = ( C 3 ÷ 2 ) + ( B 3 ÷ 2 )
As A 3 = B 3 = C 3 , we can replace these with x , and cancel down the equations:
A 1 = 4 3 x
B 1 = 4 5 x
C 1 = x
Since all these must be integers (as cents are indivisible), only B r e n d a can start with 50 cents; if A 1 or C 1 are 50, the other will not be an integer.
If you make a table how the game develops when assuming Anna has the 50c, you get the table as shown below:
Where p is the resulting money each players has at the end of the game.
When you put the last collum into a matrix and do the RREF tranfsformation you get non integer solutions. Hence Anna (=A) can't have the 50c in the beginning of the game.
When you make the same table but assume Brenda has the 50c at the start of the game, you get the table as shown below:
After the RREF transformation you'll see that x = 30 thus Anna has 30c at the beginning of the game and y = 40 thus Brenda has 40c.
Playing the game with these numbers gives you the result that all players end the game with 40c.
Let's call the three starting amounts a , b , c .
Then the game progresses like this: a , b , c 2 a , B , c 2 a , 2 B , C 2 a − C , 2 B , 2 C
where B = b − a and C = c − B , and with a ≥ 0 and B ≥ 0 and C ≥ 0 and 2 a − C ≥ 0 .
On the way we changed coordinates from ( a , b , c ) to ( a , B , C ) to eliminate some unnecessary writing.
Since 2 a − C = 2 B = 2 C , we find B = C and 2 a = 3 C . These equations have only the solutions ( a , B , C ) = ( 3 n , 2 n , 2 n ) . Back to original coordinates: ( a , b , c ) = ( a , a + B , B + C ) = ( 3 n , 5 n , 4 n ) . This Diophantine equation has entirely integer solutions only for n integer.
Since 50 is not divisible by 4 nor 3, only b can be 50 for n integer. So ( a , b , c ) = ( 3 0 , 5 0 , 4 0 ) and the answer is Brenda.
I was particularly lazy:
#!/usr/bin/env python
import numpy as np
from functools import reduce
def g(w,l):
a = np.identity(3)
a[w][w] += 1 # winner gets amount winner had
a[l][w] -= 1 # loser loses amount winner had
return a
m = reduce(np.matmul,[g(2,0),g(1,2),g(0,1)]) # reverse
i = np.linalg.inv(m)
print (np.matmul(i,[[1],[1],[1]]))*40 # 40 was added after inspection.
No algebra, just a little arithmetic and logic: Assume they all ended with $1.00 and play the game backwards. Doing so is easy and you find that Anna would have started with $.75, Brenda with $.50 and Cynthia with $1.00. The ratio of these amounts must be the same no matter how much they all start with. So, we scale all three numbers by the same factor to reach $.50 for Anna, and do the same for Brenda, and finally for Cynthia. Only when you scale these numbers (by 2/5) to give Brenda $.50, do the other two players end up with an integer number of cents. In this case, Anna starts with $.30 and Cynthia starts with $.40.
Problem Loading...
Note Loading...
Set Loading...
Let the starting amounts for A n n a , B r e n d a , and C y n t h i a be written as ( A , B , C )
After round 1) they have ( A + A , B − A , C ) = ( 2 A , − A + B , C )
After round 2) they have ( 2 A , 2 ( B − A ) , C − ( B − A ) ) = ( 2 A , − 2 A + 2 B , A − B + C )
After round 3) they have ( 2 A − ( A − B + C ) , − 2 A + 2 B , 2 ( A − B + C ) ) = ( A + B − C , − 2 A + 2 B , 2 A − 2 B + 2 C )
Since these are the same we can now write the triple equation
A + B − C = − 2 A + 2 B = 2 A − 2 B + 2 C
Equating the first and third of this triple equation and solving for A:
A + B − C = 2 A − 2 B + 2 C
A = 3 B − 3 C = 3 ( B − C )
This means A is a multiple of 3. 50 is not a multiple of 3, so A did not begin with 50 cents.
Substituting this A into the first and second of the triple equation gives
( 3 B − 3 C ) + B − C = 2 B − 2 ( 3 B − 3 C )
8 B = 1 0 C
4 B = 5 C
This means B is a multiple of 5 and C is a multiple of 4. 50 is a multiple of 5 but not of 4. So B r e n d a began with 50 cents.
And for the record, their starting amounts were ( 3 0 , 5 0 , 4 0 )