Discrete Mathematics and Its Applications, Seventh Edition

Published by McGraw-Hill Education
ISBN 10: 0073383090
ISBN 13: 978-0-07338-309-5

Chapter 8 - Section 8.1 - Applications of Recurrence Relations - Exercises - Page 511: 24

Answer

$T_n = 2\times T_{n-1}$ , $T_1 = 1$

Work Step by Step

Let $T_n$ be the number of bit sequences of length $n$ with an even number of 0s. ∴ Number of bit sequences of length $n-1$ with an even number of 0s = $T_{n-1}$ Now a string with an even number of zeroes can start with either 0 or 1. Number of strings that start with 1 = $T_{n-1}$ (no. of strings with an even number of 0s of length $n-1$) Number of strings that start with 0 = $2^{n-1}-T_{n-1}$ (total number of strings of length $n-1$ minus those with even number of 0s) So, $T_n = T_{n-1}+(2^{n-1}-T_{n-1}) = 2^{n-1}$ And $T_{n-1} = 2^{(n-1)-1} = 2^{n-2}$ Therefore , $T_n = 2\times T_{n-1}$ Initial condition: $T_1 = 1$, as the only bit strings of size 1 are 0 & 1 of which the latter has even(0) number of zeroes.
Update this answer!

You can help us out by revising, improving and updating this answer.

Update this answer

After you claim an answer you’ll have 24 hours to send in a draft. An editor will review the submission and either publish your submission or provide feedback.