The denominator of a rational number is greater than its numerator by 7. If the numerator is increased by 17 and the denominator decreased by 6, the new number becomes 2. Find the original number.
Let the fraction be pq
So q=p+7
p+17q−6=2
⇒p+17p+7−6=2
⇒p+17p+1=2
⇒p+17=2p+2
⇒p=15
q=15+7=22
So pq=1522.