Discrete Mathematics and Its Applications, Seventh Edition

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

Chapter 6 - Section 6.1 - The Basics of Counting - Exercises - Page 396: 13

Answer

$n$

Work Step by Step

Each of the strings, 1(length 1), 11(length 2), 111(length 3), 1111(length 4), ... , 111...111(length n) have a length "not exceeding n" and consist entirely of 1s. In fact, these are the only strings which satisfy both of these conditions. Therefore the number of strings of length "not exceeding n" and consist entirely of 1s = n Note that if we count the empty string the answer will be $n+1$ but we have been asked to not count it in the question
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.