Dejemos que $A = \{4~\text{digit integers}~X~\text{having no}~0~\text{such that}~X~\text{has exactly one}~1\}$ .
Dejemos que $B = \{4~\text{digit integers}~X~\text{having no}~0~\text{such that}~X~\text{has exactly one}~5\}$ .
Dejemos que $A+B = \{4~\text{digit integers}~X~\text{having no}~0\}$ .
Entonces $|C| = |A| + |B| - |A + B|$ .
El conjunto A tiene $4C1 \cdot 8 \cdot 8 \cdot 8 = 2048$ elementos.
El conjunto B tiene $4C1 \cdot 8 \cdot 8 \cdot 8 = 2048$ elementos.
Set $A+B$ tiene $8 \cdot 8 \cdot 8 \cdot 8 = 4096$ elementos.
Por lo tanto, $|A| + |B| - |A + B| = 2048 + 2048 - 4096 = 0$ .
Creo que mis pasos son correctos, pero dudo que haya obtenido la respuesta correcta.