In the 1 to 2000 random integer, ask the probability that the integer can not be divided by 6 or 8

In the 1 to 2000 random integer, ask the probability that the integer can not be divided by 6 or 8

`Using int [A / b] to represent the integral part of a / b quotient
A common property that can be divisible by 6 or 8 from 1 to 2000
Int [2000 / 6] + int [2000 / 8] - int [2000 / 24] = 333 + 250-83 = 500
In 1 to 2000, the probability that a random integer cannot be divided by 6 or 8 is 0
1-500/2000=1-1/4=3/4