Once upon a time, there were 3 charming sisters, who attended the luxurious banquet in the royal palace. The Prince, stunned by their fascinating beauty, approached his 3 new guests, and after brief introduction, he politely asked them about their ages.
Then the 3 ladies, named A, B, C, whispered to one another before coming up with a little plan to test the Prince's wit.
Lady C: The age sum of Lady A and Lady B has a remainder of 3 when it is divided by 5. And only one of us has an age as multiple of 5.
Lady A: The age sum of Lady B and Lady C has a remainder of 5 when it is divided by 6. And only one of us has an age as multiple of 6.
Lady B: The age sum of Lady C and Lady A has a remainder of 4 when it is divided by 7. And only one of us has an age as multiple of 7.
Prince: How clever of you! Judging from my sight, Lady A is the youngest, Lady B the middle, and Lady C the eldest, I bet.
3 ladies: Correct! Your Highness! The least composite numbers applied are indeed our ages!
Prince: Thank you, fair ladies. Now I know all of your ages.
What is the least possible sum of the 3 sisters' ages?
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.
Oh, well, I just put "least possible" sum to make sure they are not fairies in disguise. :)
Log in to reply
Ahh, I was just wondering when the next solution would crop up. A long ways off. I found the sisters' ages by trial and error, looking at all the multiples of 5 between 10 and 100, and then finding nearest multiples of 6 and 7. Process of elimination.
Log in to reply
Oh, can't we use multivariate Chinese remainder theorem for this?
Log in to reply
@Worranat Pakornrat – too much work... I figured that there weren't too many triples that I needed to examine
Log in to reply
@Michael Mendrin – I see. Thus, I adjusted the dialogue a bit, so one would find these sisters more mysterious. :)
Log in to reply
@Worranat Pakornrat – Oh oh... well now
Log in to reply
@Michael Mendrin – Maybe you better think twice about that? It doesn't seem like {18,20,21} would be an unique solution {18,25, 28} would be another. I suggest you go back to the original wording.
Log in to reply
@Michael Mendrin – I agree it's not unique, but I still think the solution is the least possible sum.
Log in to reply
@Worranat Pakornrat – It's the least possible sum only if none of them are preteens.
Log in to reply
@Michael Mendrin – Well, we still have the 5,6,7 multiple constraints and A being the youngest. No lesser triple could apply.
Log in to reply
@Worranat Pakornrat – How about 12, 20, 21?
Log in to reply
@Michael Mendrin – 12+20 = 32 = 2 (mod 5). It doesn't fit their first rhyme 3 mod 5.
Log in to reply
@Worranat Pakornrat – Who says that b is the next youngest? 12+21=33=3(mod 5). Maybe fix your wording a bit more carefully, and then you have it?
Log in to reply
@Michael Mendrin – OK. Now the order is specified.
Log in to reply
@Worranat Pakornrat – Now the problem is harder
Log in to reply
@Michael Mendrin – Time to use multivariate CRT now. :)
Problem Loading...
Note Loading...
Set Loading...
Or the sisters could be 2 2 8 , 2 3 0 , 2 3 1
If x = 2 ⋅ 3 ⋅ 5 ⋅ 7 ⋅ n where n is an integer
( 1 8 + x , 2 0 + x , 2 1 + x ) is the general solution