• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 21:14
CEST 03:14
KST 10:14
  • Home
  • Forum
  • Calendar
  • Streams
  • Liquipedia
  • Features
  • Store
  • EPT
  • TL+
  • StarCraft 2
  • Brood War
  • Smash
  • Heroes
  • Counter-Strike
  • Overwatch
  • Liquibet
  • Fantasy StarCraft
  • TLPD
  • StarCraft 2
  • Brood War
  • Blogs
Forum Sidebar
Events/Features
News
Featured News
Power Rank - Esports World Cup 202510RSL Season 1 - Final Week8[ASL19] Finals Recap: Standing Tall15HomeStory Cup 27 - Info & Preview18Classic wins Code S Season 2 (2025)16
Community News
Weekly Cups (July 14-20): Final Check-up0Esports World Cup 2025 - Brackets Revealed19Weekly Cups (July 7-13): Classic continues to roll8Team TLMC #5 - Submission re-extension4Firefly given lifetime ban by ESIC following match-fixing investigation17
StarCraft 2
General
Power Rank - Esports World Cup 2025 Why doesnt SC2 scene costream tournaments Heaven's Balance Suggestions (roast me) Magnus Carlsen and Fabi review Clem's chess game. Who will win EWC 2025?
Tourneys
Sparkling Tuna Cup - Weekly Open Tournament Sea Duckling Open (Global, Bronze-Diamond) FEL Cracov 2025 (July 27) - $8000 live event RSL: Revival, a new crowdfunded tournament series $5,100+ SEL Season 2 Championship (SC: Evo)
Strategy
How did i lose this ZvP, whats the proper response
Custom Maps
External Content
Mutation # 483 Kill Bot Wars Mutation # 482 Wheel of Misfortune Mutation # 481 Fear and Lava Mutation # 480 Moths to the Flame
Brood War
General
BGH Auto Balance -> http://bghmmr.eu/ BW General Discussion Corsair Pursuit Micro? Pro gamer house photos Flash Announces (and Retracts) Hiatus From ASL
Tourneys
[Megathread] Daily Proleagues [BSL 2v2] ProLeague Season 3 - Friday 21:00 CET The Casual Games of the Week Thread BWCL Season 63 Announcement
Strategy
Simple Questions, Simple Answers I am doing this better than progamers do.
Other Games
General Games
Nintendo Switch Thread Stormgate/Frost Giant Megathread [MMORPG] Tree of Savior (Successor of Ragnarok) Path of Exile CCLP - Command & Conquer League Project
Dota 2
Official 'what is Dota anymore' discussion
League of Legends
Heroes of the Storm
Simple Questions, Simple Answers Heroes of the Storm 2.0
Hearthstone
Heroes of StarCraft mini-set
TL Mafia
TL Mafia Community Thread Vanilla Mini Mafia
Community
General
US Politics Mega-thread Things Aren’t Peaceful in Palestine Russo-Ukrainian War Thread The Games Industry And ATVI Stop Killing Games - European Citizens Initiative
Fan Clubs
SKT1 Classic Fan Club! Maru Fan Club
Media & Entertainment
Anime Discussion Thread Movie Discussion! [Manga] One Piece Korean Music Discussion [\m/] Heavy Metal Thread
Sports
2024 - 2025 Football Thread Formula 1 Discussion TeamLiquid Health and Fitness Initiative For 2023 NBA General Discussion
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread
TL Community
The Automated Ban List
Blogs
Ping To Win? Pings And Their…
TrAiDoS
momentary artworks from des…
tankgirl
from making sc maps to makin…
Husyelt
StarCraft improvement
iopq
Customize Sidebar...

Website Feedback

Closed Threads



Active: 592 users

Math Puzzle - School Clubs Problem

Blogs > Slithe
Post a Reply
Normal
Slithe
Profile Blog Joined February 2007
United States985 Posts
Last Edited: 2011-11-22 19:26:25
November 20 2011 21:00 GMT
#1
It's been over a year since I've posted my last math puzzle. Hopefully you guys will enjoy this one.

+ Show Spoiler [The Problem] +

There are 100 students at a school, and they want to start a bunch of clubs. However, the school has the following policy about club membership:

1) All clubs must have an odd number of members.
2) If you take any two clubs, the intersection of their members must be an even number.

The students want to create as many clubs as possible, while still following the rules of the school. What's the maximum number of clubs that can be created? Provide a proof.

Clarification:
1) A student can be a member of multiple clubs.


Since the solution requires a proof, there are probably many ways to prove the answer. I have a proof myself, and I think it's sound, but I'm not 100% sure. Also, it's very hard to write the proof in a legible way in text form, so apologies in advance for anyone that tries to read through it.

