my text book says
"An element with N stable states conveys log2N bits of information"
i don't understand it since i expect if we have n stable states we would have n/2 bits since one of them is the bit it self and the other one is it's complement .
why the textbook takes lg of n ?
PS. i think flip flop is the closest tag (in existing tags) for my question