Five trits in a byte
You will learn
How 3^5 = 243 fits under 2^8 = 256, and what the 13 spare codes mean.
Five trits have 243 combinations and a byte has 256, so five trits fit one byte with 13 codes to spare. The spec packs them as a number in base 3, each trit plus one, and unpacks with division. That uses 99.06% of the byte's information against 79.25% for two bits per trit. Bytes from 243 up are not codes at all.