Dirichlet Polynomials and Entropy