How do they know that?
Explanations that go beyond "They used math"; and that are written in recognisable English are favoured here :)
Bear in mind that the sequence might start at any point and could be very long.
In reply to Challenge: Detecting sequences. by BrowserUk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |