Question: (n^2)+n-17 I need python code where you put in a n value and it tells u weather or not the answer to the equation is
(n^2)+n-17
I need python code where you put in a n value and it tells u weather or not the answer to the equation is prime. and if it is prime make it so it adds 1 each time to the n value until it finds a number where it isn't prime and have it stop when it finds a value where it isn't prime
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
