Boolean Algebra & Logic Gates

Answer & solution
Official answer: D
1. Set up the reasoning. Use the truth-table characterization F(x)=NOT F(NOT x). For n≥1, every input bit vector is paired with a different bitwise-complement vector.
2. Derive the result. By Boolean duality, self-duality means F(x)=¬F(¬x). The2n assignments partition into 2n−1 complementary pairs. Choosing either value on one member determines the opposite value on its partner independently, giving 2^(2n−1) functions, D.
3. Check the interpretation. There are 2n-1 pairs, not n pairs. Each pair permits two independent output assignments, 01 or 10; exponentiating two by the number of pairs gives the function count rather than the number of truth-table rows.