Prime Coefficients

Given that p , q p,q are prime numbers, and x 2 p x + q = 0 x^2 -px + q = 0 has distinct roots, what is the value of 2 p + 3 q 2p+3q ?


The answer is 12.

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.

2 solutions

Finn Hulse
Apr 26, 2014

Eh, I attacked it a little differently. Letting the roots be x 1 x_1 and x 2 x_2 , I used Vieta's to construct x 1 + x 2 = p x_1+x_2=p and x 1 x 2 = q x_1x_2=q . Obviously, for q q to be divisible by only 1 1 and itself, one of the roots is q q and the other is 1 1 . Substituting, q + 1 = p q+1=p . Thus, we're looking for a pair of consecutive primes. The only pair is 2 , 3 2, 3 . Plugging that into the desired expression, we obtain 6 + 6 = 12 6+6=\boxed{12} .

hey finn i a t t a c k e d attacked this pair directly as ( p , q ) (p,q) = = ( 3 , 2 ) (3,2) directly

Rishabh Jain - 6 years, 12 months ago

How do we know that roots are integers?

Simona Vesela - 6 years, 8 months ago
Danny He
Apr 26, 2014

Since p , q > 0 p,q > 0 , therefore x 2 p x + q = ( x 1 ) ( x q ) p = q + 1 x^2 -px + q = \left(x-1\right)\left(x-q\right) \Rightarrow p = q+1 This means that p , q p,q are two consecutive numbers that are prime.

q = 2 , p = 3 2 p + 3 q = 6 + 6 = 12 \therefore q = 2, p=3 \Rightarrow 2p+3q = 6+ 6=12

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...