KnackForge interview question

Number sequencing type question a?