返回题库

PUMaC 2010 · 组合(A 组) · 第 7 题

PUMaC 2010 — Combinatorics (Division A) — Problem 7

专题
Contest Math / 竞赛数学
难度
L3
来源
PUMaC

题目详情

英文原题

  1. Matt is asked to write the numbers from 1 to 10 in order, but he forgets how to count. He
    writes a permutation of the numbers { 1, 2, 3..., 10 } across his paper such that:
    (a) The leftmost number is 1.
    (b) The rightmost number is 10.
    (c) Exactly one number (not including 1 or 10) is less than both the number to its immediate
    left and the number to its immediate right.
    How many such permutations are there?
    ( )
解析

英文解析

  1. Matt is asked to write the numbers from 1 to 10 in order, but he forgets how to count. He
    writes a permutation of the numbers { 1, 2, 3..., 10 } across his paper such that:
    (a) The leftmost number is 1.
    (b) The rightmost number is 10.
    (c) Exactly one number (not including 1 or 10) is less than both the number to its immediate
    left and the number to its immediate right.
    5
    How many such permutations are there?
    Answer: 1636
    Solution: Consider the ”changes of direction” of the sequence of numbers. It must switch
    from decreasing to increasing exactly once by (3). By (1) and (2) it must start and end as
    increasing. Therefore the sequence must go from increasing to decreasing to increasing.
    Let a be the unique number that’s less than both its neighbors, corresponding to the switch
    from decreasing to increasing, and let b be the unique number that’s greater than both its
    neighbors, corresponding to the switch from increasing to decreasing. Then the sequence is of
    the form 1,..., b,..., a,..., 10, where 1 < a < b < 10, and the sequence is monotonic between
    1 and b, between b and a, and between a and 10.
    If we fix a and b, then the sequence is uniquely determined by the sets of numbers in each
    of the three dotted sections. In other words, we simply have to choose which of the three
    sections to place each of the remaining numbers. The numbers between 1 and a must go to
    the left of b, and the numbers between b and 10 must go to the right of a. The numbers
    between a and b can go in any of the three sections. For example, if a = 2, b = 8, and we
    divide the numbers between a and b into the sets { 4, 6 }, { 3 }, { 5, 7 }, then we obtain the unique
    permutation 1, 4, 6, 8, 3, 2, 5, 7, 9, 10. Therefore the number of permutations is
    ∑
    N = 3b−a−13^{b-a-1}
    1 <a<b< 10
    For each 1 ≤ n ≤ 7, if b − a = n, then 1 < a = b − n < 10 − n, so there are 8 − n possible
    values of a, each of which uniquely determines a value of b. Therefore,
    ∑^{7} ∑^{6}
    N = (8 − n )3n−13^{n-1} = (7 − n )3n3^{n}
    n =1 n =0
    Multiplying the first expression above by 3, we obtain
    ∑^{7}
    3 N = (8 − n )3n3^{n}
    n =1
    6
    Subtracting, we obtain
    ∑^{6}
    2 N = (8 − 7)373^{7} − (7 − 0)303^{0} + 3n3^{n}
    n =1
    ∑^{7}
    = − 7 + 3n3^{n}
    n =1
    ∑^{6}
    = − 7 + 3 3n3^{n}
    n =0
    373^{7} − 1
    = − 7 + 3 ·
    3 − 1
    = 3272
    and so N = 1636.
    ( )