Largest prime number with all digits different

Solution 1:

The answer should be $$p=987654103.$$ As any number using all ten digits would by a multiple of $3$, we are left with only few nine-digit candidates $987654xyz$ that can be checked manually.

Solution 2:

Hint: Suppose you had all ten digits - what would the sum of the digits be?