sâmbătă, 11 februarie 2017

Find a two digit number

Find number ab, where a is the tens' digit and b is the units’ digit, knowing that a4 + a= 5 · b.

Solution:

The problem requires us to find a two digit number ab, where a is the tens digit and b is the units’ digit.
Figures may have values ​​from 1 to 9 (for a=0 result 04 + 0= 5 · b => b=0, and the number ab=0 is not a two-digit number).
From a4 + a= 5 · b. We note that  5b is a multiple of 5.
a4 + a= a(a+1) must be multiple of 5.
a2   can’t be 5 (a is a natural number)
a+1 = 5; 
a2 = 5-1 = 4; 
a = 2
4*5 = 5 *b
b = 4 


Other case, for the next multiple of 5
a2 +1=10
a2=9
a=3

a2(a2+1) = 9*10 = 90 = 5*b =>b = 90/5 = 18 >9, impossible, b is a digit, b< 9
           
The only number ab that is solution to the problem is 24.

Niciun comentariu:

Trimiteți un comentariu