Madhav started playing a card game. In the first round, he doubled his amount and he gave away p rupees to his friend. In the second round, he tripled and amount left with him after the first round and gave away 2p rupees to his friend. In the third round, he quadrupled the amount left with him after the second round and gave away p rupees to his friend and was finally left with no money. If he gave away a total of Rs.160 to his friend, then what was the amount that he started with?
Started | gained | Given to friend | Lett over |
x | 2x | P | 2x−p |
2x−p | 3(2x−p)=6x−3p | 2p | 6x−5p |
6x−5p | 4(6x−5p)=24x−20p | P4P | 24x−21p=0 |