I am not able to undersatnd the logic behind this

how we can tell there are only 8 bits in that number? here
sir has used this loop for(j=0; j<=7; j++) .how can we be so sure that there will be 8 bits

Because there are 8 primes less than 20.