convert integers to their shortest binary digit sequences