186 views

Consider a $3$ digit number

1.  All digit are distinct
2. Number is divisible by $7$
3. After reversing the digit number is also divisible by $7$.

How many such numbers are possible?

1. $4$
2. $5$
3. $6$
4. $7$
edited | 186 views
0
4 ??
0
0
@Srestha , All digits are distinct..
0
168,259 and reverse of it also count as 3 digit numbers
0
but how to get 168, 259?
+1
0
Thanks Mk bhai
0
i don't understand how people think like that :o
0
0
yeah i know
0
Actually there are 2 numbers

1x8, 2y9

and then their reverse

And now by brute force put some value in x and y and check they are divisible by 7 or not

Answer of stackoverflow some printing mistake is there

it will be 168, 259,952,861
0
yeah it should be 861 you're right

0

1
2