23. Using the digits $1,2,3,4$ (digits can be repeated), how many $n(n \geqslant 2)$-digit numbers can be formed that contain an odd number of 1s, an even number of 2s, and at least one 3?
23. $\frac{4^{n}-3^{n}+(-1)^{n}}{4}$.