Problem

Source: JBMO Shortlist 2022

Tags: number theory, factorial, sum of integers, Junior, Balkan, shortlist



Determine all pairs $(k, n)$ of positive integers that satisfy $$1! + 2! + ... + k! = 1 + 2 + ... + n.$$