Question
Question: Consider the statement “\[P\left( n \right)={{n}^{2}}-n+41\] is prime”. Then which of the following ...
Consider the statement “P(n)=n2−n+41 is prime”. Then which of the following is true?
A) P(5) is false and P(3) is true.
B) Both P(5) and P(3) are false.
C) P(5) is true and P(3) is false.
D) Both P(5) and P(3) are true.
Solution
From the question, it was given that P(n)=n2−n+41 is prime. Let us assume this as equation (1). Now let us substitute the value of n is equal to 3 in equation (1). Let us assume this as equation (2). Now let us substitute the value of n is equal to 5 in equation (1). Let us assume this as equation (3). Now we should check whether P(3) and P(5) are prime or not.
Complete step-by-step solution:
From the question, we were given a statement that “P(n)=n2−n+41 is prime”. From the option, it is clear that we should check whether P(3) and P(5).
By comparing P(n) with P(3), we can say that the value of n is equal to 3.
We know that P(n)=n2−n+41.
Let us assume
P(n)=n2−n+41.......(1)
Let us substitute the value of n is equal to 3 in equation (1). Then we get,