For vectors $(1,7)$ and $(2,-1)$, one can look at the rationals and the prime fields:
$\mathbb{Z/pZ}$ (in which $\mathbb{p}$ is prime)
For every case, determine linear dependence and the space spanned.
Hint: While at first glance there it looks as if one must check an infinite number of cases, there are only a few distinctive cases that actually need to be checked.
Let's consider an aribtrary linear combination of these vectors that results in zero,
$$ a\cdot(1,7) + b\cdot(2,-1) = 0 $$
This means that
$$ a + 2b = 0 \ (mod \ p) \\ 7a - b = 0 \ (mod \ p) $$
and therefore
$$ b = 7a \ (mod \ p) \\ 0 = a + 2b = a + 14a = 15a \ (mod \ p) \\ $$
Now if $15$ is invertible modulo $p$, this inmediatly implies $a = b = 0$ and therefore the vectors are linearly independent, so if $p \notin \{3,5\}$ the vectors are linearly independent. If $p = 3$, you can choose $a = b = 1$, so they are not independent. As for $p = 5$, we can pick $a = 2$ and $b = -1$, again they are not independent. I'm confident you can answer which space they span yourself.