City Square

There are some markets in a city.Some of them are joined by one-way streets,such that for any market,there are exactly two street to leave out .

The city can be partitioned into N N districts such that streets join only markets from different districts,and by the same one-way for any two districts.( either only from first to second,or vice-versa )

If N N is a multiple of 13 and less than 2000, find the value of N N .


The answer is 1014.

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

1 solution

Bolin Chen
Apr 10, 2016

Lemma For a Graph whose edges is directed.If every vertex‘s out-degree is not more than k k ,then we can use 2 k + 1 2k+1 colors to color all vertices,such that adjacent vertices are colored with different colors.

We use induction on the total number of vertices n n .

When n 2 k + 1 n≤2k+1 ,let all vertices are colored with different colors.

If the conclusion of the n 1 n-1 was established, the following prove that it was also set up for n n .

∵Total number of edges is n k nk and the sum of in-degree and out degree is 2 n k 2nk at most.

∴Select the vertex A A with the minimum degree.Its degree is 2 k 2k at most.

For the remaining n-1 vertices,use the induction hypothesis.We can use 2k-1 colors to color them.

For vertex A A ,there are 2 k 2k points adjacenting to it.So there must be a color that is different from those of the adjacent points.

Color A A in this color.

Induction propositions are proved.

∴The conclusion is tenable for arbitrary n n .

Place the square in the problem as a point;place the one-way traffic as directed edge.Get graph G G

We construct G G' :The points in G G' and the poionts in G G is one one correspondence.When and only when the two points in the G G have path whose length is no more than 2 to the connection,these two points are connected in the G G' and are directed.

So,each point's out-degree in G G' is 6 6 at most.

For the lemma,we can ues 2 × 6 + 1 = 13 2 \times 6+1=13 colors to color every points in G G' such that adjacent vertices are colored with different colors.

Put the same color point in a set,we get A 1 , A 2 , A 13 A_{1},A_{2}…,A_{13}

Then,for the point in A i A_{i} ,starting from it to reach another point in the G with a step or two steps is not in A i A_{i} .

For each set A i A_{i} ,in accordance with the two "out" direction adjacent vertices to each point of the set to group.

Two "out" direction adjacent vertices in A j A_{j} , j i j≠i , in the same time, there are 12 kinds. Two "out" direction adjacent vertices respectively in A j A_{j} and A k A_{k} , i , j , k i,j,k being not equal to each other,there are ( 12 2 ) \binom{12}{2} = 66 =66 kinds.

So get 13 × ( 12 + 66 ) = 1014 13 \times (12+66)=\boxed{1014} kinds.

The following verify that this combination is satisfied.

①Two groups in A i A_{i} at the same time.(May wish to assume i = 1 i=1 )

No edge between any two points in this two group.It is satisfied.

②Two groups respectively in A j A_{j} and A k A_{k}

If it is not satisfied,then A , B A I , C , D A j , s . t . A C , D B ∃A,B∈A_{I},C,D∈A_{j},s.t.A→C,D→B .

Because A , B A,B in the same group, B B also points to point E E in A j A_{j} .Then the length of path D B E D→B→E is 2,from A j A_{j} to A j A_{j} .Paradoxical!

∴The path between A i , A j A_{i},A_{j} is one-way.

Q.E.D

I'm trying to understand your problem and solution, but find that it is unclear. Can you provide more clarity?


I'm trying to rephrase your problem to avoid "squares". This is where I've gotten to:

In a country, there are a number of towns which are connected via one-directional roads. Every town has exactly two roads which leads out of it.

The towns can be divided into N N groups, so that:
1. No two towns within a group are directly connected by a road.
2. Given any two groups, the road's direction between these groups is exactly the same.

How should the final question be phrased? Are you asking for the minimal value of N N such that this is always possible?


Are we disallowing a loop between 2 "squares"? If no, then I can imagine scenarios where your second condition cannot be satisfied.

Calvin Lin Staff - 5 years, 2 months ago

Log in to reply

I have modified the expression of the problem and will modify the solution later = =...

Bolin Chen - 5 years, 2 months ago

the question is not clear.

Srikanth Tupurani - 2 years, 3 months ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...