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 Solvers10
Suggested Problems
-
Determine whether a vector is monotonically increasing
22956 Solvers
-
Sort a list of complex numbers based on far they are from the origin.
5799 Solvers
-
Generate a string like abbcccddddeeeee
275 Solvers
-
301 Solvers
-
171 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!