Largest number divisible by its digits: Difference between revisions

m
added whitespace.
m (added highlighting.)
m (added whitespace.)
Line 12:
For example:   '''135'''   is evenly divisible by   '''1''',   '''3''',   and   '''5'''.
 
Note that the digit zero (0) can not be in the number as integer division by zero is undefined. The digits must all be unique so a base 10 number will have at most 9 digits.
 
The digits must all be unique so a base ten number will have at most '''9''' digits.
 
Feel free to use analytics and clever algorithms to reduce the search space your example needs to visit, but it must do an actual search. (Don't just feed it the answer and verify it is correct.)