• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 21:52
CEST 03:52
KST 10:52
  • 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
RSL Season 1 - Final Week6[ASL19] Finals Recap: Standing Tall12HomeStory Cup 27 - Info & Preview18Classic wins Code S Season 2 (2025)16Code S RO4 & Finals Preview: herO, Rogue, Classic, GuMiho0
Community News
Esports World Cup 2025 - Brackets Revealed10Weekly Cups (July 7-13): Classic continues to roll4Team TLMC #5 - Submission extension3Firefly given lifetime ban by ESIC following match-fixing investigation17$25,000 Streamerzone StarCraft Pro Series announced7
StarCraft 2
General
RSL Revival patreon money discussion thread Who will win EWC 2025? The GOAT ranking of GOAT rankings Weekly Cups (July 7-13): Classic continues to roll Esports World Cup 2025 - Brackets Revealed
Tourneys
FEL Cracov 2025 (July 27) - $8000 live event RSL: Revival, a new crowdfunded tournament series $5,100+ SEL Season 2 Championship (SC: Evo) WardiTV Mondays Sparkling Tuna Cup - Weekly Open Tournament
Strategy
How did i lose this ZvP, whats the proper response Simple Questions Simple Answers
Custom Maps
External Content
Mutation # 482 Wheel of Misfortune Mutation # 481 Fear and Lava Mutation # 480 Moths to the Flame Mutation # 479 Worn Out Welcome
Brood War
General
Flash Announces (and Retracts) Hiatus From ASL BGH Auto Balance -> http://bghmmr.eu/ BW General Discussion Starcraft in widescreen A cwal.gg Extension - Easily keep track of anyone
Tourneys
[Megathread] Daily Proleagues Cosmonarchy Pro Showmatches CSL Xiamen International Invitational [BSL20] Non-Korean Championship 4x BSL + 4x China
Strategy
Simple Questions, Simple Answers I am doing this better than progamers do.
Other Games
General Games
Nintendo Switch Thread Stormgate/Frost Giant Megathread Path of Exile CCLP - Command & Conquer League Project The PlayStation 5
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 Russo-Ukrainian War Thread Stop Killing Games - European Citizens Initiative Summer Games Done Quick 2025! Things Aren’t Peaceful in Palestine
Fan Clubs
SKT1 Classic Fan Club! Maru Fan Club
Media & Entertainment
[Manga] One Piece Movie Discussion! Anime Discussion Thread [\m/] Heavy Metal Thread
Sports
Formula 1 Discussion TeamLiquid Health and Fitness Initiative For 2023 2024 - 2025 Football Thread NBA General Discussion NHL Playoffs 2024
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread
TL Community
The Automated Ban List
Blogs
Men Take Risks, Women Win Ga…
TrAiDoS
momentary artworks from des…
tankgirl
from making sc maps to makin…
Husyelt
StarCraft improvement
iopq
Trip to the Zoo
micronesia
Customize Sidebar...

Website Feedback

Closed Threads



Active: 683 users

[Math Puzzle] Day12

Blogs > evanthebouncy!
Post a Reply
Normal
evanthebouncy!
Profile Blog Joined June 2006
United States12796 Posts
Last Edited: 2009-05-29 05:01:40
May 28 2009 21:42 GMT
#1
edit: This is, i think, one of the cooler puzzles so do give it a shot!

Last day's puzzle was first solved by Origami, good job!
+ Show Spoiler [solution] +

First do 5 races of 5 horses, call these 5 races group A B C D E.
Then race the winner of each race, say a b c d e, call this race F.
The winner of F will be the top one horse.
Suppose the first/second/third place for race F is b/a/c in that order.

Suppose b wins race F, then in group B, there can potentially be the 2nd and 3rd place, beaten by B. So take the 2nd and 3rd horse from group B. (say they're b_2, b_3)

Suppose a is 2nd place in race F, then in group A, a could've beaten a real 3rd place. So take the 2nd place from group A. (say it's a_2)

So now we race a, a_2, b_2, b_3, c to find out which is the real 2nd and 3rd place.


I'm reading this combinatorics book, so it has some great problems, I'll share one now.

Suppose we take all the integer coordinates of R^2, (i.e. (0,0), (1,1), (4,5), (-1,-4), and so on), and color each of those coordinates with one of SIX colors, for instance, say we color (4, -2) with RED, and (-4, 5) with BLUE, and so on...

