235k views
5 votes
An integer n between 1 and 99, inclusive, is to be chosen at random. what is the probability that n(n + 1) will be divisible by 3 ?

User Gautam M
by
5.5k points

2 Answers

2 votes

Answer:

Explanation:

89

User CJ Hanson
by
4.8k points
3 votes

You want to multiply two consecutive numbers, and see when you get a multiple of three.

Since two consecutive numbers share no divisors (except 1), either n or n+1 must be a multiple of 3.

So, your experiments succeeds if n is itself a muliple of three, or if lies immediately before one. So, 2 numbers out of 3 are ok.

Let me try to visualize the situation: I'll list some integers. Below, I'll write if they are multiple of three (M) or not (N). Above, I will write if they will cause the experiment to succeed (S), i.e. n(n+1) will be dibisible by 3, or to fail (F), i.e. n(n+1) will not be a multiple of three. We have


\left.\begin{array}{cccccccccccc}F&S&S&F&S&S&F&S&S&F&S&S\\1&2&3&4&5&6&7&8&9&10&11&12\\N&N&M&N&N&M&N&N&M&N&N&M\end{array}\right.

So, since there are exactly 99 numbers between 1 and 99, and 2/3 of the numbers work, the probability that you will choose a number n such that n(n+1) is divisible by 3 is 2/3.

User Jon Driscoll
by
5.5k points
Welcome to QAmmunity.org, where you can ask questions and receive answers from other members of our community.