+ Show Spoiler [Slithe's Proof] +

My approach uses linear algebra. I represent each club as a 100-dimensional vector, where each entry is 1 or 0 to denote that a person is in that club.

I want to prove that if a set of club vectors maintains the Club Property (all clubs must have an odd number of people, there must be an even number of common members between any two clubs), then the set must be linearly independent. Therefore, there can't possibly be more than 100 clubs that satisfy the property since the space is only 100-dimensional.

My way of showing linear independence is by proving that you can always turn a set of club vectors into an equal size set of non-zero orthogonal vectors by way of the Gram-Schmidt Process. The important thing we need to verify is that no generated vector is a zero vector, which I do through induction.

The tl;dr version of the proof is that I leverage the following facts, which are a direct consequence of the Club Property.
1) the inner product of any two distinct club vectors results in an even number.
2) the inner product of a club vector with itself results in an odd number.
The rest of the proof is a lot of vector arithmetic to prove that the generated orthogonal vectors are non-zero.

----------------------------------------

PROOF

Given a Club Set W = {w_1, w_2, ..., w_k}, I will show that it is possible to generate an orthogonal set V = {v_1, v_2, ..., v_k}

Notation:
e = even integer
o = odd integer


----------

Base Case
v_1 = w1
v_1 is trivially non-zero.

----------

Inductive Step

We will generate v_k from the previous vectors {v_1, v_2, ..., v_k-1} using Gram-Schmidt
v_k = w_k - sum(i=1:k-1, (<w_k, v_i> / (||v_i||^2)) * v_i)

Definition of Property P: A vector v_i satisfies property P if the following are true:
1) v_i is a linear combination of W that can be written as such [ v_i = w_i + (e_1/o_1)*w_1 + (e_2/o_2)*w_2 + ... ].
2) v_i is a non-zero vector (This property actually comes as a byproduct of property 1, explained in the appendix)

Assuming that all v_i, i=1:k-1, satisfy property P, then we can show that v_k will also satisfy property P.

First, I assert 2 things (proof in the appendix):
1) the inner product <w_k, v_i> can always be represented as a fraction e/o. Also the inner product is non-zero.
2) the inner product <v_i, v_i> can always be represented as a fraction o/o. Trivially, the inner product is non-zero.

