I'm trying to design an asynchronous counter with JK flip- flops, with an arbitrary sequence.
The sequence is: 0,1,10,11,0,5,14,15.
I know how to solve this kind of problems, but in this case the sequence repeats one number, 0.
I want to solve this like this guy: https://www.youtube.com/watch?v=Zce6NlHuvfs
But I don't how to manage the problem of the repetition of one number in the sequence.
Thanks in advance.