Solve the following problem
The function f(x1, x2, x3) is given by the set of decimal indices of 1-minterms f(1) = {0, 3, 4, 5, 6}. Realize f by an (8 × 1) decoder and an AND circuit and the same decoder and a NAND circuit.
Compare these realizations in the number of required nodes of the decoder.