-3

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 :)

Parcly Taxel
  • 103,344

1 Answers1

2

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$.

auscrypt
  • 8,186