Prove that for any coloring scheme, there exists a rectangle, which has four verticies that has the same color. (For instance, maybe (0,0) (1,0) (0,1) (1,1) all has GREEN, then we'd have a rectangle who's verticies are all green).

Again, answers in spoilers and if you cannot solve it before you leave this blog, post your partially formed thoughts so others can draw some inspirations (And for me personally I want to see lots of replies since it makes me think these blogs are worthwhile <3).

GL HF(this one's tricky, I didn't solve it till I read the solutions)!

*****
Life is run, it is dance, it is fast, passionate and BAM!, you dance and sing and booze while you can for now is the time and time is mine. Smile and laugh when still can for now is the time and soon you die!
paper
Profile Blog Joined September 2004
13196 Posts
Last Edited: 2009-05-28 22:10:12
May 28 2009 22:04 GMT
#2
+ Show Spoiler +
e.g. take the color C at (0,0), arbitrarily move along the positive x-axis until you reach the same color C at some coordinate (X,0). move in the positive y direction for both aforementioned coords until (0,Y) and (X,Y) share the same color? if you take all of R2, this is bound to happen --> infinity.
Hates Fun🤔
Elemenope
Profile Blog Joined March 2006
Burkina Faso1704 Posts
May 28 2009 22:06 GMT
#3
On May 29 2009 07:04 paper wrote:
+ Show Spoiler +
e.g. take the color C at (0,0), arbitrarily move along the positive x-axis until you reach the same color C at some coordinate (X,0). move in the positive y direction for both aforementioned coords until (0,Y) and (X,Y) share the same color? if you take all of R2, this is bound to happen --> infinity




This is why we play dota.
In DotA you could
evanthebouncy!
Profile Blog Joined June 2006
United States12796 Posts
May 28 2009 22:06 GMT
#4
On May 29 2009 07:04 paper wrote:
+ Show Spoiler +
e.g. take the color C at (0,0), arbitrarily move along the positive x-axis until you reach the same color C at some coordinate (X,0). move in the positive y direction for both aforementioned coords until (0,Y) and (X,Y) share the same color? if you take all of R2, this is bound to happen --> infinity


+ Show Spoiler +

what if the color at (0,0) is green, and there's only 1 green on our entire coordinate system?
Life is run, it is dance, it is fast, passionate and BAM!, you dance and sing and booze while you can for now is the time and time is mine. Smile and laugh when still can for now is the time and soon you die!
paper
Profile Blog Joined September 2004
13196 Posts
Last Edited: 2009-05-28 22:10:51
May 28 2009 22:09 GMT
#5
On May 29 2009 07:06 evanthebouncy! wrote:
Show nested quote +
On May 29 2009 07:04 paper wrote:
+ Show Spoiler +
e.g. take the color C at (0,0), arbitrarily move along the positive x-axis until you reach the same color C at some coordinate (X,0). move in the positive y direction for both aforementioned coords until (0,Y) and (X,Y) share the same color? if you take all of R2, this is bound to happen --> infinity


+ Show Spoiler +

what if the color at (0,0) is green, and there's only 1 green on our entire coordinate system?


+ Show Spoiler +
since there is a finite number of colors, you are bound to end up with a rectangle somewhere (and the origin choice was arbitrary).
Hates Fun🤔
Elemenope
Profile Blog Joined March 2006
Burkina Faso1704 Posts
May 28 2009 22:10 GMT
#6
On May 29 2009 07:09 paper wrote:
Show nested quote +
On May 29 2009 07:06 evanthebouncy! wrote:
On May 29 2009 07:04 paper wrote:
+ Show Spoiler +
e.g. take the color C at (0,0), arbitrarily move along the positive x-axis until you reach the same color C at some coordinate (X,0). move in the positive y direction for both aforementioned coords until (0,Y) and (X,Y) share the same color? if you take all of R2, this is bound to happen --> infinity


+ Show Spoiler +

what if the color at (0,0) is green, and there's only 1 green on our entire coordinate system?


+ Show Spoiler +
since there is a finite number of colors, you are bound to end up with a rectangle somewhere


This is why we play dota.
In DotA you could
Konfustikator
Profile Joined May 2009
New Zealand17 Posts
Last Edited: 2009-05-29 00:09:19
May 28 2009 22:36 GMT
#7
Been lurking TL, never posted.

Edit added Spoiler tag.

