Convert the number of hosts to binary