about | help | code help+videos | done | prefs |
Return the nth perfect number. The formula is 2^(n-1) * (2 ^ n - 1) perfect(1) → 1 perfect(2) → 6 perfect(3) → 28 ...Save, Compile, Run (ctrl-enter) |
Progress graphs:
Your progress graph for this problem
Random user progress graph for this problem
Random Epic Progress Graph
Difficulty: 100
Copyright Nick Parlante 2017 - privacy