+ Show Spoiler +
Consider the X-axis, (X,0). Since there is a finite number of colours, and an infinite number of points, at least 1 of the colours is repeated infinitely many times. Call this colour ONE. Remove the columns where the colours are not ONE.

Now repeat for (X,1), at least one of the colours is infinite, call this colour TWO. Remove all columns not colour TWO in the (X,1) row.

So now we have a map with all ONE in the (X,0) and all TWO in the (X,1).

Keep going for (X,2) ... (X,6). We have 7 rows, and 6 colours. One of the colours is repeated. So there are infinitely many rectangles of the repeated colour.

Edit: Actually, you can keep going along the Y direction, one of the colours will appear infinitely many times. So you can have the existence of a infinite two-d rectangular grid of 1 colour.
illu
Profile Blog Joined December 2008
Canada2531 Posts
May 28 2009 23:14 GMT
#8
Konfustikator, I don't think your argument is correct, since I can tactically set the colours in a way such that the repeated colour do not have anything that forms a rectangle. For example, when you get the 7th column you argued that there will be two columns of the same colour, but out of these two columns, one may have the coloured ones only at odd numbers and the other one only at even, then you cannot form a rectangle.

Here's my solution.
+ Show Spoiler +

If it's too hard to understand I will draw some pictures later.
First choose a horizontal line that contains 6 points of the same colour (this must be possible). Through these 6 points we draw 6 vertical lines, and consider each 6-tuple of points that are on the 6 vertical lines that are on a horizontal line. Although there are infinitely many of these 6-tuples we will only consider 7*6^6 + 1 many of them (7*6^6 + 1 is a very conservative estimate, but it works). Note that each 6-tuple has 6^6 different ways of colouring, so for 7*6^6 + 1 many of 6-tuples, at least 7 6-tuples have the same colours. Furthermore, for each of these 3 6-tuples, each of the 6 points must have difference colours (otherwise we have a rectangle of the same colour). Now out of these 7 6-tuples, draw horizontal lines across them, and consider the intersection of these 7 horizontal lines with another vertical line (there are 7 intersections). Thus out of these 7 points at least two have the same colour, which will form a rectangle with two other points on some of the 7 6-tuples.
:]
illu
Profile Blog Joined December 2008
Canada2531 Posts
May 28 2009 23:15 GMT
#9
Reserved for a picture in case it is needed.
:]
Konfustikator
Profile Joined May 2009
New Zealand17 Posts
Last Edited: 2009-05-29 00:08:26
May 29 2009 00:08 GMT
#10
I think you misread my solution. I remove any columns that do not have the infinite colour.
illu
Profile Blog Joined December 2008
Canada2531 Posts
May 29 2009 00:32 GMT
#11
On May 29 2009 09:08 Konfustikator wrote:
I think you misread my solution. I remove any columns that do not have the infinite colour.


I don't see how my example contradicts with this statement.
:]
Pseudo_Utopia
Profile Blog Joined December 2002
Canada827 Posts
May 29 2009 01:29 GMT
#12
I'm pretty sure I got it...

+ Show Spoiler +
I didn't read anything in spoilers, so here's my reasoning. Take a column centered on the x-axis with length 2y. Since you have 6 colors to use on those 2y+1 points, there are P(2y+1,6) ways to set up this column. This is a finite number, so if you take exactly that number of columns (all centered on the x-axis but with different x-values), you'll either have two identical ones or every single possible coloring scheme. If you take one more, you have two identical ones for sure. This will necessarily produce a rectangle as the colors line up (say, 2 blues in both columns, which have respective common y-values) as long as 2y+1 > 6, so as long as y>=3.
Retired SchiSm[LighT]
Konfustikator
Profile Joined May 2009
New Zealand17 Posts
May 29 2009 01:49 GMT
#13
When I make the (X,0) row all the colour ONE, I remove all columns which do not have ONE in their (X,0) position. So the new map which I work off, has all colour ONE on the x-axis. eg If the x-axis is 1 2 1 3 1 4 1 5 ...., then the 2,4,6,8th colums are all removed, so the map has 1 1 1 1 1 on the x-axis.

The new map is infinite, same as the old map. But now it has all 1s in the (x,0) row.

Then repeat for the 2nd (x,1) row.

The new map is infinite, with all 1s in the 1st row, and all 2s in the second row.

