The entropies of topological Markov shifts and a related class of algebraic integers