Ones, twos and threes

Each digit of a positive integer is 1, 2 or 3, and each of these occurs at least twice. What is the smallest such integer that is not divisible by 2 or 3?
Exploring and noticing Working systematically Conjecturing and generalising Visualising and representing Reasoning, convincing and proving
Being curious Being resourceful Being resilient Being collaborative

Problem



Each digit of a positive integer is $1$, $2$ or $3$. Each of these digits occurs at least twice in the number.

What is the smallest such integer that is not divisible by $2$ or $3$?

If you liked this problem, here is an NRICH task that challenges you to use similar mathematical ideas.