How do you find a pattern?