about | help | code help+videos | done | prefs |
Return the greatest number of factors found in any of the positive integers less than or equal to the input parameter. For example, at least one number from 2 to 90 has 6 prime factors, and no numbers in that range have more than 6 prime factors, so maxNumPrimes(90) returns 6. maxNumPrimes(4) → 2 maxNumPrimes(9) → 3 maxNumPrimes(14) → 3 ...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: 440
Copyright Nick Parlante 2017 - privacy