Showing posts with label Puzzle. Show all posts
Showing posts with label Puzzle. Show all posts

Sunday, 3 September 2017

Flower Temple Puzzle

In a small town, there are three temples in a row and a well in front of each temple. A pilgrim came to the town with certain number of flowers.

Before entering the first temple, he washed all the flowers he had with the water of well. To his surprise, flowers doubled. He offered few flowers to the God in the first temple and moved to the second temple. Here also, before entering the temple he washed the remaining flowers with the water of well. And again his flowers doubled. He offered few flowers to the God in second temple and moved to the third temple. Here also, his flowers doubled after washing them with water. He offered few flowers to the God in third temple.

There were no flowers left when pilgrim came out of third temple and he offered same number of flowers to the God in all three temples. What is the minimum number of flowers the pilgrim had initially? How many flower did he offer to each God? 


Suppose in the starting there were x no of flowers
x=no of flowers in the staring
y=no of flowers to each temple

First Temple

2x-y=z

Second temple
2z-y=a

Third Temple
2a=y


-------------------

a=y/2
2z-y=y/2
2z=3y/2
z=3y/4

2x-y=3y/4
x=7y/8

if y= 8
then x=7



Answer - from equation x=7y/8
min of x wlll 7 and further will multiply of 7





Saturday, 2 September 2017

Marble Puzzle

There are 25 marbles of equal weight and one that weighs a little more. Given a balance, how many weighings are required to deduce which is the heavier marble?
solve in 3 iterations.
Divide into three groups

1st
8,8,9

if 8 and 8 are equal

then take 9

divide into three group
3,3,3

if 3 and 3 equal
again divide into three group
1,1,1

again weigh if two are equal third will be heavier.

If 8 and 8 are not equal

then divide 8 into three group

2,2,3

then  2 or 2 are equal then divide 3 into three group
1,1,1
again weigh if two are equal third will be heavier.

if 2 and 2 are not equal

then divide 2 into two group

1,1

again weigh 2nd or 1st  will be heavier.

-----
25
8,8,9
3,3,2
1,1

25
8,8,9
3,3,2

1,1,1

or
25
8,8,9
3,3,3
1,1,1








Recent Post

how to control duplicate order