Nice numbers

Let’s say we assign each letter of the alphabet a different number.

The value of a word is the value of the sum of its letters.
For example:
A = 1
B = 2
C = 3, etc.
What is the value of the word FOUR? Answer = 6 + 15 + 21 + 18 = 60

A number is “nice” if its value is equal to itself.

Now, you can use any assignment of letters to integers you like (provided each letter is assigned to a distinct integer).

Can you find an assignment of letters for which all of the values from 1 to n are “nice”?

What is the largest value of n? Answer here.

We found this solution for the assignment of the letters.