D dch May 2010 4 0 May 10, 2010 #1 Difficult problem: Find the sum of 4536 numbers from 1000 to 10000 which all have their digits distinct, Thanks -D

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 May 10, 2010 #2 dch said: Difficult problem: Find the sum of 4536 numbers from 1000 to 10000 which all have their digits distinct, Thanks -D Click to expand... 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 said: Difficult problem: Find the sum of 4536 numbers from 1000 to 10000 which all have their digits distinct, Thanks -D Click to expand... 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.

D dch May 2010 4 0 May 11, 2010 #3 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 May 11, 2010 #4 dch said: I don't think I entirely understand the solution Is there another way?? Thanks Click to expand... 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.

dch said: I don't think I entirely understand the solution Is there another way?? Thanks Click to expand... 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.