Let the price of a pen be 'x' and that of pencil be 'y' Then 87x + 29y = 783Multiplying eqn (i) by 30/29 we get (87x) x 30/29 + (29y) 30/29 = 783 x 30/29∴ 90x + 30y = 810
Let the middle digit be x. Then, 2x = 10 or x = 5.So, the number is either 253 or 352. Since the number increases on reversing the digits, so the hundred's digit is smaller than the unit's digit. Hence, required number = 253.