- #1
Wiz14
- 20
- 0
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.
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.