A monotone subsequence is a subsequence that is either increasing or decreasing, which we define as follows:
- A sequence (S) is increasing if
whenever n>m. - A sequence (S) is decreasing if
whenever n>m.
Here, we can create a subsequence by taking every sixth term:
• When n = 6,
• When n = 12,
,
and so on, and every such element will have a value of 1. This is a monotone subsequence.