Let the original number of persons be x.
Given total amount =Rs. 9000
Each person share =Rs. 9000x
And there were 20 more persons be added among them, so the each person shares reduce to 160 to the original share.
⇒9000x−160=9000x+20
⇒9000−160xx=9000x+20
⇒(9000−160x)(x+20)=9000x
⇒90000x−160x2+180000−3200x=9000x
⇒160x2+3200x−180000=0
⇒x2+20x−1125=0
⇒x2+20x−1125+100=100
⇒x2+20x+(10)2=1225
⇒(x+10)2=1225
⇒(x+10)=±35
⇒x+10=35 or x+10=−35
⇒x=25 or x=−25 is not possible.
Thus, the original number of persons is 25.