From this, we can derive that (<w_k, v_i> / (||v_i||^2) results in a fraction e/o.

Now let's look at what happens to the whole equation:
v_k = w_k - (e_1/o_1)*v_1 - (e_2/o_2)*v_2 - ...

We can expand out all the v_i terms, but the point is that the resulting v_k will have property P. Therefore, it's always possible to generate an orthogonal set of vectors, proving that W is linearly independent, and that the maximum number of clubs is 100. QED I think...

----------------------------------------

APPENDIX


Proof of non-zero property
First we start with this:
v_i = w_i + (e_1/o_1)*w_1 + (e_2/o_2)*w_2 + ...
Now the important thing to observe is that all the terms except for the first are e/o. the first vector has some number of elements with a value of 1. The corresponding elements in v_i will never be zero, since [1 + e/o != 0].
1 + e/o = o/o + e/o = o/o != 0


Proof of 1st assertion
inner_product = <w_k , v_i>
inner_product = <w_k , w_i + (e_1/o_1)*w_1 + (e_2/o_2)*w_2 + ...>
inner_product = <w_k , w_i> + (e_1/o_1) * <w_k, w_1> + (e_2/o_2) * <w_k, w_2> + ...
I'm tired of typing, but basically you can see that the inner product will result in a e/o fraction.


Proof of 2nd assertion
inner_product = <v_i , v_i>
inner_product = <(w_i + (e_1/o_1)*w_1 + (e_2/o_2)*w_2 + ...) , (w_i + (e_1/o_1)*w_1 + (e_2/o_2)*w_2 + ...)>
Once again, the math is rather tedious so I'm not gonna type it out, but the basic idea is that <w_i, w_i> results in a o/o fraction, while all the rest of the fractions are even fractions, so the resulting value is also an odd fraction.

+ Show Spoiler [Simplified Proof by munchmunch] +

On November 21 2011 07:03 munchmunch wrote:
Hi Slithe, I think your proof can be simplified by doing linear algebra over Z/2.
+ Show Spoiler +
Consider the vector space V = (Z/2)^100. There is a correspondence between subsets of {1,...,100} and vectors of V, given by sending a subspace S to the vector v whose ith entry is 1 if i is an element of S, and 0 otherwise.

Suppose you have a set of subsets S(1),...,S(n) each of odd cardinality, such that the intersections are of even cardinality. Define a bilinear pairing V x V --> Z/2 using the usual dot product formula. Let v(i) be the vector corresponding to S(i). Then the dot product of v(i) with v(j) is 1 if and only if i=j. To show that v(1),...,v(n) are linearly independent, suppose a(1) v(1) + ... + a(n) v(n) = 0, where a(1),...,a(n) are elements of Z/2. Then the dot product of v(i) with the left hand side is a(i), so a(i) must be zero.

Conclusion: any set of subsets satisfying the required conditions corresponds to a linearly independent set of vectors of V.



MonkSEA
Profile Blog Joined April 2011
Australia1227 Posts
November 20 2011 21:19 GMT
#2
Isn't the answer 100?

Having 100 clubs = 1 student per club = 1 club + 1 club = 2, an even number = 100, the answer?
http://www.youtube.com/user/sirmonkeh Zerg Live Casts and Commentary!
NeThZOR
Profile Blog Joined November 2010
South Africa7387 Posts
Last Edited: 2011-11-20 21:28:06
November 20 2011 21:25 GMT
#3
That is some hectic mathematics there lol. I just skimmed through this blog for interest's sake, and I definitely had no chance to provide a proof. Read through your proof though, and it still baffles me. What level of mathematics does this problem assume the solver should master? I am only in high school to be honest.
SuperNova - 2015 | SKT1 fan for years | Dear, FlaSh, PartinG, Soulkey, Naniwa
Pibacc
Profile Joined May 2010
Canada545 Posts
Last Edited: 2011-11-20 21:34:32
November 20 2011 21:33 GMT
#4
edit: im bad at math
Slithe
Profile Blog Joined February 2007
United States985 Posts
November 20 2011 21:34 GMT
#5
@MonkSEA
You have not really proved anything here. You have just asserted that 100 is the most clubs you could possibly create, without showing that it is actually the maximum.

@NethZOR
My proof involves linear algebra, which is generally college level for most people. Some more prodigious individuals may learn some linear algebra in high school.
JeeJee
Profile Blog Joined July 2003
Canada5652 Posts
November 20 2011 21:39 GMT
#6
On November 21 2011 06:34 Slithe wrote:
@MonkSEA
You have not really proved anything here. You have just asserted that 100 is the most clubs you could possibly create, without showing that it is actually the maximum.

@NethZOR
My proof involves linear algebra, which is generally college level for most people. Some more prodigious individuals may learn some linear algebra in high school.


how is monksea's answer not a proof?
a club must have an odd number of people, the minimum such number is 1 since you can't have negative members and 0 is even. So the maximum number of clubs you can possibly make, even disrespecting rule #2 is 100.
And if you make 100 such clubs, intersection of any of the two clubs is 0 since each person is only a part of one club.
(\o/)  If you want it, you find a way. Otherwise you find excuses. No exceptions.
 /_\   aka Shinbi (requesting a name change since 27/05/09 ☺)
Slithe
Profile Blog Joined February 2007
United States985 Posts
November 20 2011 21:41 GMT
#7
On November 21 2011 06:39 JeeJee wrote:
Show nested quote +
On November 21 2011 06:34 Slithe wrote:
@MonkSEA
You have not really proved anything here. You have just asserted that 100 is the most clubs you could possibly create, without showing that it is actually the maximum.

@NethZOR
My proof involves linear algebra, which is generally college level for most people. Some more prodigious individuals may learn some linear algebra in high school.


how is monksea's answer not a proof?
a club must have an odd number of people, the minimum such number is 1 since you can't have negative members and 0 is even. So the maximum number of clubs you can possibly make, even disrespecting rule #2 is 100.
And if you make 100 such clubs, intersection of any of the two clubs is 0 since each person is only a part of one club.


How do you know there isn't another configuration that can involve more than 100 clubs? Are you assuming that each person can only be part of one club?
Soleron
Profile Blog Joined September 2010
United Kingdom1324 Posts
November 20 2011 21:44 GMT
#8
That proof is second year university maths for me, although the intuition to do it that way without prompt will be beyond the majority of maths students.
JeeJee
Profile Blog Joined July 2003
Canada5652 Posts
Last Edited: 2011-11-20 21:44:53
November 20 2011 21:44 GMT
#9
On November 21 2011 06:41 Slithe wrote:
Show nested quote +
On November 21 2011 06:39 JeeJee wrote:
On November 21 2011 06:34 Slithe wrote:
@MonkSEA
You have not really proved anything here. You have just asserted that 100 is the most clubs you could possibly create, without showing that it is actually the maximum.

@NethZOR
My proof involves linear algebra, which is generally college level for most people. Some more prodigious individuals may learn some linear algebra in high school.


how is monksea's answer not a proof?
a club must have an odd number of people, the minimum such number is 1 since you can't have negative members and 0 is even. So the maximum number of clubs you can possibly make, even disrespecting rule #2 is 100.
And if you make 100 such clubs, intersection of any of the two clubs is 0 since each person is only a part of one club.


How do you know there isn't another configuration that can involve more than 100 clubs? Are you assuming that each person can only be part of one club?


yeah.. isn't that a given?
edit: saw your edit. nevermind then
(\o/)  If you want it, you find a way. Otherwise you find excuses. No exceptions.
 /_\   aka Shinbi (requesting a name change since 27/05/09 ☺)
Slithe
Profile Blog Joined February 2007
United States985 Posts
November 20 2011 21:46 GMT
#10
On November 21 2011 06:44 JeeJee wrote:
Show nested quote +
On November 21 2011 06:41 Slithe wrote:
On November 21 2011 06:39 JeeJee wrote:
On November 21 2011 06:34 Slithe wrote:
@MonkSEA
You have not really proved anything here. You have just asserted that 100 is the most clubs you could possibly create, without showing that it is actually the maximum.

@NethZOR
My proof involves linear algebra, which is generally college level for most people. Some more prodigious individuals may learn some linear algebra in high school.


how is monksea's answer not a proof?
a club must have an odd number of people, the minimum such number is 1 since you can't have negative members and 0 is even. So the maximum number of clubs you can possibly make, even disrespecting rule #2 is 100.
And if you make 100 such clubs, intersection of any of the two clubs is 0 since each person is only a part of one club.


How do you know there isn't another configuration that can involve more than 100 clubs? Are you assuming that each person can only be part of one club?


yeah.. isn't that a given?
edit: saw your edit. nevermind then


I'm rather insulted that you thought my problem would be so simple
munchmunch
Profile Joined October 2010
Canada789 Posts
November 20 2011 22:03 GMT
#11
Hi Slithe, I think your proof can be simplified by doing linear algebra over Z/2.
+ Show Spoiler +
Consider the vector space V = (Z/2)^100. There is a correspondence between subsets of {1,...,100} and vectors of V, given by sending a subspace S to the vector v whose ith entry is 1 if i is an element of S, and 0 otherwise.

Suppose you have a set of subsets S(1),...,S(n) each of odd cardinality, such that the intersections are of even cardinality. Define a bilinear pairing V x V --> Z/2 using the usual dot product formula. Let v(i) be the vector corresponding to S(i). Then the dot product of v(i) with v(j) is 1 if and only if i=j. To show that v(1),...,v(n) are linearly independent, suppose a(1) v(1) + ... + a(n) v(n) = 0, where a(1),...,a(n) are elements of Z/2. Then the dot product of v(i) with the left hand side is a(i), so a(i) must be zero.

Conclusion: any set of subsets satisfying the required conditions corresponds to a linearly independent set of vectors of V.
blankspace
Profile Blog Joined June 2010
United States292 Posts
November 20 2011 22:05 GMT
#12
err it's pretty easy to show that the set of vectors should be linearly independent:

suppose v_1...v_k are your vectors. If sum( a_iv_i) = 0, we may assume that not all a_i are even. But taking the dot product with v_i results in a_i |v_i|^2 = 0 mod 2, since |v_i|^2 is odd then a_i = 0 mod 2 for all i, contradiction.
Hello friends
Slithe
Profile Blog Joined February 2007
United States985 Posts
November 20 2011 22:23 GMT
#13
On November 21 2011 07:05 blankspace wrote:
err it's pretty easy to show that the set of vectors should be linearly independent:

suppose v_1...v_k are your vectors. If sum( a_iv_i) = 0, we may assume that not all a_i are even. But taking the dot product with v_i results in a_i |v_i|^2 = 0 mod 2, since |v_i|^2 is odd then a_i = 0 mod 2 for all i, contradiction.


I'm not following where the assumption that not all a_i are even is coming from. Can you clarify that for me?
Muirhead
Profile Blog Joined October 2007
United States556 Posts
November 20 2011 22:30 GMT
#14
Why wouldn't you do everything over $\mathbb{F}_2$?
starleague.mit.edu
Slithe
Profile Blog Joined February 2007
United States985 Posts
November 20 2011 22:40 GMT
#15
On November 21 2011 07:30 Muirhead wrote:
Why wouldn't you do everything over $\mathbb{F}_2$?


Your notation is foreign to me, but I"m guessing you're talking about working on a field modulo 2? It looks like munchmunch does that, and it certainly makes proving it a lot simpler. The thought didn't cross my mind, because I'm not super good at these puzzles.

I think blankspace is also working along the same lines?
Frozenhelfire
Profile Joined May 2010
United States420 Posts
November 21 2011 04:45 GMT
#16
You can get to 100 without any fancy math. Each student forms his/her own club. No intersection. Zero is an even number (http://en.wikipedia.org/wiki/Parity_of_zero).
polar bears are fluffy
Muirhead
Profile Blog Joined October 2007
United States556 Posts
November 21 2011 05:18 GMT
#17
On November 21 2011 13:45 Frozenhelfire wrote:
You can get to 100 without any fancy math. Each student forms his/her own club. No intersection. Zero is an even number (http://en.wikipedia.org/wiki/Parity_of_zero).


The "fancy math" is needed to show that you can't get higher than 100. The other half of the problem is to show you can get to 100, which you did .

It's been a while since you posted these Slithe. I remember some roadrunner problem pretty well .
Most folks use F_p for the field with p elements, because Z_p often refers to the p-adic integers. There's a rather large group of these Putnamesque problems in combinatorics that center around using linear algebra modulo 2. I assumed you grabbed it from a list of similar problems... especially since it's a rather large leap to decide to use linear algebra in the first place if you haven't seen something like this before.

It's not so often in combinatorics that you see a problem like this in which the optimum bound (100) can be achieved in so many different ways. When you have intuition that the optimum bound in a problem shows is achieved nearly 100% of the time from random configurations it is often the case that there is algebraic structure in the problem.
starleague.mit.edu
Slithe
Profile Blog Joined February 2007
United States985 Posts
November 21 2011 06:02 GMT
#18
On November 21 2011 14:18 Muirhead wrote:
Show nested quote +
On November 21 2011 13:45 Frozenhelfire wrote:
You can get to 100 without any fancy math. Each student forms his/her own club. No intersection. Zero is an even number (http://en.wikipedia.org/wiki/Parity_of_zero).


The "fancy math" is needed to show that you can't get higher than 100. The other half of the problem is to show you can get to 100, which you did .

It's been a while since you posted these Slithe. I remember some roadrunner problem pretty well .
Most folks use F_p for the field with p elements, because Z_p often refers to the p-adic integers. There's a rather large group of these Putnamesque problems in combinatorics that center around using linear algebra modulo 2. I assumed you grabbed it from a list of similar problems... especially since it's a rather large leap to decide to use linear algebra in the first place if you haven't seen something like this before.

It's not so often in combinatorics that you see a problem like this in which the optimum bound (100) can be achieved in so many different ways. When you have intuition that the optimum bound in a problem shows is achieved nearly 100% of the time from random configurations it is often the case that there is algebraic structure in the problem.


I heard the problem from a friend, and it's very possible that he got it from a math competition, Putnam or otherwise. I personally have not competed much in math competitions, so I'm usually learning something new with each puzzle. In hindsight, it seems pretty obvious that working in F_2 would make things much simpler
blankspace
Profile Blog Joined June 2010
United States292 Posts
Last Edited: 2011-11-21 15:34:45
November 21 2011 15:07 GMT
#19
On November 21 2011 07:23 Slithe wrote:
Show nested quote +
On November 21 2011 07:05 blankspace wrote:
err it's pretty easy to show that the set of vectors should be linearly independent:

suppose v_1...v_k are your vectors. If sum( a_iv_i) = 0, we may assume that not all a_i are even. But taking the dot product with v_i results in a_i |v_i|^2 = 0 mod 2, since |v_i|^2 is odd then a_i = 0 mod 2 for all i, contradiction.


I'm not following where the assumption that not all a_i are even is coming from. Can you clarify that for me?


well if a_i all share a common factor you could just factor out that common factor and get a set of b_i who share no common factor. So in particular you can assume 2 doesn't divide all a_i. (if 2x_1+6x_2 = 0, then x_1 + 3x_2 = 0).

Edit: Oops sorry I actually used a result that I didn't state -_-

Fact: since v_i...v_k all have rational coordinates, if there is a linear dependence sum(a_iv_i) = 0 where a_i are in R, then there exists a linear dependence sum(k_iv_i) where k_i are in Z. This isn't too hard to prove. Then we can use the argument above

Hmm I might as well prove it. Suppose a_iv_i = 0 where not all a_i are zero. Let M be the matrix with v_i as its columns, so the vector a is a non-trivial solution to Ma = 0. Let's say we have n vectors with m coordinates, so M is mxn. Then M is a linear map from R^n -> R^m with non trivial kernel, so by the rank nullity theorem, rank(M) < n.
Call the first n-1 rows of the matrix M', so there is a solution to the system M'x = v_n. Since all coordinates are rational, the row reduction algorithm has no steps involving irrationals.

Now once you get a linear dependence in Q, just clear denominators to get it in Z.

Hello friends
turdburgler
Profile Blog Joined January 2011
England6749 Posts
November 21 2011 16:58 GMT
#20
100 clubs and each student is only in their own club

each club only has 1 member
the intersection of any 2 clubs is 0, an even number

your all over complicating this!
Valkynaz
Profile Joined May 2009
Estonia4 Posts
Last Edited: 2011-11-22 16:04:54
November 21 2011 17:24 GMT
#21
Edit: Turns out my solution was wrong as every club does not have to be a group at the beginning of the game.
Slithe
Profile Blog Joined February 2007
United States985 Posts
November 21 2011 18:11 GMT
#22
On November 22 2011 01:58 turdburgler wrote:
100 clubs and each student is only in their own club

each club only has 1 member
the intersection of any 2 clubs is 0, an even number

your all over complicating this!


You've only shown that at minimum you can get 100 clubs. You still need to show what the maximum is.
Soleron
Profile Blog Joined September 2010
United Kingdom1324 Posts
November 21 2011 20:24 GMT
#23
On November 22 2011 01:58 turdburgler wrote:
100 clubs and each student is only in their own club

each club only has 1 member
the intersection of any 2 clubs is 0, an even number

your all over complicating this!


prove that there can't be 101 or more clubs.
ymir233
Profile Blog Joined June 2010
United States8275 Posts
November 21 2011 20:32 GMT
#24
lol I really like the solution because yours is relatively straightforward - do linear algebra, 0 or 1 in each slot, apply the rules to the inner product (though I prefer straight bra-ket over random-ass commas, esp. when later on you have shits like probability distributions flying around), then above 100 is disallowed and you make sure that everything below 100 can be straightened out all right.

Probably might have done something like that if I had heard "linear" beforehand, else I might have done something weird.

Mmm-mmm the smell of orthogonal vectors in the morning...
Come motivate me to be cynical about animus at http://infinityandone.blogspot.com/ // Stork proxy gates are beautiful.
KillerPenguin
Profile Joined June 2004
United States516 Posts
November 21 2011 20:46 GMT
#25
As a number of people pointed out, the maximum is not 100, it's infinity. I always hated proofs, I guess if you can find a way in math to say someone can have as many clubs as they want and a club with 1 person satisfies both conditions than u get infinity.
http://www.escapeintolife.com/
Valkynaz
Profile Joined May 2009
Estonia4 Posts
Last Edited: 2011-11-21 20:56:40
November 21 2011 20:48 GMT
#26
On November 22 2011 05:46 KillerPenguin wrote:
As a number of people pointed out, the maximum is not 100, it's infinity. I always hated proofs, I guess if you can find a way in math to say someone can have as many clubs as they want and a club with 1 person satisfies both conditions than u get infinity.


This doesn't work because the intersection of two clubs must be an even number. If one person is the sole member of two different clubs then the intersection of those two clubs is 1 which is an odd number.
Cruncharoo
Profile Blog Joined March 2011
United States136 Posts
November 21 2011 21:32 GMT
#27
You cannot have more than 100 groups because the intersection of any "new" group after the 100th and the single groups that it is made up by is 1.
Slithe
Profile Blog Joined February 2007
United States985 Posts
November 21 2011 22:18 GMT
#28
On November 22 2011 06:32 Cruncharoo wrote:
You cannot have more than 100 groups because the intersection of any "new" group after the 100th and the single groups that it is made up by is 1.


It is possible to have groups that are not made of singles.

I will demonstrate with a 4 person school, A B C D.

Club 1: A B C
Club 2: A B D
Club 3: A C D
Club 4: B C D

As you can see, each club has 3 people, but we can still create 4 clubs. In the case of 100 clubs things certainly get more complicated, so you cannot simply assume that every club is made of 1 person.
Cruncharoo
Profile Blog Joined March 2011
United States136 Posts
Last Edited: 2011-11-22 01:18:20
November 22 2011 01:15 GMT
#29
On November 22 2011 07:18 Slithe wrote:
Show nested quote +
On November 22 2011 06:32 Cruncharoo wrote:
You cannot have more than 100 groups because the intersection of any "new" group after the 100th and the single groups that it is made up by is 1.


It is possible to have groups that are not made of singles.

I will demonstrate with a 4 person school, A B C D.

Club 1: A B C
Club 2: A B D
Club 3: A C D
Club 4: B C D

As you can see, each club has 3 people, but we can still create 4 clubs. In the case of 100 clubs things certainly get more complicated, so you cannot simply assume that every club is made of 1 person.


edit -- we are talking about different things.
Deadeight
Profile Blog Joined September 2010
United Kingdom1629 Posts
Last Edited: 2011-11-22 02:09:22
November 22 2011 01:46 GMT
#30
EDIT: Answered my own question.

EDIT 2: Ok, no I am having trouble with this one. I was trying, as an exercise, to make a python code to do this. I'm basically making a big matrix with 100 columns, and the rows will be every possible club combination.

The issue I am getting is that the first 100 rows give me this this:

1 0 0 0 . . . 0
0 1 0 0 . . . 0
0 0 1 0 . . . 0
0 0 0 1 . . . 0

As you would expect. But then I am getting:

1 1 1 0 0 0 . . . 0
0 1 1 1 0 0 . . . 0
0 0 1 1 1 0 . . . 0
etc


Clearly this is wrong, because at the end when it checks for the dimension, it will produce an answer far greater than 100, which seems to be the general consensus here. Though looking at the initial conditions I'm not even sure what the above violates.
blankspace
Profile Blog Joined June 2010
United States292 Posts
November 22 2011 02:26 GMT
#31
@deadeight
pretty sure that 1,0,0,0,0... and 1,1,1,0,0,0,0 don't share an even number of club members (intersection is 1)
Hello friends
Slithe
Profile Blog Joined February 2007
United States985 Posts
November 22 2011 02:30 GMT
#32
@deadeight
if I had to guess, you're probably not comparing each new row pairwise with all the previous possibilities. Perhaps you're only comparing with the immediately preceding row?
Deadeight
Profile Blog Joined September 2010
United Kingdom1629 Posts
Last Edited: 2011-11-22 12:07:37
November 22 2011 12:07 GMT
#33
Yeah you're both right.

I was checking for it in slightly the wrong way. I also think it's not a great way to go about it, because it will give just one possible combination of clubs that could not be made any bigger. It would span correctly, but I'd need to prove linear independence as well for it to be a basis (so that I knew the maximum dimension of a given combination is the same for any other combination).

EDIT: Gave in and looked at the proof in the OP, much better way to do it
rkffhk
Profile Blog Joined November 2010
474 Posts
Last Edited: 2011-11-22 12:19:52
November 22 2011 12:15 GMT
#34
+ Show Spoiler +
The answer is infinity. Each student can be a member of infinitely many clubs where each club contains one person. When you take the intersection of any two of these "clubs", you will get the even number called zero.


Deal with it. B]

(The problem was probably stated incorrectly)
"Did not realize gold was such an important threshold for people, I guess I honestly take it for granted that if people practice / invest enough time into this game then they would make diamond in no time." ~Caihead
Valkynaz
Profile Joined May 2009
Estonia4 Posts
November 22 2011 12:38 GMT
#35
On November 22 2011 21:15 rkffhk wrote:
+ Show Spoiler +
The answer is infinity. Each student can be a member of infinitely many clubs where each club contains one person. When you take the intersection of any two of these "clubs", you will get the even number called zero.


Deal with it. B]

(The problem was probably stated incorrectly)



No, when you take the intersection of two clubs where for both clubs the same person is the sole member, you get the intersection as 1. This was already discussed earlier as well...
rkffhk
Profile Blog Joined November 2010
474 Posts
Last Edited: 2011-11-22 23:33:44
November 22 2011 23:32 GMT
#36
On November 22 2011 21:38 Valkynaz wrote:
Show nested quote +
On November 22 2011 21:15 rkffhk wrote:
+ Show Spoiler +
The answer is infinity. Each student can be a member of infinitely many clubs where each club contains one person. When you take the intersection of any two of these "clubs", you will get the even number called zero.


Deal with it. B]

(The problem was probably stated incorrectly)



No, when you take the intersection of two clubs where for both clubs the same person is the sole member, you get the intersection as 1. This was already discussed earlier as well...

Nope, because I defined a club to be a set containing only 1 person in the second sentence of that spoiler~

And I can get away with it because the rules said I could (since 1 is an odd number)

Deal with it B]
"Did not realize gold was such an important threshold for people, I guess I honestly take it for granted that if people practice / invest enough time into this game then they would make diamond in no time." ~Caihead
Slithe
Profile Blog Joined February 2007
United States985 Posts
November 22 2011 23:56 GMT
#37
On November 23 2011 08:32 rkffhk wrote:
Show nested quote +
On November 22 2011 21:38 Valkynaz wrote:
On November 22 2011 21:15 rkffhk wrote:
+ Show Spoiler +
The answer is infinity. Each student can be a member of infinitely many clubs where each club contains one person. When you take the intersection of any two of these "clubs", you will get the even number called zero.


