I am working through a worksheet talking about some of Euler's results and how $X = a^{2^n}+1$ is not necessarily prime.
One example that Euler gave was that $X = 6^{128}+1$ is not prime since it is divisible by $Y = 257$.
How would Euler have gone about showing this result?
I am relatively new to number theory, I can see that $Y = 2*128+1 = 257$ but I do not know if that information is relevant or not.