why the solution say for this problem that you need the step to be either divisible by 6 or leave the remainder of 1 or 3 in order for it to be valid step. Also, one more thing from observation if we check if the number divisible by 3 or a-1%3 should also work or am i missing something on the approach