Solution

ID: past-exam-of-the-probability-statistics-and-options-ii-course-of-the-university-of-oxford/2009/c/c2/iv/solution

For the displayed multiples are , already least positive residue classes. Those greater than correspond to . Thus their number is . For , its parity is respectively even, odd, odd, even. Gauss's lemma therefore gives

New to topics? Read the docs here!