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
-
17318 Solvers
-
Sum of diagonal of a square matrix
1646 Solvers
-
Flip the main diagonal of a matrix
928 Solvers
-
577 Solvers
-
Side of an equilateral triangle
7251 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!