回複:朋友們試試這個,不知道幾星

來源: dynamic 2009-04-25 02:36:31 [] [舊帖] [給我悄悄話] 本文已被閱讀: 次 (1324 bytes)
本文內容已被 [ dynamic ] 在 2009-04-30 07:14:03 編輯過。如有問題,請報告版主或論壇管理刪除.
color the grids into white and black in the standard way. Here is one observation:

Claim 1. If a proper coloring exists, then the number of red grids in white is equal to that in black.

The proof is easy. It is sufficient to notice that in a valid coloring the red grids are disjoint 1*2 blocks.

Another observation is that the white grids and black grids can be decoupled. That is to say, if you can find a coloring for white grids such that each black grid has exactly one "white red" neighbor, and similarly one such coloring for black grids, then together they form a valid coloring.

Now suppose n is odd, then the four corners are of the same color, say white.

Claim 2. A valid coloring of white grids can be obtained by coloring all white grids whose coordinate satisfies x mod 2 = 0 and (x + y) mod 4 = 0.

Proof. Let (x,y) be a black grid. If x mod 2 = 0, then (x-1,y) and (x+1,y) are not red, and exactly one of (x,y-1) and (x,y+1) is red. The case where x mod 2 = 1 is similar.

Claim 3. Another valid coloring of white grids can be obtained by coloring all white grids satisfying x mod 2 = 0 and (x + y) mod 4 = 2.

Proof. Exactly the same as above.

However, the number of red white grids in claim 2 and 3 are differed by 1, contradicting claim 1.

所有跟帖: 

two comments... -dynamic- 給 dynamic 發送悄悄話 (275 bytes) () 04/25/2009 postreply 02:48:44

one more comment -dynamic- 給 dynamic 發送悄悄話 (1066 bytes) () 04/25/2009 postreply 03:02:49

請您先登陸,再發跟帖!

發現Adblock插件

如要繼續瀏覽
請支持本站 請務必在本站關閉/移除任何Adblock

關閉Adblock後 請點擊

請參考如何關閉Adblock/Adblock plus

安裝Adblock plus用戶請點擊瀏覽器圖標
選擇“Disable on www.wenxuecity.com”

安裝Adblock用戶請點擊圖標
選擇“don't run on pages on this domain”