3. A five-digit number consists of only the three different digits $1, 3, 5$. Then the number of such five-digit numbers is $\qquad$.


3.150.

Considering overall, there are
$$
3^{5}-C_{3}^{2}\left(2^{5}-2\right)-3=150 \text { (cases). }
$$