A two-digit number has the property that the square of its tens digit plus ten times its units digit equals the square of its units digit plus ten times its tens digit. Determine all two-digit numbers which have this property, and are prime numbers.
A two-digit number has the property that the square of its tens digit plus ten times its units digit equals the square of its units digit plus ten times its tens digit. Determine all two-digit numbers which have this property, and are prime numbers.
let the number be 10a+b where a and b are single digit integers and a is not 0
the square of its tens digit (a^2) plus ten times its units digit (10b) equals the square of its units digit (b^2) plus ten times its tens digit (10a)
\(a^2+10b=b^2+10a\\ a^2-10a=b^2-10b\)
If you cannot see the the answer off hand then try looking at a= 1 up to a =9 one by one and see if you can find a b value that will work.