A two-digit number N is 'q' times the sum of its digits. The two-digit number formed by reversing the digits of N is 'p' times the sum of the digits.
Which of the following is equal to 'p'?
(11 - q)
Let the number be xy.
Therefore, 10x + y = q(x + y)
Or (10 - q)x = y(q - 1)
Or xy=q−110−q...(i)
If number xy is reversed, it is equal to 'p' times the sum of digits.
Then 10y + x = p(x + y)
Therefore, x(p - 1) = y(10 - p)
Or xy=10−pp−1...(ii)
Comparing, 10−pp−1=q−110−q
Solving, we get p = 11 - q.