MathDB
2009 Combinatorics #10 - Rearrangement of First n Integers

Source:

January 7, 2012

Problem Statement

Given a rearrangement of the numbers from 11 to nn, each pair of consecutive elements aa and bb of the sequence can be either increasing (if a<ba < b) or decreasing (if b<ab < a). How many rearrangements of the numbers from 11 to nn have exactly two increasing pairs of consecutive elements? Express your answer in terms of nn.