IMO 1985 LL POL64

Let p be a prime. For which k can the set {1, 2, . . ., k} be

IMO 1985 LL POL64

Origin: POL

Problem

Let p be a prime. For which k can the set {1, 2, . . ., k} be partitioned into p subsets with equal sums of elements?