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 Solvers12
Suggested Problems
-
Back to basics 13 - Input variables
396 Solvers
-
We love vectorized solutions. Problem 1 : remove the row average.
896 Solvers
-
Rounding off numbers to n decimals
5770 Solvers
-
Output a vector which is table of 9
180 Solvers
-
Test Problem; Create a 5x5 array containing all ones
405 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!