Once you attempt the question then PrepInsta explanation will be displayed.

For a number to be divisible by 8, its last three digits

must divisible by 8.

So, last three digits can be from the following group

(024), (048), (064), (208), (240), (248), (264), (280),

(408), (480), (608), (624), (640), (648), (680), (824), (840), (864),

There are 18 such groups.

Consider these 12 groups in which zero is there

(024), (048), (064), (208), (240), (280), (408), (480),

(608), (640), (680), (840)

With each of these 12 groups, the first digit can be any of

the remaining 2 digits and the second digit can be the

remaining one digit

Therefore, 12×2 = 24 such numbers

Consider the 6 groups in which zero does not come

(248), (264), (624), (648), (824), (864),

With each of these 6 groups, the first digit can be the one

remaining digit(because zero cannot be the first digit)

The second digit can be zero

Therefore, 6×1 = 6 such numbers

Therefore, total count of 5 digit numbers = 24 + 6 = 30

So, Ans is 30

Login/Signup to comment