Combinatorics & Counting

Answer & solution
Official answer: 65
Fix the toughest job on the fastest computer and the easiest on the slowest. Each of the four remaining distinct jobs has 3 destination choices, giving 3⁴. Subtract assignments that leave the middle-speed computer empty: all four then go to the other two computers, giving 2⁴. Thus3⁴−2⁴=81−16=65.
The extreme jobs are fixed, leaving four labeled jobs, not four indistinguishable units. The fastest and slowest computers are already nonempty, so only the middle computer requires an inclusion-exclusion correction. For a second count, assign exactly k of the four remaining jobs to the middle computer: Σ_(k=1)4 binom(4,k)24−k=32+24+8+1=65.