Deal with it. B]

(The problem was probably stated incorrectly)



No, when you take the intersection of two clubs where for both clubs the same person is the sole member, you get the intersection as 1. This was already discussed earlier as well...

Nope, because I defined a club to be a set containing only 1 person in the second sentence of that spoiler~

And I can get away with it because the rules said I could (since 1 is an odd number)

Deal with it B]


Let me demonstrate the issue with your proposal with a concrete example. Let's say that you have two sets both with the same person in it:
A = { x }
B = { x }
C = A ∩ B = { x }
| C | = 1

As you can see, the intersection of A and B has an odd number of people, which is a violation of the rules.
rkffhk
Profile Blog Joined November 2010
474 Posts
November 23 2011 02:15 GMT
#38
:O my pants have been caught down at my ankles
"Did not realize gold was such an important threshold for people, I guess I honestly take it for granted that if people practice / invest enough time into this game then they would make diamond in no time." ~Caihead
Hidden_MotiveS
Profile Blog Joined February 2010
Canada2562 Posts
Last Edited: 2011-11-23 06:35:10
November 23 2011 06:30 GMT
#39
wow... I can't figure it out.

There's a balance point though.

for n students
you want to have a certain number of groups.
and a certain number of students (I think all) overlapping in each group with other groups.


I can kinda see the problem solution intuitively in my head, and to solve it I'd have to use matlab and bruteforce the solution.



