MartyMurray
Let \(p\) and \(q\) each represent a digit from \(0\) through \(9\) and let \(pq\) represent a \(2\)-digit positive prime number such that \(20 < pq < 99\). For example, if \(p = 2\) and \(q = 3\), then the \(2\)-digit prime number \(pq\) is \(23\). If the \(2\)-digit integer \(qp\) is \(27\) greater than \(pq\), what is the sum of the digits \(p\) and \(q\)?The value of \(2\)-digit number \(qp\) is \(10q + p\).
The value of \(2\)-digit number \(pq\) is \(10p + q\).
So, if \(qp - pq = 27\), then \((10q + p) - (10p + q) = 9q - 9p = 27\). Thus, \(q - p = 3\).
Since \(q\) must be \(3\) greater than \(p\), the only possibilities for \(pq > 20\) are \(25\), \(36\), \(47\), \(58\), and \(69\).
\(25\), \(36\), \(58\), and \(69\) are not prime. So, \(47\) is the only possible \(pq\). We can confirm that \(74 - 47 = 27\).
Thus the sum of \(p\) and \(q\) is \(4 + 7 = 11\).
Correct Answer I like this question! Got it wrong in my mock but found interesting way to solve it...
Since we know q = p +3, we can narrow down possible options of p & q based on the scope and question stem
p can be 2,3,4,5,6 (NOT 7,8,9 since it has to smaller than Q by 3)
q out of 5,6,7,8,9 CAN ONLY be 7 & 9 since it is UNIT's digit and prime..
Hence we can quickly make all possible combos and eliminate to find that ONLY 47 is where the difference is 3 between the digits and we can also double check by adding 27 to 47 to get 74 (swapped digits)
Hence 11