7 kyu
Excessively Abundant Numbers
599 of 2,007RichAWarren
Description:
An abundant number or excessive number is a number for which the sum of its proper divisors is greater than the number itself.
The integer 12 is the first abundant number. Its proper divisors are 1, 2, 3, 4 and 6 for a total of 16 (> 12).
Derive function abundantNumber(num)/abundant_number(num)
which returns true/True/.true.
if num
is abundant, false/False/.false.
if not.
Fundamentals
Mathematics
Algorithms
Similar Kata:
Stats:
Created | Jan 26, 2016 |
Published | Jan 26, 2016 |
Warriors Trained | 2620 |
Total Skips | 77 |
Total Code Submissions | 4256 |
Total Times Completed | 2007 |
JavaScript Completions | 599 |
Ruby Completions | 133 |
CoffeeScript Completions | 17 |
Python Completions | 889 |
Haskell Completions | 111 |
Java Completions | 343 |
Fortran Completions | 27 |
Total Stars | 27 |
% of votes with a positive feedback rating | 94% of 354 |
Total "Very Satisfied" Votes | 316 |
Total "Somewhat Satisfied" Votes | 36 |
Total "Not Satisfied" Votes | 2 |