Maths Olympiad Prep

Track / Stage 4 / 132 of 340 #392 of 1964

Problem 392

AMC 12 late, AIME early
Combinatorics Difficulty 4.8 Multiple choice

Let A={a,b,c,d},B={1,2,3}A=\{a, b, c, d\}, B=\{1,2,3\}. If the mapping f:ABf: A \rightarrow B, such that
f(a)+f(b)+f(c)+f(d)=8, f(a)+f(b)+f(c)+f(d)=8,

then the number of such mappings is:

Pick one

Next problem →

Official solution

4.C.

Consider the number of integer solutions to x1+x2+x3+x4=8(1xi3,i=1,2,3x_{1}+x_{2}+x_{3}+x_{4}=8\left(1 \leqslant x_{i} \leqslant 3, i=1,2,3\right., 4)4), which is equivalent to the number of integer solutions to y1+y2+y3+y4=4(0yi2y_{1}+y_{2}+y_{3}+y_{4}=4\left(0 \leqslant y_{i} \leqslant 2\right., i=1,2,3,4)i=1,2,3,4). It equals C734C43=19\mathrm{C}_{7}^{3}-4 \mathrm{C}_{4}^{3}=19.

Source: NuminaMath-1.5, licensed Apache-2.0. Statement reproduced verbatim; metadata (topic, difficulty, ordering) added by this project.