Problem

Source: 2022 USA TSTST #3

Tags: algebra, USA TSTST



Determine all positive integers $N$ for which there exists a strictly increasing sequence of positive integers $s_0<s_1<s_2<\cdots$ satisfying the following properties: the sequence $s_1-s_0$, $s_2-s_1$, $s_3-s_2$, $\ldots$ is periodic; and $s_{s_n}-s_{s_{n-1}}\leq N<s_{1+s_n}-s_{s_{n-1}}$ for all positive integers $n$