Two friends are playing a coin game. You need to give to your friend, one coin that has an even value and another coin that has an odd value. For example, a dime would be the even value since its value is $10$ and a nickel could be the odd value since its value is $5$. Now your friend is going to take the two coins and put one in each hand. He or she must follow the below:
1) Triple the value of the coin in the right hand 2) Double the value of the coin in the left hand
Then add the two results together. If the sum is even, the even coin aka the "dime" is in the right hand. If the sum is odd, the even coin aka the "dime" is in the left hand.
Why do this work?
I actually did this problem but I cant seem to find the reason why this works. I am guessing it has to do with the fact that there is an odd value and even value involved. Any ideas?
Also, I would love to know if this works for other coins that might be odd or even as well like quarter or penny.
Say the value of the even coin is $2m$, and the value of the odd coin is $2n+1$. If the even coin is in the right hand, the calculation is
$$3(2m)+2(2n+1)=6m+4n+2=2(3m+2n+1)\;,$$
which is even. If the even coin is in the left hand, the calculation is
$$3(2n+1)+2(2m)=6n+4m+3=2(3n+2m+1)+1\;,$$
which is odd.