I consider two sequences of numbers $A=\{a_1,...,a_n\}$ and $B=\{k-a_1,...,k-a_n\}$, where $a_1 \le a_2 \le ... \le a_n \le k$.
I am looking for such conditions under which: $gcd(a_1,...,a_n)=gcd(k-a_1,...,k-a_n)=1$.
In more general form: $gcd(a_1,...,a_n)=gcd(k-a_1,...,k-a_n) \ge 1$.
I found only three particular solutions.
If there is such a number $\exists a_s \in A: k-a_t=a_s$, where $a_t \in A$ then $gcd(a_1,...,a_n)=gcd(k-a_1,...,k-a_n)$.
Let $gcd(k-a_1,...,k-a_n) = 1$ and $a_i|k, \forall a_i \in A$, then $gcd(a_1,...,a_n) = 1$.
Let $gcd(a_1,...,a_n) = 1$ and $k=a_n+1$, then $gcd(k-a_1,...,k-a_n) = 1$.
I am convinced that there are other solutions, but I can not find them yet. I will be grateful for any help.
Here are more particular solutions:
Let $d=\gcd(a_1,\ldots, a_n)$ and $D=\gcd(a_1-a_n,\ldots, a_{n-1}-a_n)$. Let $e(k)=\gcd(k-a_1,\ldots, k-a_n)$.
If $e(k)=d$, then necessarily $d\mid k$. On the other hand, if $d\mid k$, then $d\mid e(k)$, but also $e(k)\mid (k-a_n)-(k-a_i)$ for all $i$ and so $e(k)\mid D$. Hence the following special case:
Now suppose $d\ne D$, let $p$ be a prime dividing $\frac Dd$, and suppose $pd\mid k$. Then for some $i$, $pd\nmid a_i$, hence $pd\nmid k-a_i$, $pd\nmid e(k)$. If follows that we can make $e(k)=d$ by ensuring $pd\mid k$ for all applicable $p$: