Riddles about money

logicmath

A women walks into a bank to cash out her check. By mistake the bank teller gives her dollar amount in change, and her cent amount in dollars. On the way home she spends 5 cents, and then suddenly she notices that she has twice the amount of her check. How much was her check amount?
The check was for dollars 31.63. The bank teller gave her dollars 63.31 She spent .05, and then she had dollars 63.26, which is twice the check. Let x be the dolars of the check, and y be the cent. The check was for 100x + y cent He was given 100y + x cent Also 100y + x - 5 = 2(100x + y) Expanding this out and rearranging, we find: 98y = 199x + 5 Which doesn't look like enough information to solve the problem except that x and y must be whole numbers, so: 199x ≡ -5 (mod 98) 98*2*x + 3x ≡ -5 (mod 98) 3x ≡ -5 ≡ 93 (mod 98) This quickly leads to x = 31 and then y = 63 Alternative solution by substitution: 98y = 199x + 5 y = (199x + 5)/98 = 2x + (3x + 5)/98 Since x and y are whole numbers, so must be (3x + 5)/98. Call it z = (3x+5)/98 so 98z = 3x + 5, or 3x = 98z - 5 or x = (98z - 5)/3 or x = 32z-1 + (2z-2)/3. Since everything is a whole number, so must be (2z-2)/3. Call it w = (2z-2)/3, so 3w = 2z-2 so z = (3w+2)/2 or z = w + 1 + w/2. So w/2 must be whole, or w must be even. So try w = 2. Then z = 4. Then x = 129. Then y = 262. if you decrease y by 199 and x by 98, the answer is the same: y = 63 and x = 31.
72.45 %
65 votes
logicmath

There are n coins in a line. (Assume n is even). Two players take turns to take a coin from one of the ends of the line until there are no more coins left. The player with the larger amount of money wins. Would you rather go first or second? Does it matter? Assume that you go first, describe an algorithm to compute the maximum amount of money you can win. Note that the strategy to pick maximum of two corners may not work. In the following example, first player looses the game when he/she uses strategy to pick maximum of two corners. Example 18 20 15 30 10 14 First Player picks 18, now row of coins is 20 15 30 10 14 Second player picks 20, now row of coins is 15 30 10 14 First Player picks 15, now row of coins is 30 10 14 Second player picks 30, now row of coins is 10 14 First Player picks 14, now row of coins is 10 Second player picks 10, game over. The total value collected by second player is more (20 + 30 + 10) compared to first player (18 + 15 + 14). So the second player wins.
Going first will guarantee that you will not lose. By following the strategy below, you will always win the game (or get a possible tie). (1) Count the sum of all coins that are odd-numbered. (Call this X) (2) Count the sum of all coins that are even-numbered. (Call this Y) (3) If X > Y, take the left-most coin first. Choose all odd-numbered coins in subsequent moves. (4) If X < Y, take the right-most coin first. Choose all even-numbered coins in subsequent moves. (5) If X == Y, you will guarantee to get a tie if you stick with taking only even-numbered/odd-numbered coins. You might be wondering how you can always choose odd-numbered/even-numbered coins. Let me illustrate this using an example where you have 6 coins: Example 18 20 15 30 10 14 Sum of odd coins = 18 + 15 + 10 = 43 Sum of even coins = 20 + 30 + 14 = 64. Since the sum of even coins is more, the first player decides to collect all even coins. He first picks 14, now the other player can only pick a coin (10 or 18). Whichever is picked the other player, the first player again gets an opportunity to pick an even coin and block all even coins.
72.18 %
60 votes
simplecleanlogicinterview

You are blindfolded and 10 coins are place in front of you on table. You are allowed to touch the coins, but can't tell which way up they are by feel. You are told that there are 5 coins head up, and 5 coins tails up but not which ones are which. How do you make two piles of coins each with the same number of heads up? You can flip the coins any number of times.
Make 2 piles with equal number of coins. Now, flip all the coins in one of the pile. How this will work? lets take an example. So initially there are 5 heads, so suppose you divide it in 2 piles. Case: P1 : H H T T T P2 : H H H T T Now when P1 will be flipped P1 : T T H H H P1(Heads) = P2(Heads) Another case: P1 : H T T T T P2 : H H H H T Now when P1 will be flipped P1 : H H H H T P1(Heads) = P2(Heads)
72.05 %
51 votes
logicmathcleanclever

