An interesting formula for generating a good many (but not all) primes is n2 + n + 41. If we plug in consecutive integers 1, 2, 3, etc., at least up to a certain point, we can generate prime numbers. Give an integer for which the formula fails.

Common Wrong Answers
“1”
When n = 1, the formula calculates to 43, which is a prime number, so it does not fail.
“39”
For n = 39, the formula yields 1601, which is also a prime number, thus it does not fail.
“50”
While the formula may eventually yield a composite number for n = 50, it does not fail at that integer, as it produces 2601, which is the square of 51, but this is beyond the specified point of failure.
Similar Riddles
Riddles you might also enjoy
Can you find the last number in the number sequence given below? 10 : 10 : 20 : 45 : 110 : 300 : ?
Can you name the largest number that can be written with four 1's?
What is the largest possible number you can write using only 2 numbers - just 2 numbers, no other mathematical symbols?
With the numbers 123456789, make them add up to 100. They must stay in the same order. You can use addition, subtraction, multipli...