Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm aware of the Hofstadter Male and Female sequences, which are a pair of integer sequences defined via mutual recursion:

$$ M(0) = 0 $$ $$ F(0) = 1 $$

$$ M(n) = n - M(F(n-1)) $$ $$ F(n) = n - F(M(n-1)) $$

Are there any known examples of three or more integer sequences defined in similar mannner (via indirect recursion)?

share|cite|improve this question

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.