Pergunta de entrevista da empresa Qualcomm

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