I don't think the answer is infinite groups. That's just plain silly :p
Normal
Please log in or register to reply.
Live Events Refresh
Next event in 8h 46m
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
Nina 263
RuFF_SC2 108
ProTech49
Vindicta 18
StarCraft: Brood War
NaDa 62
League of Legends
JimRising 625
Counter-Strike
Fnx 1745
taco 473
Super Smash Bros
C9.Mang03846
hungrybox584
Other Games
summit1g14864
tarik_tv9146
shahzam781
Day[9].tv368
Maynarde189
Trikslyr75
Organizations
Other Games
gamesdonequick2166
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 15 non-featured ]
StarCraft 2
• Hupsaiya 102
• intothetv
• AfreecaTV YouTube
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
Dota 2
• masondota22863
League of Legends
• TFBlade875
Other Games
• Scarra1271
• Day9tv368
Upcoming Events
Esports World Cup
8h 46m
ByuN vs Astrea
Lambo vs HeRoMaRinE
Clem vs TBD
Solar vs Zoun
SHIN vs Reynor
Maru vs TriGGeR
herO vs Lancer
Cure vs ShoWTimE
Esports World Cup
1d 8h
Esports World Cup
2 days
Esports World Cup
3 days
CranKy Ducklings
4 days
BSL20 Non-Korean Champi…
4 days
BSL20 Non-Korean Champi…
4 days
Bonyth vs Sziky
Dewalt vs Hawk
Hawk vs QiaoGege
Sziky vs Dewalt
Mihu vs Bonyth
Zhanhun vs QiaoGege
QiaoGege vs Fengzi
FEL
5 days
BSL20 Non-Korean Champi…
5 days
BSL20 Non-Korean Champi…
5 days
Bonyth vs Zhanhun
Dewalt vs Mihu
Hawk vs Sziky
Sziky vs QiaoGege
Mihu vs Hawk
Zhanhun vs Dewalt
Fengzi vs Bonyth
Liquipedia Results

