Twenty-one more than three times a number is equal to the difference between 46 and twice the number. Find the number.

Let the number be $x$. We have the equation $21 + 3x = 46 - 2x$. Adding $2x$ and subtracting 21 from both sides gives $5x = 25$, so $x = \boxed{5}$.