Where Is 1 From 2016?

p , q , p + q , p q , p ( p + q ) , q ( p + q ) , p q , q p \large p,\; q,\; p+q,\; pq,\; p(p+q),\; q(p+q),\; p^q,\; q^p

Suppose p p and q q are two unordered prime numbers . From the above 8 listed numbers, exactly 4 are even numbers and one of them is 206.

Find the sum of all distinct value(s) of p q |p-q| .


The answer is 200.

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

Sharky Kesa
Apr 26, 2016

We have that either one of the prime numbers are 2, or none of them are. If none of them are 2, we have that p + q p+q is even, so p + q p+q , p ( p + q ) p(p+q) and q ( p + q ) q(p+q) are even. The rest of the numbers are odd. But then this contradicts that we have exactly 4 even numbers. Thus, one of the primes is 2.

WLOG q = 2 q=2 . Since we have unordered solutions, we can do this assumption.

Thus, p p is odd. From this, we get q q , p q pq , q ( p + q ) q(p+q) and q p q^p are even, which satisfy. We must have 206 equal to one of p q pq , q ( p + q ) q(p+q) or q p q^p . The last one can be ruled out since 206 isn't a power of 2. If p q = 206 pq=206 , we have p = 103 p=103 , which satisfies. Thus, p q = 101 |p-q|=101 . If q ( p + q ) = 206 q(p+q)=206 , p = 101 p=101 , which satisfies. Thus, p q = 99 |p-q|=99 . Therefore, the sum of all values is 200 \boxed{200} .

I wanted to write a solution but you wrote! -1!

But nice solution!+1!

Net effect = -1+1=-0

Harsh Shrivastava - 5 years, 1 month ago

Log in to reply

LOL! .......

Nihar Mahajan - 5 years, 1 month ago

I think that (+1) trend started newly on Brilliant.

Aakash Khandelwal - 5 years, 1 month ago

Log in to reply

Not new. This is an old trend catching attention lately.

Mehul Arora - 5 years, 1 month ago

Exactly what I intended! +0!

Nihar Mahajan - 5 years, 1 month ago

Log in to reply

+(0!) or +0 !? :P

Sharky Kesa - 5 years, 1 month ago

Log in to reply

Hahahahahahahahahahahahaha..... @Nihar Mahajan

Very pertinent fact pointed out by @Sharky Kesa

In computer programs also... You need to be careful with such things...

Something said with a good intent can be interpreted otherwise. XD

Soumava Pal - 5 years, 1 month ago

+0 ! :3 ......

Nihar Mahajan - 5 years, 1 month ago

Nice Thinking.

Kushagra Sahni - 5 years, 1 month ago
Arjen Vreugdenhil
Apr 27, 2016

One of the eight given numbers is 206 206 .

  • p p or q q cannot be equal to 206, because it is not prime.

  • p + q p+q cannot be equal to 206. If it were, both p p and q q would have to be odd, making p , q , p q , q p p, q, p^q, q^p , and p q pq odd. But we are told that four of the numbers are even.

  • p q , q p p^q, q^p cannot be equal to 206. It would require the exponent to be equal to 1, which is not prime.

  • p q = 206 pq = 206 . This is possible with p = 103 p = 103 and q = 2 q = 2 (or v.v.). The even numbers in the list are q , p q , q p q, pq, q^p , and ( p + q ) q (p+q)q . Thus all conditions are fulfilled, with p q = 101. |p - q| = 101.

  • ( p + q ) q = 206 (p+q)q = 206 . This is possible with p = 101 p = 101 and q = 2 q = 2 . This situation is similar to the previous one. We find p q = 99. |p - q| = 99. Swapping p p and q q does not result in any new solutions.

Thus the possible values of p q |p - q| are 101 101 and 99 99 , with sum 200 \boxed{200} .

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...