6 kyu
Prime Happy
133 of 289aweleshetu
Description:
A number n
is called prime happy
if there is at least one prime less than n
and the sum of all primes less than n
is evenly divisible by n
. Write isPrimeHappy(n)
which returns true
if n
is prime happy
else false
.
Fundamentals
Similar Kata:
Stats:
Created | Sep 8, 2017 |
Published | Sep 8, 2017 |
Warriors Trained | 518 |
Total Skips | 12 |
Total Code Submissions | 2114 |
Total Times Completed | 289 |
JavaScript Completions | 133 |
Python Completions | 133 |
Haskell Completions | 23 |
Ruby Completions | 33 |
Total Stars | 7 |
% of votes with a positive feedback rating | 88% of 124 |
Total "Very Satisfied" Votes | 98 |
Total "Somewhat Satisfied" Votes | 21 |
Total "Not Satisfied" Votes | 5 |
Total Rank Assessments | 10 |
Average Assessed Rank | 6 kyu |
Highest Assessed Rank | 6 kyu |
Lowest Assessed Rank | 7 kyu |