Out of interest, why not use `return (n == 0 || n == 6);` ?