21
Shubhodip
·2011-08-31 04:25:31
i hope empty circles are not taken into consideration!!? :D
can u tell the answer if u have ?
106
Asish Mahapatra
·2011-08-31 05:01:17
no .. empty circles are not taken into consideration (atleast 1 person in a circle)
and i dont have the answer.
This was a question our recently concluded technical - interhostel event
341
Hari Shankar
·2011-08-31 07:01:38
I guess Stirling numbers of the first kind is what you need
http://en.wikipedia.org/wiki/Stirling_numbers_of_the_first_kind
66
kaymant
·2011-09-01 04:34:52
Yes I think the required number should be
\sum_{k=1}^n \left[\begin{array}{c}n \\ k \end{array}\right]
where \left[\begin{array}{c}n \\ k \end{array}\right] denotes the unsigned Stirling number of the first kind which counts the number of permutations of n elements with k disjoint cycles.