cubicle_bound_misfit wrote:Well I am li'l stuck here.
thosand place can be 8 or 9
for case 8 unit place can be 1, 3,5, 7, 9
for any unit place (say 1) and thosand place ( say 8) the tenth place can be filled up in 8 ways
duplice 881,883,885,887,889,991,993,995,997,999
I am getting 5*2*8 -10 = 70 ?
whats wrong?
According to your calculation, 5*2*8, there are no 881, 883, 885, 887, and 889. More specifically,
for 8X1: 8 ways to fill the tenth place should be 0, 2, 3, 4, 5, 6, 7, 9
for 8X3: 8 ways to fill the tenth place should be 0, 1, 2, 4, 5, 6, 7, 9
for 8X5: 8 ways to fill the tenth place should be 0, 1, 2, 3, 4, 6, 7, 9
for 8X7: 8 ways to fill the tenth place should be 0, 1, 2, 3, 4, 5, 6, 9
for 8X9: 8 ways to fill the tenth place should be 0, 1, 2, 3, 4, 5, 6, 7.
Also, there are no 991, 993, 995, 997, 999. More specifically,
for 9X1: 8 ways to fill the tenth place should be 0, 2, 3, 4, 5, 6, 7, 8
for 9X3: 8 ways to fill the tenth place should be 0, 1, 2, 4, 5, 6, 7, 8
for 9X5: 8 ways to fill the tenth place should be 0, 1, 2, 3, 4, 6, 7, 8
for 9X7: 8 ways to fill the tenth place should be 0, 1, 2, 3, 4, 5, 6, 8.
However, for 9X9, this format is not desired.
So, in conclusion, there are totally 5*8 + 4*8 = 72 numbers. Hope this helps!