I have to solve in $\mathbb{N}$ the following:
$$3n - 14m = 2$$
So basically this means $$n = \dfrac{2}{3}(7m+1)$$
which means I need $7m - 1$ do be a multiple of $3$. For example, it happens when $m = 2$ and $m = 5$ and basically for $m = 3k-1$ for $k = 1, 2, \cdots$. I have found this by a hand trying, nothing else.
Is there any way to "solve it better" or have I to get settled with this only?