View Single Post
  #1 (permalink)  
Old 05-14-2008, 04:16 PM
gofer gofer is offline
Newbie
 
Join Date: May 2008
Posts: 3
Rep Power: 0
gofer is on a distinguished road
Default Generating all sequences of 1s and 0s of length 30

I'm trying to generate all possible sequences of 1s and 0s of length 30 where no subsequence is repeated 3 consecutive times (without subsequences like 000 or 101010 or 100100100). I'm not sure how I should approach the problem and when I asked my "mentor" about it he gave me some really vague answers (mostly repeating the phrase "There are different ways to do it").

So any help will be greatly appreciated. Thanks in advance
Reply With Quote

Sponsored Links