The number of functions from onto such that is a multiple of 3, whenever is a multiple of 4 is:
- Option A:
- Option B:
- Option C:
- Option D:
Solution
Core idea. On a finite set, onto and one-one mean the same thing for a function to the same set.
Concept refresher. The number of one-one functions from a set of elements into a set of elements, , is
Picture the situation. A function from a set of 20 elements onto the same set is a bijection. The multiples of 4 in the set are 4, 8, 12, 16 and 20, five numbers. The multiples of 3 are 3, 6, 9, 12, 15 and 18, six numbers. The five restricted inputs need five different images among these six.
Approach. Arrange the images of the restricted inputs, then the images of the rest.
Step 1: The restricted inputs
The five multiples of 4 take different images among the six multiples of 3 in ways, which is .
Step 2: The rest
The other 15 inputs take the 15 values left over in ways, so the number of functions is .
Answer. (C)
Sanity check. One multiple of 3 is left unused by the restricted inputs, and it is taken by one of the other 15 inputs, as onto requires.
Why the other options are wrong
- (A) The factor would let two multiples of 4 share an image, which a bijection does not allow.
- (B) The factor is too small: the other 15 inputs can be arranged in ways, not .
- (D) The count does not correspond to choosing different images for the inputs.
Key takeaway
The trap. Restricted inputs must still receive different images.
How toppers think. They note that an arrangement of 5 out of 6 equals the factorial of 6.
Remember.