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 Solvers11
Suggested Problems
-
Magic is simple (for beginners)
11659 Solvers
-
The sum of the numbers in the vector
647 Solvers
-
Number of odd and even elements within matrix
161 Solvers
-
Matlab Basics II - Count rows in a matrix
411 Solvers
-
424 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!