SOLUTION
C

We easily find successive numbers: $2,0,2,3,1,4,0,2,3,1,4,0,2,3,1,4, \ldots$.
We note that, after the first term, the sequence consists of a cycle of 5 numbers $(0,2,3,1,4)$ that then repeats.

The number we seek is the 2023rd term in the original sequence which is the 2022nd number in the repetition of the cycle. This will be the same as the second number in the cycle, namely 2 .
17. Ireena is extending a sequence of numbers with the following rule. The next term in the sequence is the smallest non-negative integer that is different from each of the four preceding terms. She then repeats this process over and over again. For instance, if Ireena was to start with the sequence $7,3,1,8$ then the fifth and sixth terms of the sequence would be 0 and 2 respectively.
Ireena starts with the sequence
$$
2,0,2,3 \text {. }
$$

What is the 2023 rd number in this sequence?
A 0
B 1
C 2
D 3
E 4