Hacker News new | ask | show | jobs
by CJefferson 470 days ago
If the code is either 0000 or 0001, then entering 00001 will open the door, as you just need the four digits in order.

That shows how you can do a shorter sequence by using overlaps.