#Shouldn't the answer be this?
43 messages · Page 1 of 1 (latest)
- Wait patiently for a helper to come along.
- Once someone helps you, say thank you and close the thread with:
+close
- Feel free to nominate the person for helper of the week in #helper-nominations
- Do not ping the mods, unless someone is breaking the rules.
- If you're happy with the help you got here, and the server overall, you can contribute financially as well:
Since if we have a directed 3-cycle ( a triangle with directed edges) we can find another 3-cycle triangle but with reversed directions
So for every 3 points there are 2 3-cycle out of them. And since every point is connected to each other, the answer should be 2 * how many triangles are in the completed graph with 2n+1 nodes
The answer should be 2 * ((2n+1) choose 3)
Why is my argument wrong?
we can find another 3-cycle triangle but with reversed directions
So for every 3 points there are 2 3-cycle out of them.
I don't understand this.
I think the problem consider the teams as sets of points. So, {x,y,z} = {y,z,x} = ...
when you do $\binom{2n+1}{3}$, you assume that all the triangles form a cycle, which is not true. If x beats y, y beat z, and x beat z, they don't form a cycle.
k12byda5h
Well if you look at it like that they might not do
But if you choose 3 points
Then you find 2 cycles out of them X,Y,Z and X,Z,Y
I still don't see what is wrong
I am not picking edges
I am picking points
Oh wait
You are right
You could say, if X,Y,Z form a triplet, then Z,X,Y and Y,Z,X form
but not X,Z,Y
Yeah, that's why it's choose and not arrangements
But I think I see what the problem was
But this is a language problem. We need to talk to the writer what is his intention.
But that is a small point in this problem. The main is to count the maximum number of directed 3-cycle.
Yeah...
The graph is complete directed graph.
Now it's actually a hard problem
I will work on that. I will have a class soon.
Good luck
I got it
Do you know double counting? @dim kraken
here are som hint: ||counting cycle of length 3 is hard. Finding a triangle that is not a cycle is easier. (by double counting)||
ahhhh, if you don't know double counting, this prolem might be hard for you.
There are $2n+1$ vertices. The $i^{th}$ vertex has edges pointing outward $d_{i}$.
Note that if a triangle is not a cycle, there must be exactly one vertex having 2 out-edges.
k12byda5h
By double counting, we get that the number of triangles that are not cycles is $$\sum_{i} = \binom{d_i}{2}.$$ Note that $d_1+d_2+\dots+d_{2n+1} = \binom{2n+1}{2}$. Since $\binom{x}{2}$ is convex, that expression is at least $$(2n+1)\binom{n}{2}$$