Re:Predicting one of 2 characters you will randomly press
by justinpombrio on Friday July 15, 2016 @10:30AM
(#12101188)
They're called De Bruijn sequences[1], and there's an algorithm for constructing them. I'm not sure how easy it is to run in your head, though.
[1] https://en.wikipedia.org/wiki/De_Bruijn_sequence#Algorithm
Re:Predicting one of 2 characters you will randomly press
by WillKirkby on Friday July 15, 2016 @10:40AM
(#12101285)
probably relevant: https://en.wikipedia.org/wiki/De_Bruijn_sequence
edit: dangit, beaten to the punch.
For k=1: 01 repeating
For k=2: 0011 repeating
For k=3: 00010111 repeating