The Hofstadter Female (F) and Male (M) sequences are defined as follows
Write a function to compute
for a given n.
Solution Stats
Problem Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers13
Suggested Problems
-
Determine whether a vector is monotonically increasing
23681 Solvers
-
Project Euler: Problem 6, Natural numbers, squares and sums.
2595 Solvers
-
Arrange vector in ascending order
838 Solvers
-
19253 Solvers
-
365 Solvers
More from this Author53
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!