Number of good sequences
Source: China Second Round 2015 (B) Q4
May 5, 2016
combinatorics
Problem Statement
Given positive integers , let be a permutation of any pairwise distinct numbers taken from . If there exist such that is odd, or there exist positive integers such that , then call a good sequence. Find the number of good sequences.