Functions

\sum_{i=1}^{limit}{\sum_{i|j, j <= limit}{j}} smart formula transformation with symmetric property. O(\sqrt{n})