Completed

CSL Xiamen Invitational
Championship of Russia 2025
Murky Cup #2

Ongoing

Copa Latinoamericana 4
Jiahua Invitational
BSL20 Non-Korean Championship
Esports World Cup 2025
CC Div. A S7
Underdog Cup #2
FISSURE Playground #1
BLAST.tv Austin Major 2025
ESL Impact League Season 7
IEM Dallas 2025
PGL Astana 2025
Asian Champions League '25

Upcoming

CSLPRO Last Chance 2025
CSLPRO Chat StarLAN 3
BSL Season 21
RSL Revival: Season 2
SEL Season 2 Championship
uThermal 2v2 Main Event
FEL Cracov 2025
HCC Europe
ESL Pro League S22
StarSeries Fall 2025
FISSURE Playground #2
BLAST Open Fall 2025
BLAST Open Fall Qual
Esports World Cup 2025
BLAST Bounty Fall 2025
BLAST Bounty Fall Qual
IEM Cologne 2025
TLPD

1. ByuN
2. TY
3. Dark
4. Solar
5. Stats
6. Nerchio
7. sOs
8. soO
9. INnoVation
10. Elazer
1. Rain
2. Flash
3. EffOrt
4. Last
5. Bisu
6. Soulkey
7. Mini
8. Sharp
Sidebar Settings...

Advertising | Privacy Policy | Terms Of Use | Contact Us

Original banner artwork: Jim Warren
The contents of this webpage are copyright © 2025 TLnet. All Rights Reserved.