MathDB
1/a_1 + 2/a_2 +...+ n/a_n = (a_1 + a_2 +... + a_n)/ 2

Source: 2010 Grand Duchy of Lithuania, Mathematical Contest p2 (Baltic Way TST)

October 3, 2020
number theorydiophantineDiophantine equation

Problem Statement

Find all positive integers nn for which there are distinct integer numbers a1,a2,...,ana_1, a_2, ... , a_n such that 1a1+2a2+...+nan=a1+a2+...+an2\frac{1}{a_1}+\frac{2}{a_2}+...+\frac{n}{a_n}=\frac{a_1 + a_2 + ... + a_n}{2}