MathDB
$2k$ divides $n(n+1)$ and $2k\leq n+1$

Source: Moldova TST 2001

August 7, 2023
number theory

Problem Statement

Let nn{} (n1)(n\geq 1) be an integer and a set A={1,2,,n}A=\{1,2,\ldots,n\}. The set AA{} is kpartitionablek-partitionable if it can be partitioned in kk{} disjoint sets with the same sum of elements. Show that AA{} is kpartitionablek-partitionable if and only if 2k2k divides n(n+1)n(n+1) and 2kn+12k\leq n+1.