TITLE: Find the sum of all 4-digit numbers formed by using digits 0, 2, 3, 5 and 8?
QUESTION [10 upvotes]: Find the sum of all 4-digit numbers formed by using digits 0, 2, 3, 5 and 8.
Finding the total number of number is possible, but how can the sum be found?

REPLY [2 votes]: Total[FromDigits /@ Select[Flatten[Permutations /@ 
 Subsets[{0, 2, 3, 5, 8}, {4}], 1], First[#] =!= 0 &]]

(* Out: 467964 *)

I'm due for some down-votes.