Question

An integer is selected at random from the set {1,2,3...1000}. What is the probability that it...

An integer is selected at random from the set {1,2,3...1000}. What is the probability that it is divisible by 4,5,or 6?

Homework Answers

Answer #1

The sample space is

S={1,2,3,.....,998,999,1000}

n(S)=1000

Let A denotes number which are divisible by 4,5 or 6

A={4,5,6,8, 10 ,12 ,15 , 16,......,966 , 968 , 970, 972, 975, 976 ,978 , 980 , 984 , 985 , 988 , 990, 992 , 995, 996, 1000}

n(A)=466

The probability that it is divisible by 4,5,or 6 is

P(A)=n(A)/n(S)=466/1000=0.466

The probability that it is divisible by 4,5,or 6 is 0.466

The R-code is

x=1:1000

A=length(which(x%%4==0|x%%5==0|x%%6==0))

N=length(x)

A #Total number which are divisible by 4,5 or 6

[1] 466

N # Total number of observations

[1] 1000

#Now probability that the number from integer {1,2,...,1000} which is divisible by 4 or 5 or 6 is

A/N

[1] 0.466

Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
11. An integer is chosen uniformly at random from the range [1, 100000]. What is the...
11. An integer is chosen uniformly at random from the range [1, 100000]. What is the probability that the number is divisible by one or more of 4, 6, 9?
A number is randomly selected from the set of numbers that are less than 15. What...
A number is randomly selected from the set of numbers that are less than 15. What is the probability that the number chosen is divisible by 4 or less than 6?
Exercise 1.6. If 5 numbers are selected at random from the set{1,2,....,20}, what is the probability...
Exercise 1.6. If 5 numbers are selected at random from the set{1,2,....,20}, what is the probability that the smallest number is larger than 6? a) when 5 numbers are ordered? b) when 5 numbers are not ordered?
A. Choose an integer in [1, 100] at random. Compute the probability that it is divisible...
A. Choose an integer in [1, 100] at random. Compute the probability that it is divisible neither by 6 nor by 9 using the formula P(A ∪ B) = P(A) + P(B) − P(A ∩ B). B. when you sit 3 men and 4 women at random in a row. What is the probability that either all the men or all the women end up sitting together?
Answer the following: 1.      A number is drawn at random from the set {1,2,3...40}. find the probability...
Answer the following: 1.      A number is drawn at random from the set {1,2,3...40}. find the probability that the number chosen is: a)     A multiple of 2 and a multiple of 5; b)     Ad multiple of 2 or a multiple of 5; and a c)      A multiple of 3 but not a multiple of 5. 2.      A fair die is tossed three times. Find the probability of getting: a.      A three 4's b.     Three 5's c.      Three 4's or three 5's A.Find the area under the standard normal...
Two numbers are selected at random and with replacement from the set {1, 2, 3, 4,...
Two numbers are selected at random and with replacement from the set {1, 2, 3, 4, 5, 6}. What is the probability that the first one is equal to the second? What is the probability that the first one is greater than the second?
In one type of state lottery 5 distinct numbers are picked from 1,2,3,...,40 uniformly at random...
In one type of state lottery 5 distinct numbers are picked from 1,2,3,...,40 uniformly at random (order of the cards is irrelevant). What is the probability that out of the five picked numbers exactly three will be even?
Probability: you have 22 random people that were randomly selected from the world what is the...
Probability: you have 22 random people that were randomly selected from the world what is the probability that there's at least one person who is each zodiac sign (assuming all zodiac signs have an equal amount of people in the world. Also 26 random people also 17 random people
A cookie is selected at random from a basket containing 24 caramel cookies,14 peanut butter cookies,...
A cookie is selected at random from a basket containing 24 caramel cookies,14 peanut butter cookies, 10 mint cookies, and 32 sugar cookies. Find the probability that neither the sugar nor caramel will be selected. The probability is _____. (Type integer of decimal)
A. When a person is selected at random from a very large population, the probability that...
A. When a person is selected at random from a very large population, the probability that the selected person has brown eyes is 0.62. If 4 people are selected at random, find the following probabilities : 1. they all have brown eyes 2. none of them have brown eyes B. In a study of sandhill cranes, the distance traveled in one day is normally distributed, with a mean of 267 kilometers and a standard deviation of 86 km. Find the...