ghong14 Wrote:If an integer n is to be chosen at random from the integers 1 to 96, inclusive, what is the probability that n(n + 1)(n + 2) will be divisible by 8?
A. 1/4
B. 3/8
C. 1/2
D. 5/8
E. 3/4
No sure how to really start with this. I know that for the denominator there has to be 96 possibilities and I can find all of the multiples of 8 between 8 and 92 but then how do I account for the odd numbers that can add up to a multiple of 8 as well. Thanks.
My first thought is to start writing out some possibilities and see what happens. Let's also keep in mind that all we need are three prime factors of 2 for the product to be divisible by 8. Let's try some various n's:
n=1 1 * 2 * 3 NO (not divisible by 8, because I don't have three prime factors of 2)
n=2 2 * 3 * 4 = YES
n=3 3 * 4 * 5= NO
n=4 4 * 5 * 6 = YES
n=5 5 * 6 * 7 = NO
n=6 6 * 7 * 8 = YES
n=7 7 * 8 * 9 = YES
n=8 YES (this one is obvious)
n=9 9 * 10 * 11 NO
n=10 10 * 11 * 12 YES
Okay, I think that we're seeing some things here:
1) every even n will create a product divisible by 8. Between the n and the n+2, we will have two even numbers, one of which will be divisible by 4. Thus, the two numbers are bringing at least three prime factors of 2.
Thus, every even n will work. Out of 96 numbers, 48 are even.
2) The only time an odd n is going to work is if n+1 is itself divisible by 8. Thus, the n's that work are:
n=7, 15, 23, 31, 39, 47, 55, 63, 71, 79, 87, 95
I count them out and see that 12 work.
I then add 48 + 12 = 60. 60/96 n's will create a product divisible by 8, or 5/8.