document.write( "Question 401664: how many bit string of length eight either start with a 1 bit or end with the two bits 00 \n" ); document.write( "
Algebra.Com's Answer #284284 by Jk22(389)\"\" \"About 
You can put this solution on YOUR website!

\n" ); document.write( "
\n" ); document.write( "We add the possibilities : if it starts with bit 1, but does not stop with 00 in order not to count doubly, we get : 2^5 for bits 2,3,4,5,6, times 3 possibilities for bits 7,8 should not equal 00, hence 32*3
\n" ); document.write( "
\n" ); document.write( "these possibilities have to be added to all cases where the first bit is 0, and the 2 last 00, which makes bits 2,3,4,5,6 free, or 2^5=32
\n" ); document.write( " \r
\n" ); document.write( "\n" ); document.write( "the total number of possibilities are then : 32*4=64*2=128 possibilities.
\n" ); document.write( "
\n" );