Logic riddles

interviewlogicmath

The Miller next took the company aside and showed them nine sacks of flour that were standing as depicted in the sketch. "Now, hearken, all and some," said he, "while that I do set ye the riddle of the nine sacks of flour. And mark ye, my lords and masters, that there be single sacks on the outside, pairs next unto them, and three together in the middle thereof. By Saint Benedict, it doth so happen that if we do but multiply the pair, 28, by the single one, 7, the answer is 196, which is of a truth the number shown by the sacks in the middle. Yet it be not true that the other pair, 34, when so multiplied by its neighbour, 5, will also make 196. Wherefore I do beg you, gentle sirs, so to place anew the nine sacks with as little trouble as possible that each pair when thus multiplied by its single neighbour shall make the number in the middle." As the Miller has stipulated in effect that as few bags as possible shall be moved, there is only one answer to this puzzle, which everybody should be able to solve.
The way to arrange the sacks of flour is as follows: 2, 78, 156, 39, 4. Here each pair when multiplied by its single neighbour makes the number in the middle, and only five of the sacks need be moved. There are just three other ways in which they might have been arranged (4, 39, 156, 78, 2; or 3, 58, 174, 29, 6; or 6, 29, 174, 58, 3), but they all require the moving of seven sacks.
80.93 %
36 votes
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.
80.88 %
50 votes
logicmathsimpleclean

Is half of two plus two equal to two or three?
Three. It seems that it could almost be either, but if you follow the mathematical orders of operation, division is performed before addition. So... half of two is one. Then add two, and the answer is three.
80.88 %
50 votes
logiccleaninterview

While mixing sand, gravel, and cement for the foundation of a house, a worker noticed a small bird hopping along the top of the foundation wall. The bird misjudged a hop and fell down one of the holes between the blocks. The bird was down too far for anyone to reach it and the hole was too small for it to fly out of. Someone suggested using two sticks to reach down into the hole and pull the bird out, but this idea was rejected for fear it would injure the fragile bird. What would be the easiest way to get the bird out of the hole without injuring it?
Since they had plenty of sand available, they could pour a little at a time into the hole. The bird would constantly keep shifting its position so that it stood on the rising sand.
80.88 %
50 votes
cleanlogic

You are standing next to three switches. You know these switches belong to three bulbs in a room behind a closed door – the door is tight closed, and heavy which means that it's absolutely impossible to see if any bulb is on or not. All three switches are now in position off. You can do whatever you want with the switches and when you are finished you open the door and go into the room. While in there you have to tell which switch belongs to which bulb. How will you do that?
Turn on the first switch and wait for a while. Turn off the first one and turn on the second. Go into the room. One bulb is shining, the second bulb is hot and the third one nothing.
80.87 %
83 votes
logicmath

Can you arrange four 9's and use of at most 2 math symbols, make the total be 100?
99 / .99 or 99 + 9/9
80.86 %
43 votes
logicmathsimpleclean

The digits 0-9(0,1,2,3,4,5,6,7,8,9) can be rearranged into 3628800 distinct 10 digits numbers. How many of these numbers are prime?
None. The sum of numbers from 0-9(0,1,2,3,4,5,6,7,8,9) is 45 and therefore can be divisible by 3 and 9.
80.86 %
43 votes
logiccleansimple

Shadow drove into the Speedy Service Station and pulled up to the pumps. "Fill it up, please," said Shadow. " This may sound strange," said the owner, "but I'd rather fill two cars from out of town than one car from this town." Shadow looked across the small town and replied, "I know just what you mean." Why would the owner feel this way?
The owner would rather fill two cars from anywhere than one car from town because he would make twice the amount of money.
80.86 %
43 votes