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.
Do not brute force the sum of divisors. Use math to reduce iteration while finding the sum of divisors
Way to spoil the fun.
This comment is hidden because it contains spoiler information about the solution
Thanks for the compliments :-)
This is one of the most common questions asked for this kata.
I won't repeat myself for the 100th time.
See this: https://www.codewars.com/kata/554b4ac871d6813a03000035/discuss#5862f485e20244604600003b
'6' > '542' #True
6 > 542 #False