Problem 3003. Mobius function
Solution Stats
Problem Comments
-
3 Comments
Hello Grant. It's a nice set, but for problems 3001 and 3002 lookup tables are "always win" solutions. For this problem you can avoid this by using some randomness in the test suite.
I'm glad you like them, and thanks for the feedback. I just added a random test case to all three problems.
Yeah, the series is good. After a few rounds of spam-storm, Cody seems to be back on track...
Problem Recent Solvers41
Suggested Problems
-
Find the longest sequence of 1's in a binary sequence.
4982 Solvers
-
10532 Solvers
-
Find the sum of the elements in the "second" diagonal
1087 Solvers
-
"Low : High - Low : High - Turn around " -- Create a subindices vector
496 Solvers
-
Pattern Recognition 1 - Known Unit Length
45 Solvers
More from this Author139
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!