Sequential Counter

I'm currently stuck in a question, I'm supposed to make a counter that starts on 3 and goes into the sequence 3-5-8-9-11-13-15
The problem isn't the question itself, but how I make this?
I mean If they gave me another question where the sequence is 1-2-3-2/0-3(supposing that if you hit the reset button, then the counter would go from 0 to 3 then 3-2-3-2...) or even another sequence, how I would make it?