There are 24 distinct four-digit numbers that can be formed with the digits , , , and (since there are possible permutations). The sum of all these numbers is:
.
We are given that this sum is , where is a single digit. By equating, we have:
.
From this equation, solve for .