Number Pattern Problem

StachuK1992

statue
Joined
Jul 24, 2008
Messages
3,812
Location
West Chester, PA
WCA ID
2008KORI02
YouTube
Visit Channel
There are an even number (4, 8, 10, etc) of students in a class.
Every 6 days, there is a 'lab' period, where the students are grouped in pairs.
How many lab days are possible, having it so no two people are ever in the same pair twice?

Once you've found this (it's easy), then state all of the possible pairs if a class has 4 students, and also 6 students.
4 students:
12
13
14
23
24
34

6 students:
12
13
14
15
16
23
24
25
26
34
35
36
45
46
56

These can be found with nPr; n being the number of students, and r being 2, the number of people in each group.
After that, state the pairs so that no pair repeats for 6 students in the class. (awkward phrase, I know. :/ )
Like this:
For 4 students:
Day 1
12
34

Day 2
13
24

Day 3
14
23

6 students:
12
34
56

13
25
46

14
26
35

15
24
36

16
23
45
Also easy.

The number of possible lab days can be represented by:
nCr/(n/r), or
r(nCr)/n
Once you've completed all of the above, then find an 'algorithm' (for lack of a better word) to 'sort' the pairings so that when an input is given. This. This is the hard part, and I can't seem to figure it out.

If you somehow manage to complete all of the above, then start from square-1, and
"There are an multiple of 3 number (3, 9, 12, etc) of students in a class.
Every 6 days, there is a 'lab' period, where the students are grouped in triplets.
How many lab days are "possible, having it so no two people are ever in the same triplet twice?
Note: people can be in a triple with *one* person they've been with before.
such as:
123
423

Once you find anything, or think of anything, PLEASE post it.
I actually have use for this information.

Even if it's just an idea, it's still something that may get others' brains going in the right (or any) direction.
 
Last edited:
As a general rule, for n students who are grouped into groups of k (where n is divisible by k), where you never want two identical groups to exist on different days, the theoretical highest possible number of days is
(n choose k) / (n/k) (since there are (n choose k) possible groups and you see n/k of them each day)
However, I don't know how to prove/disprove that this maximum can be reached for every possible n and k.
 
As a general rule, for n students who are grouped into groups of k (where n is divisible by k), where you never want two identical groups to exist on different days, the theoretical highest possible number of days is
(n choose k) / (n/k) (since there are (n choose k) possible groups and you see n/k of them each day)
However, I don't know how to prove/disprove that this maximum can be reached for every possible n and k.
Apparently, there is an answer. My computer programming teacher allegedly found one, but he won't tell me until tomm. :/

This has been bugging me for a solid week. Anyone?
 
Back
Top