How random can you be?
Given the implementation, an interesting way to cheat is to use de Bruijn sequences [1].  B(2,5) is 00000100011001010011101011011111, so using this sequence means that you will cycle through all possible 5-grams, and thus make lots of money.Ah, should have read more carefully -- it's using 5-grams as the base, not as the model, so really it's 6-grams, so we need B(2,6). We can try 0000001000011000101000111001001011001101001111010101110110111111[1] https://en.wikipedia.org/wiki/De_Bruijn_sequence