The Hofstadter Female (F) and Male (M) sequences are defined as follows
Write a function to compute for a given n.

Solution Stats

37 Solutions

8 Solvers

Last Solution submitted on Oct 16, 2025

Last 200 Solutions

Solution Comments

Show comments
Loading...

Problem Recent Solvers8

Suggested Problems

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!