Integer-parameter estimation in discrete distributions