Is it possible to manipulate a random stream?

18 Views Asked by At

I got two random streams of binary data $A$ and $B$.

During each step, I can choose to pull a byte from stream $A$ or stream $B$.
My goal is to reduce the chances of pulling a pattern* $P$.

Is there a way to do some "smart game" where you choose to pull from $A$ or from $B$ based on some logic to reduce the chances of pulling the pattern $P$ in comparison to pulling only from one of the streams?


  • a pattern is a consecutive sequence of bytes