SOLUTION: Find all 2-digit positive integers in which the difference between the integer and the product of its two digits is 12.

Algebra.Com
Question 1090826: Find all 2-digit positive integers in which the difference between the integer and the product of its two digits is 12.
Answer by greenestamps(13203)   (Show Source): You can put this solution on YOUR website!

If the tens digit is t and the units digit is u, then the integer itself is 10t+u, and the product of the digits is tu. If the difference between the integer itself and the product of its digits is 12, then we need to solve the equation


So we have a single equation with two unknowns, both of which have to be single digit integers.

This is a Diophantine equation. A general procedure for solving this kind of equation is to solve it for one variable in terms of the other, and then use the requirement that the solutions have to be integers (in this example, single digit positive integers) to find the solutions.






We could use this equation for t to try to find values of u that give a valid value for t. But it is easier to do this if we "perform the division" on the right to get an integer plus a remainder:




Now we can see that the fraction on the right has to have an integer value; that means (10-u) has to be a factor of 2. So 10-u is either 1 or 2, which means u is either 9 or 8.

u = 9 --> t = 1+2/1 = 1+2 = 3 --> the integer is 39
u = 8 --> t = 1+2/2 = 1+1 = 2 --> the integer is 28

An easy check shows that these answers do indeed satisfy the requirements of the problem:
28-2*8 = 28-16 = 12
39-3*9 = 39-27 = 12

RELATED QUESTIONS

Consider any positive three-digit integer that has all of its digits distinct and none... (answered by ankor@dixie-net.com)
difference of two positive integer is 5 and their product is 204.find the integers (answered by ReadingBoosters)
Please help me solve this problem. Find all the two-digit whole numbers (greater... (answered by ankor@dixie-net.com)
a two digit number contain the smaller of the two digit in the unit place the product of... (answered by ikleyn)
What is the sum of all 3-digit positive integers for which the multiplication of the sum... (answered by greenestamps)
The sum of two digits of two digits number is 14.THe difference between the first and the (answered by josgarithmetic)
1. Find two positive integers such that one is three times the other and their product is (answered by ankor@dixie-net.com)
In a two digit number, the ten's digit is bigger. The product of the digits is 27 and the (answered by richwmiller)
Let X be a four-digit positive integer such that the unit digit of X is prime and the... (answered by Edwin McCravy)