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 Solvers7
Suggested Problems
-
What is the distance from point P(x,y) to the line Ax + By + C = 0?
543 Solvers
-
07 - Common functions and indexing 2
414 Solvers
-
construct matrix with identical rows
199 Solvers
-
Matlab Basics II - Extract last 3 elements of a vector
249 Solvers
-
458 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!