Qualcomm Interview Question

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