We need to find integer solutions to
$ \frac{1}{a} + \frac{1}{b}=\frac{1}{2018} $
and this is equivalent to the problem $ \frac{a+b}{ab}=\frac{n}{2018n} $
so i must solve the sistem $ a+b=n $ and $ ab=2018n$ for some integers 'n'
so i must find only integers value roots of the polynomial
$ a(n-a)=2018n $
and i can not go further