sum of the 4536 numbers from 1000 t0 10000 their digits distinct

dch

May 2010
4
0
Difficult problem:

Find the sum of 4536 numbers from 1000 to 10000 which all have their digits distinct,

Thanks
-D
 

undefined

MHF Hall of Honor
Mar 2010
2,340
821
Chicago
Difficult problem:

Find the sum of 4536 numbers from 1000 to 10000 which all have their digits distinct,

Thanks
-D
Odd, I just answered this question. See this thread, post #5. But try to work out some stuff for yourself, since I have a complete solution up there.
 

dch

May 2010
4
0
difficult problem

I don't think I entirely understand the solution

Is there another way??

Thanks
 

undefined

MHF Hall of Honor
Mar 2010
2,340
821
Chicago
I don't think I entirely understand the solution

Is there another way??

Thanks
Are you allowed to write a computer program? For a brute force algorithm, think about how you would test whether a given number has all its digits distinct. Hint: Use a boolean array.