

Given that number of Rs. 2 coins are just greater than that of Rs. 5 coins.
Then number of Rs. 1 coins be x, Rs. 2 coins be y and Rs. 5 coins be (y - 1).
Total number of coins = 18
x + y + (y - 1) = 18
x + 2y = 19 . . . (i)
Total value = 54
x + 2y + 5(y - 1) = 54
x + 7y = 59 . . . (ii)
Solving (i) and (ii), we get:
x = 3, y = 8
Therefore, number of Rs. 1 coins = 3
