Ratio of value of the coins 5/1 : 6/2 : 7/4 = 20:12:7
Value of 1 rupee coins = Rs.(780*20/39) = Rs.400
Value of 50-paise coins = Rs.(780*12/39) = Rs.240
Value of 20-paise coins = Rs.(780*7/39) = Rs.140
Therefore
Number of 1 Rupee coins = 400
Number of 50-paise coins = 240*2 = 480
Number of 25-paise coins = 140*4 = 560