Here's a problem I have stumbled upon, which may have a straightforward solution with linear algebra. If so, I cannot see it.
Choose $n > 0 \in \mathbb N$, and consider the sequence of equations:
$$nx_1 + (n-1)y_1 - 1 = 0$$ $$nx_2 + (n-2)y_2 - 1 = 0$$ $$...$$ $$nx_{n-1} + y_{n-1} - 1 = 0$$
Equivalently, consider all equations for $0 < k < n$ such that
$$nx_k + (n-k)y_k - 1 = 0$$
How might I go about determining if these equations have a solution for $x_k, y_k \in \mathbb R$? In particular, I was hoping someone could help me restate the problem using linear algebra.
NOTE
The original formulation required $x_k, y_k \in \mathbb Z$, in which case, the existence of a solution to these equations is true iff $n$ is prime. I've weakened the constraint in the hopes of finding ways to express or understand this problem without the concepts of $gcd$ or the Euclidean Algorithm.
By Bézout's Theorem, the diophantine equation $$ax + by = 1$$ where $a, b \in \mathbb Z$ has integer solutions for $x$ and $y$ if and only if $hcf(a,b)=1$.
Hence, the equation $$nx_k + (n-k)y_k - 1 = 0$$has solutions if and only if $$hcf(n, n-k) = hcf(n,k)=1$$
In particular, if $n$ is prime, then all of the equations will have solutions.