Waiting time representation of discrete distributions