Ok, I think I know how to do this, correct me if I am wrong Streetwolf, cuz I know u know this one...
First, the number must be under 4000, therefore it must start with 2 or 3. Assuming you must use all of the numbers in the problem to create a value, then you have 2XXX and 3XXX.
Create a table if you like or remember that this is a permutation.
3 nPr 3=6 (also can do 3!, which is 3x2x1)
which means you can have six different values for either 2 or 3 for a total of 12 different values.
Assuming that you DON'T HAVE TO USE ALL 4 NUMBERS to create a value, you do the same AND...
any 3 numbers can be put together to be less than 4000, so do another permutation...
4 nPr 3=24 (say it " 4 choose 3", done as 4x3x2, e.g.- 237, 573, etc...)
and
4 nPr 2=12 (4X3, e.g.- 57, 72, etc...)
then you have each number itself...
2,3,5,7 for a total of 4 more.
add them together, 12+12+24+4=52