Periodic pattern detection in sparse boolean sequences.

Periodic pattern detection in sparse boolean sequences.