Solution:
(a) Let P1 be the number of those who passed before the increase and P2 the number of those who passed after the increase in score. From the information we have we can write:
66N=71P1+56(N−P1),71N=75P2+59(N−P2)
From the first relation, carrying out the computations, we obtain 10N=15P1 or 2N=3P1, from which, since N and P1 are integers, we can conclude that N is a multiple of 3. Similarly, from the second relation we have 12N=16P2 or 3N=4P2, and hence N is a multiple of 4. In conclusion, N must be a multiple of 3 and of 4, that is of 12, and can therefore be 12, 24 or 36. These three cases are indeed possible. Let us look for an example for N=12, trying to have grades as equal as possible. If 8 people, that is those who passed right from the start, have a grade before the increase of 71, one has taken 62 and the remaining three 54, we have verified all the hypotheses of the problem. The cases N=24 and N=36 are analogous, respectively doubling and tripling the people in each score band.
(b) No N can satisfy the hypotheses of this point. Indeed, let Mp be the average - before the increase - of those who were NOT passing before the increase but who would become so after. Then we would have:
76P1+(Mp+5)(P2−P1)=79P2
But Mp<65, hence Mp+5<70<76, from which
79P2=76P1+(Mp+5)(P2−P1)<76P1+76(P2−P1)=76P2<79P2
absurd.