Difference between revisions of "2017 MPFG Problem 14"
m (→Problem) |
m (→Solution 1) |
||
| Line 5: | Line 5: | ||
Displacement is basically the sum of error of each place in the permutation. Consider how to split the displacement of <math>4</math>: <math>4 = 2+2 = 1+1+2 = 1+1+1+1</math>. | Displacement is basically the sum of error of each place in the permutation. Consider how to split the displacement of <math>4</math>: <math>4 = 2+2 = 1+1+2 = 1+1+1+1</math>. | ||
| − | We may have <math>2</math> numbers with a difference of <math>2</math> switching location, <math>3</math> consecutive numbers rotated, and <math>2</math> sets of <math>2</math> consecutive numbers switching location. The first situation gives us <math>{(1,3),(2,4),...,(98,100)} = 98</math> permutations, the second situation gives us <math>{(1,2,3),(2,3,4),...,(98,99,100)} = 2\cdot 98 = 196</math> permutations, since the <math>3</math> numbers can be "rotated" in two directions, and the third situation gives us <math>{98\choose 2} = 4753</math> permutations, selecting <math>2</math> from the <math>{(1,3),...,(98,100)}</math> pile. | + | We may have <math>2</math> numbers with a difference of <math>2</math> switching location, <math>3</math> consecutive numbers rotated, and <math>2</math> sets of <math>2</math> consecutive numbers switching location. The first situation gives us <math>\{(1,3),(2,4),...,(98,100)\} = 98</math> permutations, the second situation gives us <math>\{(1,2,3),(2,3,4),...,(98,99,100)\} = 2\cdot 98 = 196</math> permutations, since the <math>3</math> numbers can be "rotated" in two directions, and the third situation gives us <math>{98\choose 2} = 4753</math> permutations, selecting <math>2</math> from the <math>\{(1,3),...,(98,100)\}</math> pile. |
<math>98+196+4753=\boxed{5047}</math> | <math>98+196+4753=\boxed{5047}</math> | ||
~cassphe | ~cassphe | ||
Latest revision as of 08:49, 22 October 2025
Problem
A
of a finite set
is a one-to-one function from
to
. Given a permutation
of the set
, define the displacement of
to be the sum
How many permutations of
have displacement
?
Solution 1
Displacement is basically the sum of error of each place in the permutation. Consider how to split the displacement of
:
.
We may have
numbers with a difference of
switching location,
consecutive numbers rotated, and
sets of
consecutive numbers switching location. The first situation gives us
permutations, the second situation gives us
permutations, since the
numbers can be "rotated" in two directions, and the third situation gives us
permutations, selecting
from the
pile.
~cassphe