@vijay_chandola said:Let N be a 4 digit number in base 5. A converts it into decimal and finds that it is divisible by 7. M on the other hand assumes it to be a decimal number and observes that it is also divisible by 7. How many such N exist?
Let abcd is four digit number in base 5
So a,b,c,d are less than 5
d+5c+25b+125a=7k
5(c+5b+25a)=7k-d
c+5b+25a=(7k-d)/5
c+5b+25a=25,30,35,40,45,50,55,60,65,70,75,80,85,90,95,100,105,110,115,120
d value is greater than 5 for 8 cases
Total cases are 20-8=12 cases
Numbers are(1001),(1104),(1200),(1203),(2201),(2304),(2400),(3003),(3401),(4004),(4100),(4203)
. Solve it using equations rather than putting values :), no fun in laziness š