See the image. Its approximate problem
| # | User | Rating |
|---|---|---|
| 1 | Benq | 3857 |
| 2 | jiangly | 3810 |
| 3 | maroonrk | 3534 |
| 4 | tourist | 3528 |
| 5 | Kevin114514 | 3510 |
| 6 | turmax | 3411 |
| 7 | Um_nik | 3387 |
| 8 | Radewoosh | 3367 |
| 9 | heuristica | 3322 |
| 10 | strapple | 3317 |
| # | User | Contrib. |
|---|---|---|
| 1 | Qingyu | 158 |
| 2 | maspy | 150 |
| 3 | Um_nik | 146 |
| 4 | Errichto | 139 |
| 5 | adamant | 136 |
| 6 | maroonrk | 134 |
| 7 | DNR | 133 |
| 8 | Dominater069 | 131 |
| 9 | nik_exists | 130 |
| 9 | Proof_by_QED | 130 |
See the image. Its approximate problem
| Name |
|---|



I am NOT sure if this works, but from a first glance, it seems appropriate.
This doesn't work.
We have $$$45 + 6 = 36 + 15 = 51 \Leftrightarrow \frac{9 \times 10}{2} + \frac{3 \times 4}{2} = \frac{8 \times 9}{2} + \frac{5 \times 6}{2}$$$.
I think what you suggested is not valid as it doesn't supplied any pairwise sum. Both equal to 30 doesn't imply that the solution is wrong.
Sorry, my mistake. Fixed
As $$$10 + 66 = 21 + 55$$$, your solution is incorrect.
I was interested as well, but easily can be found with a quick google search (look at solution 2 for construction).
https://artofproblemsolving.com/wiki/index.php/2001_IMO_Shortlist_Problems/N6
yeah it will give if its possible. but how will u print all the numbers
Like i said solution 2 says the construction. You iterate through a for loop and print (2 * p * i + i^2 mod p) for each i from 1 to p, where p is a prime large enough to fit the constraints of the problem.
just final doubt. is i needed to be prime or all integers from 1 to p
All integers 1 to p.