MathDB
Easy permutation NT

Source: Caucasus MO 2024, Seniors P6

March 13, 2024
number theory

Problem Statement

Given is a permutation of 1,2,,2023,20241, 2, \ldots, 2023, 2024 and two positive integers a,ba, b, such that for any two adjacent numbers, at least one of the following conditions hold:
1) their sum is aa; 2) the absolute value of their difference is bb.
Find all possible values of bb.