Part 1: Find p, the probability that
n(n+1) is divisible by 5.
We are looking for values of n such that:
Either n is divisible by 5 or (n+1) is divisible by 5
Case 1: n divisible by 5
Numbers are:
5, 10, 15, ..., 600
This is an arithmetic sequence:
First term = 5,Last term = 600,Common difference = 5
Total terms = (600−5)/5 +1= 120
Case 2: (n+1) divisible by 5
Then n = 4, 9, 14, ..., 599
This is also an arithmetic sequence:
First = 4,Last = 599,Common difference = 5
Total terms =(599−4)/5 + 1=120
There is no overlap of both sequence
Total values of n = 120+ 120
= 240(favorable outcomes)
p= 240/600 =
2/5Part 2: Find q, the probability that
n(n−1) is divisible by 25
We are looking for values of n such that:
Either n is divisible by 25 or (n−1)is divisible by 25
Case 1: n divisible by 25
Numbers: 25, 50, 75, ..., 600
First = 25,Last = 600,Difference = 25
Total terms =(600−25)/25 + 1 = 24
Case 2: (n−1) divisible by 25
Then n = 1, 26, 51, ..., 576
First = 1, Last =576, Difference=25
Total terms = (576−1)/25 +1 =24
Since both the sequence are mutually exclusive
Total favorable outcomes= 24 +24= 48
q=48/600 =
2/25