Domanda di colloquio di Qualcomm

In a state machine, how would you show if an integer has three consecutive 1 bits?