switching places of numbers in any permutation if their difference is p, or q
Source: IFYM - XI International Festival of Young Mathematicians Sozopol 2022, Theme for 11-12 grade,finals p8
November 13, 2022
combinatoricspermutations
Problem Statement
Let and be mutually prime natural numbers greater than . Starting with the permutation , in one move we can switch the places of two numbers if their difference is or . Prove that with such moves we can get any another permutation if and only if .