de Bruijn sequence, security, and the surprising reason your phone requires pressing enter on the lock screen

de Bruijn sequences (also known as Ouroborean rings in Professor Stewart’s Cabinet of Mathematical Curiosities, p. 44) are an interesting topic that have a surprising connection to moving across a square, and the security of most phone unlock screens. These sequences make a compact listing of all the possible values, in a repeating (cyclical) string of values.

Continue reading “de Bruijn sequence, security, and the surprising reason your phone requires pressing enter on the lock screen”