etc.
evanthebouncy!
Profile Blog Joined June 2006
United States12796 Posts
May 29 2009 05:00 GMT
#14
bump
Life is run, it is dance, it is fast, passionate and BAM!, you dance and sing and booze while you can for now is the time and time is mine. Smile and laugh when still can for now is the time and soon you die!
Wonders
Profile Blog Joined September 2006
Australia753 Posts
Last Edited: 2009-05-29 06:36:57
May 29 2009 06:35 GMT
#15
Pseudo_Utopia's solution seems to be right, but it applies to any number of colours, not just 6.
evanthebouncy!
Profile Blog Joined June 2006
United States12796 Posts
May 29 2009 06:41 GMT
#16
On May 29 2009 10:49 Konfustikator wrote:
When I make the (X,0) row all the colour ONE, I remove all columns which do not have ONE in their (X,0) position. So the new map which I work off, has all colour ONE on the x-axis. eg If the x-axis is 1 2 1 3 1 4 1 5 ...., then the 2,4,6,8th colums are all removed, so the map has 1 1 1 1 1 on the x-axis.

The new map is infinite, same as the old map. But now it has all 1s in the (x,0) row.

Then repeat for the 2nd (x,1) row.

The new map is infinite, with all 1s in the 1st row, and all 2s in the second row.

etc.


yes urs works, his works too.
Life is run, it is dance, it is fast, passionate and BAM!, you dance and sing and booze while you can for now is the time and time is mine. Smile and laugh when still can for now is the time and soon you die!
Monoxide
Profile Blog Joined January 2007
Canada1190 Posts
May 29 2009 09:39 GMT
#17
Wow that's cool stuff. Is this stuff graduate level?
evanthebouncy!
Profile Blog Joined June 2006
United States12796 Posts
May 29 2009 10:34 GMT
#18
On May 29 2009 18:39 Monoxide wrote:
Wow that's cool stuff. Is this stuff graduate level?

no i'm just undergrad reading combinatorics book haha :D
Life is run, it is dance, it is fast, passionate and BAM!, you dance and sing and booze while you can for now is the time and time is mine. Smile and laugh when still can for now is the time and soon you die!
Monoxide
Profile Blog Joined January 2007
Canada1190 Posts
May 29 2009 13:22 GMT
#19
On May 29 2009 19:34 evanthebouncy! wrote:
Show nested quote +
On May 29 2009 18:39 Monoxide wrote:
Wow that's cool stuff. Is this stuff graduate level?

no i'm just undergrad reading combinatorics book haha :D


Oh ya?? I just finished first year, soo my math is only at a first year level.
Gnojfatelob
Profile Joined April 2008
Belgium216 Posts
Last Edited: 2009-05-29 14:21:18
May 29 2009 14:20 GMT
#20
On May 29 2009 07:04 paper wrote:
+ Show Spoiler +
e.g. take the color C at (0,0), arbitrarily move along the positive x-axis until you reach the same color C at some coordinate (X,0). move in the positive y direction for both aforementioned coords until (0,Y) and (X,Y) share the same color? if you take all of R2, this is bound to happen --> infinity.


This is trial and error, this is not proof. I am pretty sure you'd fail with this answer at any graduate course. But I suppose its acceptable here. You are thinking from a programmers perspective and not from a mathmaticians point of view.
Probably the best starcraft player in the world
King K. Rool
Profile Blog Joined May 2009
Canada4408 Posts
Last Edited: 2009-05-29 15:18:22
May 29 2009 15:17 GMT
#21
Psuedo_Utopia has the same solution I worked out, so if it IS that solution, then I don't think this is really undergrad stuff, more like high-school math contest TBH (if you did good on contests, not trying to come off as pretentious). Seems like problem solving skills are enough to arrive at the proof, and requires no theorems or anything.
mmp
Profile Blog Joined April 2009
United States2130 Posts
Last Edited: 2009-05-29 20:55:24
May 29 2009 20:14 GMT
#22
Yeah, it seems that everyone has the answer already. Here is my attempt at a semi-formal proof:

+ Show Spoiler +

Let a row contain an infinite sequence of elements belonging to {1,2,3,4,5,6}. A row is guaranteed to contain at least 2 of some element (since there are greater than 6 elements in the sequence). Let N be the width that separates these two identical elements in a row.

Define the column to be an infinite sequence of rows. No two rows in a column can be identical, nor can any two adjacent sub-sequences (both) containing identical elements be identical, lest there exist a rectangle.

