The Hofstadter Female (F) and Male (M) sequences are defined as follows
Write a function to compute
for a given n.
Solution Stats
Solution Comments
Show comments
Loading...
Problem Recent Solvers8
Suggested Problems
-
22521 Solvers
-
Get the length of a given vector
12965 Solvers
-
Make a random, non-repeating vector.
11177 Solvers
-
Magic is simple (for beginners)
11120 Solvers
-
372 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!