A number theory problem by ppk k

Find the number of positive integers n n for which n 3 8 n 2 + 20 n 13 n^3 - 8n^2 + 20n - 13 is a prime number .

1 2 3 4

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

3 solutions

By observation we note that n = 1 n = 1 is a root of the given expression, so factoring out n 1 n - 1 we have that

n 2 8 n 2 + 20 n 13 = ( n 1 ) ( n 2 7 n + 13 ) n^{2} - 8n^{2} + 20n - 13 = (n - 1)(n^{2} - 7n + 13) .

For this to be prime we must have either n 1 = ± 1 n - 1 = \pm 1 and n 2 7 n + 13 = ± p n^{2} - 7n + 13 = \pm p for some prime p p , or n 2 7 n + 13 = ± 1 n^{2} - 7n + 13 = \pm 1 and n 1 = ± p n - 1 = \pm p for some prime p p . So looking at the 4 cases:

  • n 1 = 1 n = 2 n - 1 = 1 \Longrightarrow n = 2 , for which n 2 7 n + 13 = 3 n^{2} - 7n + 13 = 3 , which is prime, so n = 2 n = 2 is a solution;

  • n 1 = 1 n = 0 n - 1 = -1 \Longrightarrow n = 0 , which is not positive;

  • n 2 7 n + 13 = 1 ( n 3 ) ( n 4 ) = 0 n = 3 n^{2} - 7n + 13 = 1 \Longrightarrow (n - 3)(n - 4) = 0 \Longrightarrow n = 3 or n = 4 n = 4 , and since n 1 n - 1 is prime in both of these cases we have that n = 3 n = 3 and n = 4 n = 4 are solutions;

  • n 2 7 n + 13 = 1 n 2 7 n + 14 = 0 n^{2} - 7n + 13 = -1 \Longrightarrow n^{2} - 7n + 14 = 0 , which does not have real roots as 7 2 4 × 14 < 0 7^{2} - 4 \times 14 \lt 0 .

Thus 2 , 3 , 4 2,3,4 are the only suitable values for n n , giving us a final answer of 3 \boxed{3} .

I thought no.of prime values of expression so I marked it as 2.for n=2,4 expression value is 3. And for n=3 expression value is 2.

Sudhamsh Suraj - 4 years, 3 months ago

Log in to reply

That's too bad, as clearly you knew how to solve the problem. The question, though, does ask for the number of suitable values of n n , of which there are 3, and not the number of distinct primes obtainable.

Brian Charlesworth - 4 years, 3 months ago
Tom Engelsman
Mar 5, 2017

The above cubic factors into n 3 8 n 2 + 20 n 13 = ( n 1 ) ( n 2 7 n + 13 ) . n^3 - 8n^2 + 20n - 13 = (n-1)(n^2 - 7n + 13). If it is to equal a prime number p p , then we require:

n 1 = 1 ; n 2 7 n + 13 = p n = 2 , p = 3 n - 1 = 1; n^2 - 7n + 13 = p \Rightarrow \boxed{n = 2, p = 3}

n 1 = p ; n 2 7 n + 13 = 1 n = 3 , p = 2 n - 1 = p; n^2 - 7n + 13 = 1 \Rightarrow \boxed{n = 3, p = 2} and n = 4 , p = 3 \boxed{n = 4, p = 3}

Hence, there are three possible positive integers n = 2 , 3 , 4. n = 2,3,4.

Deepak Garg
Mar 12, 2017

You just find a factor of the above expression And check the values. Might be the sufficient hint!!

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...