Given Strings of length of length six or less
Every bit has two values i.e., 0 or 1
six length = 2 x 2 x 2 x 2 x 2 x 2 = 64
Five length = 2 x 2 x 2 x 2 x 2 = 32
Four length = 2 x 2 x 2 x 2 = 16
Three length = 2 x 2 x 2 = 8
Two length = 2 x 2 = 4
one length = 2
∴ Bit strings of length six or less is 64 + 32 + 16 + 8 + 4 + 2 =126