GATE Computer ScienceVery hardGATE CS

Two Boolean functions of three variables are NPN-equivalent if one becomes the other by permuting inputs, complementing some inputs and possibly complementing the output. How many NPN equivalence classes do the 256 Boolean functions of three variables have?

  1. A. 14
  2. B. 22
  3. C. 80
  4. D. 10

Correct answer: A. 14

Enumerating all 256 functions under the 6 permutations × 8 input negations × 2 output negations (96 transformations) gives 14 orbits. The counts 80 and 22 are the class counts when only permutation, or permutation with input negation, is allowed.

More Digital Logic questions

Exams that ask this topic