An N-wide sub-sequence containing identical elements must exist and has only 6^N permutations. There are infinite unique rows in the column, but not infinite permutations of this sub-sequence.
I (λ (foo) (and (<3 foo) ( T_T foo) (RAGE foo) )) Starcraft
evanthebouncy!
Profile Blog Joined June 2006
United States12796 Posts
June 01 2009 07:48 GMT
#23
On May 30 2009 00:17 King K. Rool wrote:
Psuedo_Utopia has the same solution I worked out, so if it IS that solution, then I don't think this is really undergrad stuff, more like high-school math contest TBH (if you did good on contests, not trying to come off as pretentious). Seems like problem solving skills are enough to arrive at the proof, and requires no theorems or anything.


right and you come to a thread titled "math puzzle" expecting things that requires stacked theorems. This problem is in chapter 1 of my Combinatorics book on pigeon hole principle.
Life is run, it is dance, it is fast, passionate and BAM!, you dance and sing and booze while you can for now is the time and time is mine. Smile and laugh when still can for now is the time and soon you die!
Normal
Please log in or register to reply.
Live Events Refresh
PiGosaur Monday
00:00
#40
CranKy Ducklings227
EnkiAlexander 84
davetesta48
rockletztv 31
Liquipedia
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
Nina 212
RuFF_SC2 139
Livibee 102
CosmosSc2 57
StarCraft: Brood War
Britney 5065
Leta 664
MaD[AoV]33
Icarus 11
Dota 2
NeuroSwarm122
League of Legends
Cuddl3bear3
Counter-Strike
Coldzera 204
Super Smash Bros
hungrybox504
Mew2King116
Other Games
summit1g13374
shahzam1102
Day[9].tv852
ViBE254
Maynarde154
Trikslyr77
Organizations
Other Games
gamesdonequick3157
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 16 non-featured ]
StarCraft 2
• Berry_CruncH179
• OhrlRock 2
• Migwel
• sooper7s
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
StarCraft: Brood War
• STPLYoutube
• ZZZeroYoutube
• BSLYoutube
League of Legends
• Doublelift4052
• TFBlade763
Other Games
• Scarra1270
• Day9tv852
Upcoming Events
uThermal 2v2 Circuit
14h 8m
Replay Cast
22h 8m
The PondCast
1d 8h
OSC
1d 11h
WardiTV European League
1d 14h
Replay Cast
1d 22h
Epic.LAN
2 days
CranKy Ducklings
3 days
Epic.LAN
3 days
CSO Contender
3 days
[ Show More ]
BSL20 Non-Korean Champi…
3 days
Bonyth vs Sziky
Dewalt vs Hawk
Hawk vs QiaoGege
Sziky vs Dewalt
Mihu vs Bonyth
Zhanhun vs QiaoGege
QiaoGege vs Fengzi
Sparkling Tuna Cup
4 days
Online Event
4 days
BSL20 Non-Korean Champi…
4 days
Bonyth vs Zhanhun
Dewalt vs Mihu
Hawk vs Sziky
Sziky vs QiaoGege
Mihu vs Hawk
Zhanhun vs Dewalt
Fengzi vs Bonyth
Esports World Cup
6 days
ByuN vs Astrea
Lambo vs HeRoMaRinE
Clem vs TBD
Solar vs Zoun
SHIN vs Reynor
Maru vs TriGGeR
herO vs Lancer
Cure vs ShoWTimE
Liquipedia Results

Completed

CSL 17: 2025 SUMMER
RSL Revival: Season 1
Murky Cup #2

Ongoing

JPL Season 2
BSL 2v2 Season 3
Copa Latinoamericana 4
Jiahua Invitational
BSL20 Non-Korean Championship
Championship of Russia 2025
FISSURE Playground #1
BLAST.tv Austin Major 2025
ESL Impact League Season 7
IEM Dallas 2025
PGL Astana 2025
Asian Champions League '25
BLAST Rivals Spring 2025
MESA Nomadic Masters

Upcoming

CSL Xiamen Invitational
CSL Xiamen Invitational: ShowMatche
2025 ACS Season 2
CSLPRO Last Chance 2025
CSLPRO Chat StarLAN 3
BSL Season 21
K-Championship
RSL Revival: Season 2
SEL Season 2 Championship
uThermal 2v2 Main Event
FEL Cracov 2025
Esports World Cup 2025
Underdog Cup #2
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.