How to solve the N-bit parity problem with two hidden units

We construct a three-layer feedforward network (one hidden layer) which can solve the N-bit parity problem employing just two hidden units. We discuss the implications of employing problem constraints into transfer functions for general pattern classification problems.