Hello dear Problem-Solver,

i solved the Problem BINXOR for small values but still have Problems with larger values.

My Formula for finding the possibilities for one set of bits is:

ElementCount! / CurrentSetBitOnes! * CurrentSetBitZeros!

This Formula works. But:

ElementCount! % mod / (CurrentSetBitOnes! * CurrentSetBitZeros!) % mod

doesn t work.

How do i have to Change the Formula to get correct answers with using mod ?