Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
Indeed :-/
If the number if not Harshad then it's impossible to have a integer such that
n
divided by the digit sum is that integer.Since the reverse of the digit sum is also a integer, if the final condition is satisfied, we've also satisfied the requirement for Harshad number property.
You're right, but there where no test cases for uppercase letters, so I left it this way.