(adsbygoogle = window.adsbygoogle || []).push({}); For which primes "P" is the following true?

the function f(x) = x(x - 1) + p gives you a prime number for all x < p

I've tried this with 5,11, and 41, but it doesn't work for 7 since 5(5-1) + 7 is not a prime.

Btw, this isn't homework or anything, just a curiosity.

**Physics Forums | Science Articles, Homework Help, Discussion**

Dismiss Notice

Join Physics Forums Today!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# For which primes P is the following true?

**Physics Forums | Science Articles, Homework Help, Discussion**