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
-
Test if a Number is a Palindrome without using any String Operations
255 Solvers
-
244 Solvers
-
1065 Solvers
-
Test if two numbers have the same digits
266 Solvers
-
Is this triangle right-angled?
6415 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!