KnackForge Interview Question

Number sequencing type question a?