I came across these problems :
1) Find the lowest natural number $k$ that satisfies the condition :
$ 7 \mid A$ , where $A = 194^{19} + 125^{14} + k $
2) Find the different prime numbers $m, n, p$, that satisfy the condition :
$$2mnp - m - n - p - mn - mp - np \le 19$$
For the first one, I'm thinking at Fermat's little theorem..
Some hints would really help me.
(194)^19 = -2 (mod 7)
(125)^14 = 1 (mod 7)
194^19 + (125)^14 + K = 0 (mod 7)
-2 + 1 + k = 0 (mod 7)
the minimum natural number for k is 1
k = 1