Data Stream as Disjoint Intervals
Count the valid unlock patterns on a 3 by 3 keypad that use between a minimum and maximum number of dots, with a rule about jumping over unvisited middle dots. The visual traces paths across the keypad and shows which jumps are blocked.