Ask your own question, for FREE!
Mathematics 18 Online
OpenStudy (anonymous):

When does n^2 + n +41 stop being prime (n=0,1,2....)?

OpenStudy (anonymous):

PrimeQ is a Mathematica function which is True if the argument is a prime number. At n=0, 41 is prime. PrimeQ [ 41] -> True At n=40, PrimeQ [ 1681] -> False. 1681 = 41 x 41 All expression values for n=0 through n=39 are prime.

OpenStudy (anonymous):

Right, evidently 41 yields a non prime by inspection so then a case of testing the ones less than that.

OpenStudy (anonymous):

A complete case testing solution using Mathematica Home Edition is attached.

OpenStudy (anonymous):

Just what computers are good at:-)

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!