Largest number divisible by its digits: Difference between revisions
Largest number divisible by its digits (view source)
Revision as of 11:48, 5 September 2017
, 6 years ago→Base 10
(→Haskell Base 10: Derived the lcm of [1, 2, 3, 4, 6, 7, 8, 9] explicitly, rather than assuming it) |
m (→Base 10) |
||
Line 41:
(comparing
(\x ->
if rem x lcmDigits == 0 -- Checking for divisibility by
then x
else 0))
|