Find all the integers $n$ with $22\mid n^2+n-2$

56 Views Asked by At

Find all the integers $n$ with $22\mid n^2+n-2$

I have tried gcd but I have no idea how to solve this

Thank you :)

1

There are 1 best solutions below

0
On

Note that $n^2+n-2$ is really $(n+2)(n-1)$ which is always divisible by $2$, and only by $11$ when $n\equiv1$ or $9\mod11$.