This discussion board is a place to discuss our Daily Challenges and the math and science
related to those challenges. Explanations are more than just a solution — they should
explain the steps and thinking strategies that you used to obtain the solution. Comments
should further the discussion of math and science.

When posting on Brilliant:

Use the emojis to react to an explanation, whether you're congratulating a job well done , or just really confused .

Ask specific questions about the challenge or the steps in somebody's explanation. Well-posed questions can add a lot to the discussion, but posting "I don't understand!" doesn't help anyone.

Try to contribute something new to the discussion, whether it is an extension, generalization or other idea related to the challenge.

Stay on topic — we're all here to learn more about math and science, not to hear about your favorite get-rich-quick scheme or current world events.

Markdown

Appears as

*italics* or _italics_

italics

**bold** or __bold__

bold

- bulleted - list

bulleted

list

1. numbered 2. list

numbered

list

Note: you must add a full line of space before and after lists for them to show up correctly

Well , if you see the official solution of this question in RMO , they have done by completing $(p+q)^2$ whereas i did it by completing $(p-q)^2$. The rest of the method to get the answer is same but only my method has more cases since i have $9pq$ whereas the official solution has $5pq$. The advantage of official solution is that $5$ is a prime.

Easy Math Editor

This discussion board is a place to discuss our Daily Challenges and the math and science related to those challenges. Explanations are more than just a solution — they should explain the steps and thinking strategies that you used to obtain the solution. Comments should further the discussion of math and science.

When posting on Brilliant:

`*italics*`

or`_italics_`

italics`**bold**`

or`__bold__`

boldNote: you must add a full line of space before and after lists for them to show up correctlyparagraph 1

paragraph 2

`[example link](https://brilliant.org)`

`> This is a quote`

Remember to wrap math in`\(`

...`\)`

or`\[`

...`\]`

to ensure proper formatting.`2 \times 3`

`2^{34}`

`a_{i-1}`

`\frac{2}{3}`

`\sqrt{2}`

`\sum_{i=1}^3`

`\sin \theta`

`\boxed{123}`

## Comments

Sort by:

TopNewest@Nihar Mahajan , @Sravanth Chebrolu , @Parth Lohomi , @Rajdeep Dhingra , @Archit Boobna, @Jon Haussmann Sir. Help!

Log in to reply

See RMO 2001 solution

Log in to reply

Set $p=q$ or set $p=8q$ shows that there's infinite number of solutions.

Log in to reply

There is another method sir

Log in to reply

Yes, set $p=0$ or $q= 0$ or $q = 8p$.

Log in to reply

Log in to reply

Log in to reply

$p,q>0$. $(p+q)^2 = p^2 + 2pq + q^2 < p^2 + 7pq + q^2 < p^2 + 8pq + 16q^2 = (p+4q)^2$, then $p^2 + 7pq + q^2 = (p+2q)^2 \text{ or } (p+3q)^2$.

Bound it: WLOG assumeLog in to reply

Infinite

Log in to reply

I think I have solved this before. Anyway , I have a solution but it works only if $p,q$ are prime positive integers. $\ddot\frown$

Log in to reply

Can you tell me your method. $\ddot \smile$

Log in to reply

Well , if you see the official solution of this question in RMO , they have done by completing $(p+q)^2$ whereas i did it by completing $(p-q)^2$. The rest of the method to get the answer is same but only my method has more cases since i have $9pq$ whereas the official solution has $5pq$. The advantage of official solution is that $5$ is a prime.

Log in to reply

It's infinite.

Log in to reply

How? Proper Solution Please?

Log in to reply

I did initially thought that there are finite solutions, but after seeing @Pi Han Goh sir's solution I was convinced.

Log in to reply

It is infinte, let p=0

Log in to reply

no actually its finite

there are two pairs 3,11 and 11,3

Log in to reply

$p,q$ to be primes.

But this question does not specifyLog in to reply

Log in to reply

actually the question was for primes. u r asking for positive integers.

Log in to reply

$p,q$ must belong to.

To be precise the question has not specified whatLog in to reply

@Vaibhav Prasad ???

Oh yes. If the original question was for primes it is finite, what do you sayLog in to reply

Log in to reply

Log in to reply

Log in to reply

Log in to reply

@Harsh Shrivastava

Log in to reply

Log in to reply

Ar you sure you want "p,q are Reals" instead of "p,q are integers"?

Log in to reply