title: Counter with repeated states
body: <p>I'm quite familiar with making a counter in Verilog by defining states (the count) and transitioning between states.</p>
  
  <p>For example, making a counter that counts 0,1...,9 and back to 0.</p>
  
  <p>However, I'm not too sure how I would implement it if say the count went like 1,2,3,3,3,4,0 then back to 1.</p>
  
  <p>Could anyone give me some ideas on how I could implement this?</p>