Problem 60281. Hofstadter Female and Male sequences
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 commentsProblem Recent Solvers8
Suggested Problems
-
Find the longest sequence of 1's in a binary sequence.
6675 Solvers
-
Flip the main diagonal of a matrix
901 Solvers
-
How many trades represent all the profit?
615 Solvers
-
349 Solvers
-
488 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!