Problem

Source: Iran 3rd round 2024 Combinatorics exam P1

Tags: combinatorics



n4 is an integer number. For any permutation x1,x2,,xn of the numbers 1,2,n we write the number x1+2x2++nxnon the board. Compute the number of total distinct numbers written on the board.