2
$\begingroup$

So my professor gave us an HW assignment which includes this question:

"How many bit strings consist of 1 through 5 bits. (Note 10 and 00010 are considered distinct even though they are both representations for 2)"

My answer is 62. Is this correct? Thanks

1 Answers 1