Let her pocket money be Rs. x.
From this money, she takes Rs.1 on day 1, Rs. 2 on day 2, Rs.3 on day 3 and so on until the end of the month.
1 + 2 + 3 + 4 + ….. + 31
Which form an AP in which, number of terms is 31, first term (a) = 1 and common difference (d) = 2 – 1 = 1
Sum of n terms Sn=n2[2a+(n−1)d]
S31=312[2×1+(31−1)×1]
=312(2+30)=31×322
=31×16=496
So, Kanika takes Rs. 496 till the end of the month from x.
Also, she spent Rs. 204 of her pocket money and found that at the end of the month she still has Rs. 100 with her.
Now, according the condition,
(x - 496) - 204 = 100
⇒ x - 700 = 100
∴ x = Rs. 800
Hence, Rs. 800 was her pocket money for the month.