IBM interview question

Find the pattern.