Loading web-font TeX/Math/Italic

Monday, December 19, 2022

2022/078) Given 2 positive nymber a and b with a > b. a-b conatenated with a+b is a 5 digit number c which is prime. find c

 Fir example if  = 5 aand a = 7 then a-b = 2 and a + b = 12. Concatenating we get 212,'


Solution:

because c is prine so a+b is odd so a-b ( as it is a+b -2b) is odd. as c is a 5 digit number a-b is 2 digit and a+ b is 3 digit, mallest a-b is 11 and a+b is odd staring from 101 putting the values we get a+b = 113 and a -b = 11 and hence c = 11113.

No comments: