Question

In: Statistics and Probability

Let n be a random number between 1 and 100000 chosen with uniform probability. Compute a)...

Let n be a random number between 1 and 100000 chosen with uniform probability. Compute

a) The probability that n can be divided by 3

b) The probability that n can be divided by 6

c) The probability that n can be divided by 9

d) The probability that n can be divided by 9 given that in can be divided by 6

e) The probability that n can be divided by 6 given that in can be divided by 9

Solutions

Expert Solution

I am assuming that 1 and 100000 are included in range. So total numbers = 100000

a.)

First number divisible by 3 = 3

Last number divisible by 3 = 99999

common difference between any two numbers divisible by 3 = 3

So, an = a + (n-1)*d

99999 = 3 + (n-1) * 3

99996 = (n-1)*3

33332 = n - 1

n = 33333

So, Probability that n can be divided by 3 = 33333/100000 = 0.33333

b.)

First number divisible by 6 = 6

Last number divisible by 6 = 99996

common difference between any two numbers divisible by 6 = 6

So, an = a + (n-1)*d

99996 = 6 + (n-1) * 6

99990 = (n-1) * 6

16665 = n - 1

n = 16666

So, Probability that n can be divided by 6 = 16666/100000 = 0.16666

c.)

First number divisible by 9 = 9

Last number divisible by 9 = 99999

common difference between any two numbers divisible by 9 = 9

So, an = a + (n-1)*d

99999 = 9 + (n-1) * 9

99990 = (n-1) * 9

11110 = n - 1

n = 11111

So, Probability that n can be divided by 9 = 11111/100000 = 0.11111

d.)

Given that number is divisible by 6, so the series is:

6, 12, 18, 24, 30, 36, 42, 48, 54, ....... 99990, 99996

So from above series numbers which are divisible by 9 are:

18, 36, 54, 72, ..... 99990

Total numbers in above series:

99990 = 18 + (n-1)*18

99972 = (n-1)*18

n-1 = 5554

n = 5555

This is the case of conditional probabaility.

The formula is: P(9|6) = P(6 9) / P(6)

So, probability that n can be divided by 9 given that it can be divided by 6 = P(9|6) = (5555 / 100000) / (16666 / 100000)

P(9|6) = 5555 / 16666 = 0.3333


Related Solutions

A number between 1 and 10 is chosen at random . What is the probability of...
A number between 1 and 10 is chosen at random . What is the probability of getting a multiple of 5 or an even number?
a number is chosen at random from S={1,...,520}. what is th probability that it is divisible...
a number is chosen at random from S={1,...,520}. what is th probability that it is divisible by 5 or 7?
In the binomial probability distribution, let the number of trials be n = 4, and let...
In the binomial probability distribution, let the number of trials be n = 4, and let the probability of success be p = 0.3310. Use a calculator to compute the following. (a) The probability of three successes. (Round your answer to three decimal places.) (b) The probability of four successes. (Round your answer to three decimal places.) (c) The probability of three or four successes. (Round your answer to three decimal places.)
(a) If X is a uniform random variable with positive probability on the interval [0, n],...
(a) If X is a uniform random variable with positive probability on the interval [0, n], find the probability density function of eX (b) If X is a uniform random variable with positive probability on the interval [1, n], find E [1/X].
Let X1 and X2 be uniform on the consecutive integers -n, -(n+1), ... , n-1, n....
Let X1 and X2 be uniform on the consecutive integers -n, -(n+1), ... , n-1, n. Use convolution to find the mass function for X1 + X2.
A random number generator returns random floats between 0 and 1, according to a uniform distribution....
A random number generator returns random floats between 0 and 1, according to a uniform distribution. say you let the random number generator draw 100 numbers, the sample mean will be... A.impossible to determine, because the data aren't drawn from a normal distribution. B.normally distributed, with mean 0.5 and standard deviation 0.2887. C.uniformely distributed, between 0 and 1. D.normally distributed, with mean 0.5 and standard deviation 0.02887.
Let P be the uniform probability on the integers from 1 to 99. Let B be...
Let P be the uniform probability on the integers from 1 to 99. Let B be the subset of numbers which have the digit 3. Let A be the subset of even numbers. What is P(A), P(B)? What is P(A|B)? P(B|A)?
A number between 0 and 100,000 is chosen. What is the probability of choosing all the...
A number between 0 and 100,000 is chosen. What is the probability of choosing all the digits of the number greater than or equal to 4?
Let ? be the number of participants in a random meeting. The probability mass function of...
Let ? be the number of participants in a random meeting. The probability mass function of ? is given below. Assume that the meetings are independent. 0.5 for ? = 2 ?(?) = 0.2 for ? = 4 0.3 for ? = 8 a) Find the mean and variance of ?. b) What is the probability that the total number of participants in two meetings is exactly 10? c) What is the probability that the number of participants in one...
Let N be a binomial random variable with n = 2 trials and success probability p...
Let N be a binomial random variable with n = 2 trials and success probability p = 0.5. Let X and Y be uniform random variables on [0, 1] and that X, Y, N are mutually independent. Find the probability density function for Z = NXY . Hint: Find P(Z ≤ z) for z ∈ [0, 1] by conditioning on the value of N ∈ {0, 1, 2}.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT