document.write( "Question 1195807: The number 35 has the property that when its digits are both increased by 2, and then multiplied, the result is 5 times 7=35, equal to the original number.
\n" ); document.write( "Find the sum of all two-digit number such that when you increase both digits by 2, and then multiply these numbers, the product is equal to the original number.
\n" ); document.write( "

Algebra.Com's Answer #828353 by greenestamps(13200)\"\" \"About 
You can put this solution on YOUR website!


\n" ); document.write( "Let x be the tens digit of the 2-digit number and y be the units digit.

\n" ); document.write( "Then the number itself is 10x+y.

\n" ); document.write( "Adding 2 to each digit and multiplying the two resulting numbers gives the expression (x+2)(y+2).

\n" ); document.write( "The conditions of the problem are that

\n" ); document.write( "\"%28x%2B2%29%28y%2B2%29=10x%2By\"

\n" ); document.write( "subject to the constraints that x and y are single-digit integers.

\n" ); document.write( "\"%28x%2B2%29%28y%2B2%29=10x%2By\"
\n" ); document.write( "\"xy%2B2x%2B2y%2B4=10x%2By\"

\n" ); document.write( "Gather all the terms in one variable on one side of the equation and all terms without that variable on the other, then simplify:

\n" ); document.write( "\"xy%2B2x-10x=y-2y-4\"
\n" ); document.write( "\"xy-8x=-y-4\"

\n" ); document.write( "Factor out the variable on the left and divide:

\n" ); document.write( "\"x%28y-8%29=-y-4\"
\n" ); document.write( "\"x=%28-y-4%29%2F%28y-8%29\"

\n" ); document.write( "Perform the division as quotient plus remainder. To do this, given a \"-y\" term in the numerator and \"y-8\" as the denominator, rewrite the numerator as a multiple of (y-8) plus a constant; then perform the division:

\n" ); document.write( "\"x=%28%28-y%2B8%29-12%29%2F%28y-8%29\"
\n" ); document.write( "\"x=%28-y%2B8%29%2F%28y-8%29-12%2F%28y-8%29\"
\n" ); document.write( "\"x=-1-12%2F%28y-8%29\"

\n" ); document.write( "In this form of the equation, -1 is an integer and x has to be an integer; that means \"-12%2F%28y-8%29\" must be an integer. Note also that, because x must be a positive integer, \"-12%2F%28y-8%29\" must be a positive integer greater than 1. That means y-8 must be negative and a factor of 12.

\n" ); document.write( "Try (y-8) equal to each negative number that is a factor of 12 to find solutions:

\n" ); document.write( "(1) y-8 = -12 --> y = -4 no; y must be positive
\n" ); document.write( "(2) y-8 = -6 --> y = 2; x = -1 + (-12/-6) = 1. The number is 12; (1+2)(2+2) = 3*4 = 12 YES
\n" ); document.write( "(3) y-8 = -4 --> y = 4; x = -1 + (-12/-4) = 2. The number is 24; (2+2)(4+2) = 4*6 = 24 YES
\n" ); document.write( "(4) y-8 = -3 --> y = 5; x = -1 + (-12/-3) = 3. The number is 35; (3+2)(5+2) = 5*7 = 35 YES
\n" ); document.write( "(5) y-8 = -2 --> y = 6; x = -1 + (-12/-2) = 5. The number is 56; (5+2)(6+2) = 7*8 = 56 YES
\n" ); document.write( "(6) y-8 = -1 --> y = 7; x = -1 + (-12/-1) = 10 no; x must be a single digit

\n" ); document.write( "We have four numbers that satisfy the conditions of the problem: 12, 24, 35, and 56.

\n" ); document.write( "ANSWER: 12+24+35+56 = 127
\r
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );