Total number of all possible solutionsTotal number of all solutions
You can choose 100 numbers so
n100 .
There are 50 numbers that are divisible by 2 in the set { 1, 2, 3, ..., 100 }.
In the set { 1, 2, 3, ..., 100 } there are 12 numbers divisible by 8.
Every multiple of 8 is divisible by 2, so (50 - 12 =) 38 possible solutions. (n = 38)
38100=1950=0.38=38%
.