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
-
361 Solvers
-
334 Solvers
-
Sum of diagonals elements of a matrix
234 Solvers
-
solve for y that is half as much as three less than one tenth of x
88 Solvers
-
Delete blanks at the end of string
82 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!