How many 5 digit number can be formed out of digits 0,2,4,6,8 that is divisible by 8.  Select:
A) 26  B) 30  C) 38  D) 98  E) 85
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, first digit can be any of the remaining 2 digits and 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, first digit can be the one remaining digit(because zero cannot be the first digit)   Second digit can be zero   Therefore, 6×1 = 6 such numbers   Therefore, total count of 5 digit numbers = 24 + 6= 
<gadget id="calculator">24 + 6</gadget>
<output>30</output>
30   So, Ans is 30   ANSWER:30
<result>B</result>
How many 5 digit number can be formed out of digits 0,2,4,6,8 that is divisible by 8.