Explanation:
Step 1:
The variable N is to be selected at the random form which is {1,2,.....,1000}
the total number of way that 1000 divisible by 3 = 1000/3 = 333.3
Here the favorable case = 333 ways
The Exhaustive case = 1000 ways
Therefore, the probability that N can be divisible by 3 = 333/1000 = 0.333
Step 2:
The total number of way that 1000 divisible by 5 = 1000/5 = 200
Here the favorable case = 200 ways
Therefore, the probability that N can be divisible by 5 = 200/1000 = 0.2
Step 4:
The total number of ways that 1000 divisible by 7 = 1000/7 = 142.85 = 143
Here the favorable case = 143 ways
Step 5:
The total number of ways that 1000 divisible by 15 = 15/1000 = 66.6667 =67
Here the favorable case = 67 ways
Therefore, the probability that N can be divisible by 15 = 67/1000 = 0.067
Step 7:
Similarly, the probability of N can be divided by 105 = 9.5238/1000 = 0.0095
Last step:
than, Similarly N is selected from {1,2,.....(10)^k} where the variable k is larger than the probability that N can be:
Divisible by 3 = 10^k/3/10^k = 0.33
Divisible by 5 = 1/5 = 0.2
Divisible by 7 = 1/7 = 0.413
Divisible by 15 = 1/15 = 0.0666
Divisible by 105 = 1/105 = 0.0095