Set ,

Pascaltriangle mod

So when is odd?

Criterion for you parity of
is odd <=> binaryform of
dominates binaryform of .