Suppose $\gcd(50+x^2,4x+2)=6$ What is the smallest positive integer that $x$ could be?
It seems that this could be solved with modular arithmetic, however I would be interested to see if there would be another way which wouldn't depend on using modular arithmetic. Any suggestions would be appreciated!