Consider the problem of counting the number of sequences of 8 digits where no digit occurs exactly 3 times.


(a) Solve this problem by the method of inclusion and exclusion.
(b) Solve this same problem by the method of exponential generating functions.

I am having trouble getting started, could someone help me with part (a) at least?