Quote:
Originally Posted by abhay15783
Nopes the answer is 20
|
oops i got excited and forgot about sum as 18 and 27
see. first check for numbers having sum of digits = 9
0 + 9 = 9000 and 3330
3+6 = 3222 and 2223, 6111 and 1116
Now for 18:
0 + 18 = 6660
3+ 15 = 3555 & 5553
6+12 = 6444 and 4446
9 + 9 = 3339 and 9333
now for 27 =
8883, 3888, 7776, 6777, 9990,9666,6669.
hence equal to 20. check for a + b =9 or 18 or 27 where a or b is divisible by 3