On Jun 7, 11:05=A0pm, "Eric I." <rubytrain... / gmail.com> wrote:
> By the way, if there are n people, I believe the formula for the
> number of partnership schemes is:
>
> =A0 =A0 n! / (n / 2)! / 2**(n / 2)

An alternative (and more efficient) way to compute the number of
partnership schemes is to multiply all the odd values from 1..n.  For
example, if there are eight people, then we have 1 * 3 * 5 * 7, or
105.

Eric

=3D=3D=3D=3D

LearnRuby.com offers Rails & Ruby HANDS-ON public & ON-SITE
workshops.
=A0 =A0Ruby Fundamentals Wkshp =A0 =A0 =A0 =A0 =A0June 16-18 =A0 =A0 Ann Arb=
or, Mich.
=A0 =A0Ready for Rails Ruby Wkshp =A0 =A0 =A0 June 23-24 =A0 =A0 Ann Arbor, =
Mich.
=A0 =A0Ruby on Rails Wkshp =A0 =A0 =A0 =A0 =A0 =A0 =A0June 25-27 =A0 =A0 Ann=
 Arbor, Mich.
=A0 =A0Ruby Plus Rails Combo Wkshp =A0 =A0 =A0June 23-27 =A0 =A0 Ann Arbor, =
Mich
Please visithttp://LearnRuby.comfor all the details.