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.2 - The Pigeonhole Principle - Exercises - Page 406: 20

Answer

Increasing : {5,710,15,21} Decreasing : {22,5,2}

Work Step by Step

Given sequence is {22, 5, 7, 2, 23, 10, 15, 21, 3, 17.} We want to find increasing and decreasing sequence of maximum length. Increasing sequence of maximal length is {5,710,15,21}. For decreasing sequence of maximal length many answers are possible. {22,5,2}, {22,5,3},{22,7,2},{22,10,3}, {22,15,3}, {23,10,3}, {23,15,3}, {23,21,3},{23,21,17}
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.