valid for , 5, ... with and and which solves the married couples problem (Dörrie 1965, p. 33).
Laisant's Recurrence Formula
See also
Married Couples ProblemExplore with Wolfram|Alpha
References
Dörrie, H. 100 Great Problems of Elementary Mathematics: Their History and Solutions. New York: Dover, 1965.Referenced on Wolfram|Alpha
Laisant's Recurrence FormulaCite this as:
Weisstein, Eric W. "Laisant's Recurrence Formula." From MathWorld--A Wolfram Web Resource. https://mathworld.wolfram.com/LaisantsRecurrenceFormula.html