1. Screw discrete dynamical systems and their applications to exact slow NIM.
- Author
-
Gurvich, Vladimir and Naumova, Mariya
- Subjects
- *
DYNAMICAL systems , *POLYNOMIAL time algorithms , *DISCRETE systems , *INTEGERS , *SCREWS - Abstract
Given integers n , k , ℓ such that 0 < k < n , 1 < ℓ and an integer vector x = (x 1 , ... , x n) , denote by m = m (x) the number of entries of x that are multiple of ℓ. Choose n − k entries of x as follows: if m (x) ≥ n − k , take n − k smallest entries of x that are multiple of ℓ ; if n − k > m (x) , take all m such entries, if any, and add n − k − m largest entries of x. In one step, the chosen n − k entries (bears) keep their values, while the remaining k (bulls) are reduced by 1. Repeat such steps getting the sequence S = S (n , k , ℓ , x 0) = (x 0 → x 1 → ... → x j → ...). We prove that it is "quasi-periodic". More precisely, there exists a number N = N (n , k , ℓ , x 0) such that for all j ≥ N we have m (x j) ≥ n − k and r a n g e (x j) ≤ ℓ , where r a n g e (x) = max (x i ∣ i ∈ [ n ]) − min (x i ∣ i ∈ [ n ]) with [ n ] = { 1 , ... , n }. Furthermore, after N steps, the system "moves like a screw". Assuming that x 1 ≤ ⋯ ≤ x n , introduce the cyclical order on [ n ] considering 1 and n as neighbors. Then, bears and bulls partition [ n ] into two intervals that are shifted by k with every ℓ steps. Then, after every p = ℓ n / G C D (n , k) = ℓ L C M (n , k) / k steps all entries of x are reduced by the same value δ = p k / n , that is, x i j − x i j + p = δ for all i ∈ [ n ] and j ≥ N. We prove that N (n , k , ℓ , x 0) ≤ (ℓ + r a n g e (x 0)) ⌈ n / k ⌉ and give an algorithm computing N in time polynomial in n , k , ℓ , and log (1 + r a n g e (x 0)). Furthermore, x j , for any j ≥ 0 , can be computed in time polynomial in n , k , ℓ , log (1 + r a n g e (x 0)) , and log (1 + j). In case k = n − 1 and ℓ = 2 such screw dynamical system are applicable to impartial games; see Gurvich, Martynov, Maximchuk, and Vyalyi, "On Remoteness Functions of Exact Slow k -NIM with k + 1 Piles", https://arxiv.org/abs/2304.06498 (2023). [ABSTRACT FROM AUTHOR]
- Published
- 2024
- Full Text
- View/download PDF