Option E and Option B are the correct answers.
Before we start answering lets understand the question first. SO basically the question tells us that "
A computer is randomly generating an integer n between 1 and 600, inclusive" and asks us to find the probability such that n(n+1) will be divisible by 5 and n(n-1) is divisible by 25.So from the above understand we can conclude that both n(n+1) and n(n-1) are consecutive integers.
Lets first solve for n(n+1) divisible by 5. So we know that in order for a number to be divisible by 5 it must end with 0 or 5. So lets check which all number satisfy this information.
Lets check with n = 1 first so it will be 1*(1+1) => 1*2, it will not be divisible by 5.
n = 2 so it will be 2*(2+1) => 2*3, it will not be divisible by 5.
n = 3 so it will be 3*(3+1) => 3*4, it will not be divisible by 5.
n = 4 so it will be 4*(4+1) => 4*5, it will be divisible by 5.
n = 5 so it will be 5*(5+1) => 5*6, it will be divisible by 5.
n = 6 so it will be 6*(6+1) => 6*7, it will not be divisible by 5.
n = 7 so it will be 7*(7+1) => 7*8, it will not be divisible by 5.
n = 8 so it will be 8*(8+1) => 8*9, it will not be divisible by 5.
n = 9 so it will be 10*(9+1) => 9*10, it will be divisible by 5.
n = 10 so it will be 10*(10+1) => 10*11, it will be divisible by 5.
So after check first 10 numbers we can see that 4 of them satisfy the conditions. Similarly from 11-20 another 4 numbers (14,15,19 and 20) will satisfy this condition and same for the rest of the cases till 590-600. So from here we can conclude that between the 10 numbers 4 of them will give us that value which will be divisible by 5. From here we can tell that total number of favorable cases will be 60*4 = 240.
So the probability that the value of n that will result in n(n+1) to be divisible by 5 will be = 240/600 =>
2/5 (Option E)In the same manner we can check for the value of n which will result in n(n-1) to be divisible by 25.
Lets try n = 1 first which will be 1*(1-1) => 1*0, which will be divisible by 25.
n = 2 so it will be 2*(2-1) => 2*1, which will not be divisible by 25.
n = 3 so it will be 3*(3-1) => 3*2, which will not be divisible by 25.
n = 4 so it will be 4*(4-1) => 4*3, which will not be divisible by 25.
n = 5 so it will be 5*(5-1) => 5*4, which will not be divisible by 25.
.
.
.
n = 25 which will be 25*(25-1) => 25*24, which will be divisible by 25.
n = 26 which will be 26*(26-1) => 26*25, which will be divisible by 25.
From here if we try the value we will find that 8 values between 1-100 will result in n(n-1) to be divisible by 25. And the same condition will also apply for the rest of the limits from 101-200 till 501-600. From here we can tell that total number of favorable cases will be 6*8 = 48.
So the probability that the value of n that will result in n(n-1) to be divisible by 25 will be = 48/600 =>
2/25 (Option B) Bunuel
A computer is randomly generating an integer n between 1 and 600, inclusive.Select for p the probability that n(n + 1) is divisible by 5, and select for q the probability that n(n − 1) is divisible by 25.