There is a temple, whose premises have a garden and a pond. It has 4 idols, each of Ram, Shiv, Vishnu and Durga. The priest plucks x flowers from the garden and places them in the pond. The number of flowers doubles up, and he picks y flowers out of them and goes to offer it to Lord Ram. By the time he reaches to the pond, he finds the remaining flowers also have doubled up in the meantime, so he again picks up y from the pond and goes to Lord Shiv.This process is repeated till all the Gods have y flowers offered to them, such that in the end no flower is left in the pond. Find x and y.

Let initial flowers=x
dey get double up that is nw we get 2x
let y flowers be offered to GOD 1
remaining are 2x-y which doubled that is 4x-2y
again y flowers offered to GOD 2
remainin are 4x-3y which doubled again that is 8x-6y
again y flowers offered to GOD 3
remainin are 8x-7y which doubled again that is 16x-14y
again y flowers offered to GOD 4
remainin are 16x-15y

no flowers should b left after
therefore 16x-15y=0
–> x/y=15/16

so x=15 n y =16 atleast

15*2=30,16 offer to god1
14*2=28,16 offer to god2
12*2=24,16 offer to god3
8*2=16,16 offer to god4
0 left

Leave a comment