So you want to take 1073741824 unique binary numbers, remove any that have the same sequence 3 times in a row? Is that right? Or maybe you want binary numbers with 30 digits that don't have the same sequence 3 times in a row?

Please give an example of what you want.

-genius_at_work