MathDB

Problems(2)

Spring Round (2012) #9

Source:

12/4/2012
Bowling Pins is a game played between two players in the following way: We start with 14 14 bowling pins in a line:
X  X   X   X  X  X  X  X  X  X  X  X  X  X
Players alternate turns. On each turn, the player can knock down one, two or three consecutive pins at a time. For example:
Jing Jing bowls:
X   X       \:\:\:\: X   X   X   X   X   X   X   X   X   X
Soumya bowls:
X   X       \:\:\:\: X   X   X      X   X   X   X   X   X
Jing Jing bowls again:
X   X       \:\:\:\: X   X   X      X   X          \:\: X
The player who knocks down the last pin wins. In the above game, it is Soumya’s turn. If he plays perfectly from here, he has a winning strategy (In fact, he has four different winning moves.) Imagine it’s Jing Jing’s turn to play and the game looks as follows
X          \:\: X\dots
with 1 X on the left and a string of k k consecutive X’s on the right. For what values of k k from 1 1 to 10 10 does she have a winning strategy?
2012 BMT Team 9

Source:

1/5/2022
A permutation of a set is a bijection from the set to itself. For example, if σ\sigma is the permutation 1731 7\mapsto 3, 212 \mapsto 1, and 323 \mapsto 2, and we apply it to the ordered triplet (1,2,3)(1, 2, 3), we get the reordered triplet (3,1,2)(3, 1, 2). Let σ\sigma be a permutation of the set {1,...,n}\{1, ... , n\}. Let θk(m)={m+1form<k1form=kmform>k\theta_k(m) = \begin{cases} m + 1 & \text{for} \,\, m < k\\ 1 & \text{for} \,\, m = k\\ m & \text{for} \,\, m > k\end{cases} Call a finite sequence {ai}i=1j\{a_i\}^{j}_{i=1} a disentanglement of σ\sigma if θaj...θajσ\theta_{a_j} \circ ...\circ \theta_{a_j} \circ \sigma is the identity permutation. For example, when σ=(3,2,1)\sigma = (3, 2, 1), then {2,3}\{2, 3\} is a disentaglement of σ\sigma. Let f(σ)f(\sigma) denote the minimum number kk such that there is a disentanglement of σ\sigma of length kk. Let g(n)g(n) be the expected value for f(σ)f(\sigma) if σ\sigma is a random permutation of {1,...,n}\{1, ... , n\}. What is g(6)g(6)?
permutationcombinatorics