The logic circuit has 3 inputs x2, x1, x0, where x2 is the most significant bit and x0 is the least significant one. The output is 1 if the decimal equivalent of the input (x2,x1,x0) is 1, 4, 5, or 6. For other inputs the output is zero.
I need to Simplify the output expression
I tried making a truth table for it, I get:
x1'(x1'x0+x2x0')+x2(x1'x0+x1x0')
[Here 'x1 means not]
at the end all I get is:
x1'(x2'*x0+x2*x0')+x2(x1'*x0+x1*x0')
How can I simplify it beyond XOR expression?
**EDIT:** Thanks to everyone! I got the answer, I didn't do the Boolean Algebra properly. Another way to get the answer is to simply make a K-Map make sure to use GreyCode and not BCD. The answer is option **b**