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
-
3484 Solvers
-
Compute a dot product of two vectors x and y
1050 Solvers
-
Given a matrix, return the last eigen value
233 Solvers
-
321 Solvers
-
Calculate distance travelled when given radius and rotations
242 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!