Euler's formula produces primes for many values of X, but it does not work for all of them. Find the first value of X for which the formula fails. (hint: try multiples of ten) please help me i went to 1000 and still couldn't find anything.
Seven answers:
Spearfish
2007-01-19 14:52:05 UTC
40
ironduke8159
2007-01-19 23:20:04 UTC
It fails when n=40
40^2+40+41 = 1681 = 41^2
steiner1745
2007-01-19 23:05:07 UTC
Sorry, it does fail at 40.
40² = 1600
40 + 41 = 81
Total: 1681 = 41².
Note: It also fails at 41: 41² + 41 + 41 is divisible by 41.
As to why this gives primes for x =1, ... , 39,
there is a fascinating theory based on the fact
that the quadratic field Q(√-163 ) has unique
factorisation. You might want to consult Wikipedia