You are on a gameshow and the host shows you three doors. Behind one door is a suitcase with $1 million in it, and behind the other two doors are sacks of coal. The host tells you to choose a door, and that the prize behind that door will be yours to keep. You point to one of the three doors. The host says, "Before we open the door you pointed to, I am going to open one of the other doors." He points to one of the other doors, and it swings open, revealing a sack of coal behind it. "Now I will give you a choice," the host tells you. "You can either stick with the door you originally chose, or you can choose to switch to the other unopened door." Should you switch doors, stick with your original choice, or does it not matter?
You should switch doors. There are 3 possibilities for the first door you picked: You picked the first wrong door - so if you switch, you win You picked the other wrong door - again, if you switch, you win You picked the correct door - if you switch, you lose Each of these cases are equally likely. So if you switch, there is a 2/3 chance that you will win (because there is a 2/3 chance that you are in one of the first two cases listed above), and a 1/3 chance you'll lose. So switching is a good idea. Another way to look at this is to imagine that you're on a similar game show, except with 100 doors. 99 of those doors have coal behind them, 1 has the money. The host tells you to pick a door, and you point to one, knowing almost certainly that you did not pick the correct one (there's only a 1 in 100 chance). Then the host opens 98 other doors, leave only the door you picked and one other door closed. We know that the host was forced to leave the door with money behind it closed, so it is almost definitely the door we did not pick initially, and we would be wise to switch. Search: Monty Hall problem
71.80 %
76 votes
logictricky

If you were to put a coin into an empty bottle and then insert a cork into the neck, how could you remove the coin without taking out the cork or breaking the bottle?
Push the cork into the bottle and shake the coin out.
71.74 %
59 votes
cleanfunnylogic

A kind hearted person Mr. Rawat buy packed food at 3$/packet from United states and sells them at 1$/packet at Africa. After some time he becomes a millionaire. How come the guy become millionaire?
He started out as a billionaire, but lost so much money in his good works (by giving to poor people) that he became a millionaire.
71.06 %
98 votes
logiccleanclevermathstory

A man told his son that he would give him $1000 if he could accomplish the following task. The father gave his son ten envelopes and a thousand dollars, all in one dollar bills. He told his son, "Place the money in the envelopes in such a manner that no matter what number of dollars I ask for, you can give me one or more of the envelopes, containing the exact amount I asked for without having to open any of the envelopes. If you can do this, you will keep the $1000." When the father asked for a sum of money, the son was able to give him envelopes containing the exact amount of money asked for. How did the son distribute the money among the ten envelopes?
The contents or the ten envelopes (in dollar bills) hould be as follows: $1, 2, 4, 8, 16, 32, 64, 128, 256, 489. The first nine numbers are in geometrical progression, and their sum, deducted from 1,000, gives the contents of the tenth envelope.
70.73 %
69 votes
logicmathtrickystoryclever

Three people check into a hotel room. The bill is $30 so they each pay $10. After they go to the room, the hotel's cashier realizes that the bill should have only been $25. So he gives $5 to the bellhop and tells him to return the money to the guests. The bellhop notices that $5 can't be split evenly between the three guests, so he keeps $2 for himself and then gives the other $3 to the guests. Now the guests, with their dollars back, have each paid $9 for a total of $27. And the bellhop has pocketed $2. So there is $27 + $2 = $29 accounted for. But the guests originally paid $30. What happened to the other dollar?
This riddle is just an example of misdirection. It is actually nonsensical to add $27 + $2, because the $27 that has been paid includes the $2 the bellhop made. The correct math is to say that the guests paid $27, and the bellhop took $2, which, if given back to the guests, would bring them to their correct payment of $27 - $2 = $25.
70.72 %
73 votes
<<<23
MORE RIDDLES >
Page 2 of 3.