A solution to the Knight Sequence brainteaser