Let the 3 distinct computers be:
C1: fastest computer
C2: medium-speed computer
C3: slowest computer
Let the 6 distinct jobs ordered by difficulty be J1,J2,J3,J4,J5,J6, where J1 is the toughest and J6 is the easiest.
Fixed Assignments:
J1 must be assigned to C1.
J6 must be assigned to C3.
Because of this, both C1 and C3 already have at least one job.
Remaining Jobs:
There are 4 remaining jobs: {J2,J3,J4,J5}.
Each of these 4 jobs can be independently assigned to any of the 3 computers (C1,C2,C3).
Total unrestricted assignments for the 4 jobs = 34=81.
Condition that every computer gets at least one job:
Since C1 and C3 already have at least one job, we only need to ensure that C2 gets at least one job.
The invalid cases are those where C2 gets 0 jobs (i.e., all 4 jobs are assigned only to C1 or C3).
Number of such invalid assignments = 24=16.
Total Valid Assignments:
Number of ways=34−24=81−16=65