Determine the number of fractions in the pattern below that are expressed in lowest terms.
\(\frac{1}{2019},\frac{2}{2018},\frac{3}{2017},...,\frac{1010}{1010}\)
The answer is 500.
Could you provide an explanation to how you solved this problem?