• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 08:00
CEST 14:00
KST 21:00
  • 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
TL.net Map Contest #21: Voting6[ASL20] Ro4 Preview: Descent11Team TLMC #5: Winners Announced!3[ASL20] Ro8 Preview Pt2: Holding On9Maestros of the Game: Live Finals Preview (RO4)5
Community News
Weekly Cups (Oct 6-12): Four star herO65.0.15 Patch Balance Hotfix (2025-10-8)77Weekly Cups (Sept 29-Oct 5): MaxPax triples up3PartinG joins SteamerZone, returns to SC2 competition325.0.15 Balance Patch Notes (Live version)119
StarCraft 2
General
5.0.15 Patch Balance Hotfix (2025-10-8) Revisiting the game after10 years and wow it's bad TL.net Map Contest #21: Voting The New Patch Killed Mech! Ladder Impersonation (only maybe)
Tourneys
LiuLi Cup - September 2025 Tournaments SC4ALL $6,000 Open LAN in Philadelphia Sparkling Tuna Cup - Weekly Open Tournament Master Swan Open (Global Bronze-Master 2) Tenacious Turtle Tussle
Strategy
Custom Maps
External Content
Mutation # 495 Rest In Peace Mutation # 494 Unstable Environment Mutation # 493 Quick Killers Mutation # 492 Get Out More
Brood War
General
BW caster Sayle BW General Discussion Map with fog of war removed for one player? Pros React To: BarrackS + FlaSh Coaching vs SnOw After 20 seasons we have a lot of great maps
Tourneys
[ASL20] Semifinal A [ASL20] Semifinal B SC4ALL $1,500 Open Bracket LAN [Megathread] Daily Proleagues
Strategy
Relatively freeroll strategies Current Meta BW - ajfirecracker Strategy & Training Siegecraft - a new perspective
Other Games
General Games
Dawn of War IV Stormgate/Frost Giant Megathread Nintendo Switch Thread ZeroSpace Megathread Path of Exile
Dota 2
Official 'what is Dota anymore' discussion LiquidDota to reintegrate into TL.net
League of Legends
Heroes of the Storm
Simple Questions, Simple Answers Heroes of the Storm 2.0
Hearthstone
Deck construction bug Heroes of StarCraft mini-set
TL Mafia
SPIRED by.ASL Mafia {211640} TL Mafia Community Thread
Community
General
US Politics Mega-thread Things Aren’t Peaceful in Palestine Russo-Ukrainian War Thread Men's Fashion Thread Sex and weight loss
Fan Clubs
The herO Fan Club! The Happy Fan Club!
Media & Entertainment
[Manga] One Piece Anime Discussion Thread Movie Discussion!
Sports
2024 - 2026 Football Thread Formula 1 Discussion MLB/Baseball 2023 NBA General Discussion TeamLiquid Health and Fitness Initiative For 2023
World Cup 2022
Tech Support
SC2 Client Relocalization [Change SC2 Language] Linksys AE2500 USB WIFI keeps disconnecting Computer Build, Upgrade & Buying Resource Thread
TL Community
The Automated Ban List Recent Gifted Posts
Blogs
Inbreeding: Why Do We Do It…
Peanutsc
From Tilt to Ragequit:The Ps…
TrAiDoS
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1086 users

Math Problem

Forum Index > General Forum
Post a Reply
1 2 3 Next All
mmp
Profile Blog Joined April 2009
United States2130 Posts
Last Edited: 2009-06-03 17:51:56
May 28 2009 21:26 GMT
#1
Alyssa and Ben play a game of 2-Tic-Tac-Toe on a 2x2 grid. Alyssa and Ben take turns claiming territory until one player makes 2-in-a-row with their territory. Alyssa goes first, and it is obvious that she always wins.

Extend this to 3-Tic-Tac-Toe for a 3x3x3 cube. It is less readily apparent that Alyssa can still win every time. Assume Alyssa plays optimally, so she doesn't make mistakes or throw the game for Ben (who is very miserable losing over and over again).

To be clear, a 2-TTT game has 6 winning positions across 2 dimensions (4 orthogonal and 2 diagonal). So a 3-TTT game has 27 1-dimensional wins, 18 over 2 dimensions, and 4 over 3 dimensions.

Edit: An n-TTT game is defined to have n^n cells over n dimensions. A 4-TTT game therefore has 256 cells over 4 dimensions, and is a 4-dimensional hypercube. To visualize: draw a 4x4 grid of 16 smaller 4x4 grids. You can win 4-TTT on just one grid, across a row of 4 grids, or diagonally across the grids (marking one cell in each grid). In this image there are 5 winning arrangements.
+ Show Spoiler +
web.mit.edu/mikemp/Public/4-TTT.png


Prove/disprove that Alyssa has a winning strategy for any n-TTT game.

Hint:
+ Show Spoiler +


This problem hinges on whether or not it is possible for the game to draw.

Case 1: A draw is possible for all n.
Case 2: A draw is possible for some n.
Case 3: A draw is impossible.

Credit to Muirhead for intuition regarding the third case:
+ Show Spoiler +

Assume that Ben (who plays second) has a winning strategy. Alyssa plays first in any location, and subsequently will play out Ben's strategy as though she were second to play. Any time Alyssa's strategy would require a move in a place she already owns, she simply takes another arbitrarily since she already owns the location mandated by her strategy. By deferring the initiative Alyssa steals Ben's strategy, thus forming a contradiction. By this contradiction Ben cannot have a winning strategy if a draw is impossible.

A subtle point: Alyssa's first move does not jeopardize the strategy she stole from Ben, since it does not lend Ben any stronger of a strategy. Alyssa loses no options by making this move, although her opponent is weakened.


Intuition says that case 3 is reality, but a proof is still necessary. Can you think of a clean or elegant way of showing that a completely filled n-TTT board must contain an n-in-a-row?


This is a game that I played with a friend way before getting into SC. We played for n=4,5. Hope that you enjoy the problem!
I (λ (foo) (and (<3 foo) ( T_T foo) (RAGE foo) )) Starcraft
Xenixx
Profile Joined June 2008
United States499 Posts
May 28 2009 21:27 GMT
#2
I was told there would be no math involved upon registering. 1 post wonder.
paper
Profile Blog Joined September 2004
13196 Posts
Last Edited: 2009-05-28 21:39:13
May 28 2009 21:31 GMT
#3
1. post math problem.
2. claim you know the solution.
3. ???
4. reap answers!
Hates Fun🤔
RaGe
Profile Blog Joined July 2004
Belgium9947 Posts
May 28 2009 21:38 GMT
#4
Is a Min-Max tree an allowed solution? Or is that computing the problem instead of solving it?
Moderatorsometimes I get intimidated by the size of my right testicle
mmp
Profile Blog Joined April 2009
United States2130 Posts
May 28 2009 21:38 GMT
#5
I enjoy reading TL for strategy, news, and its math sub-culture. I think other TLers will appreciate the problem.

Sorry for having a first post. Everyone has a first post. If you know a particular thread this would best be directed to, please let me know.
I (λ (foo) (and (<3 foo) ( T_T foo) (RAGE foo) )) Starcraft
Xenixx
Profile Joined June 2008
United States499 Posts
May 28 2009 21:41 GMT
#6
On May 29 2009 06:38 mmp wrote:
I enjoy reading TL for strategy, news, and its math sub-culture. I think other TLers will appreciate the problem.

Sorry for having a first post. Everyone has a first post. If you know a particular thread this would best be directed to, please let me know.


Well you shouldn't apologize because now you have 2 posts. See how easy that was?
evanthebouncy!
Profile Blog Joined June 2006
United States12796 Posts
May 28 2009 21:45 GMT
#7
On May 29 2009 06:38 mmp wrote:
I enjoy reading TL for strategy, news, and its math sub-culture. I think other TLers will appreciate the problem.

Sorry for having a first post. Everyone has a first post. If you know a particular thread this would best be directed to, please let me know.

no no do enjoy the math subculture :p
Read my blogs.
I'll work on this problem in the library.
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!
mmp
Profile Blog Joined April 2009
United States2130 Posts
May 28 2009 21:48 GMT
#8
RaGe: assume that n can be arbitrarily (and infinitely) large. Computing a winning solution for some constant n is cool, but there will always be a larger n so it doesn't help very much in the proof.

You are proving that Alyssa's winning strategy *exists* for any n-TTT. The method by which she wins is not the intent of this problem.
I (λ (foo) (and (<3 foo) ( T_T foo) (RAGE foo) )) Starcraft
mmp
Profile Blog Joined April 2009
United States2130 Posts
May 28 2009 21:51 GMT
#9
On May 29 2009 06:45 evanthebouncy! wrote:
Show nested quote +
On May 29 2009 06:38 mmp wrote:
I enjoy reading TL for strategy, news, and its math sub-culture. I think other TLers will appreciate the problem.

Sorry for having a first post. Everyone has a first post. If you know a particular thread this would best be directed to, please let me know.

no no do enjoy the math subculture :p
Read my blogs.
I'll work on this problem in the library.


I read your problems. Fun stuff.
I (λ (foo) (and (<3 foo) ( T_T foo) (RAGE foo) )) Starcraft
evanthebouncy!
Profile Blog Joined June 2006
United States12796 Posts
May 28 2009 21:51 GMT
#10
so if I pick n, my playboard will be n^n size?
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!
RaGe
Profile Blog Joined July 2004
Belgium9947 Posts
Last Edited: 2009-05-28 22:04:37
May 28 2009 21:53 GMT
#11
On May 29 2009 06:51 evanthebouncy! wrote:
so if I pick n, my playboard will be n^n size?

edit: i read it as n x n sorry lol
Moderatorsometimes I get intimidated by the size of my right testicle
mmp
Profile Blog Joined April 2009
United States2130 Posts
May 28 2009 21:53 GMT
#12
On May 29 2009 06:51 evanthebouncy! wrote:
so if I pick n, my playboard will be n^n size?


That is correct. a 4-TTT game is 4x4x4x4, or 256 cells that can be claimed over 4 dimensions.
I (λ (foo) (and (<3 foo) ( T_T foo) (RAGE foo) )) Starcraft
jonnyp
Profile Blog Joined May 2009
United States415 Posts
May 28 2009 21:56 GMT
#13
we have a math subculture? awesome ill mosey over to your blog now
The number of years it takes for the Internet to move past anything is way, way over 9000.
bellweather
Profile Blog Joined April 2009
United States404 Posts
Last Edited: 2009-05-28 22:12:29
May 28 2009 22:05 GMT
#14
On May 29 2009 06:45 evanthebouncy! wrote:
Show nested quote +
On May 29 2009 06:38 mmp wrote:
I enjoy reading TL for strategy, news, and its math sub-culture. I think other TLers will appreciate the problem.

Sorry for having a first post. Everyone has a first post. If you know a particular thread this would best be directed to, please let me know.

no no do enjoy the math subculture :p
Read my blogs.
I'll work on this problem in the library.


I'm really lazy. Link?
Interesting problem. I'm trying to do the proof by induction, not working out well, haha.

Edit: Nevermind, found it.=)
A mathematician is a blind man in a dark room looking for a black cat which isnt' there. -Charles Darwin
Macavenger
Profile Blog Joined January 2008
United States1132 Posts
May 28 2009 22:29 GMT
#15
+ Show Spoiler +
This is probably going to be worded fairly poorly, because I'm kinda bad at formal mathematical proofs, but here goes anyway:

Proof by induction:
Assume that there exists a winning strategy for (n-1)-TTT for the first player. This means that the first player can force a string of length n-1 in n-1 dimensions, creating the immediate threat of a length n string in the (n-1)th dimension, which his opponent must immediately block or he will lose the game. The player can then apply this strategy in each of the (n-1)th dimensions making up the nth dimension. Eventually by filling up the nth dimension with the (n-1) winning strategy, he will be able to force a win in the nth dimension, as the opponent will be unable to block him from winning both in the (n-1)th (n-1)th dimension, and in the nth dimension simultaneously.

There is a winning strategy for n=2, as detailed in the original post: Taking any corner on the first move creates 3 possibilities to win on the next move, only 1 of which can be blocked by the opponent.

Since a winning strategy exists for n=2, and we have shown that a winning strategy for n-1 implies a winning strategy for n, there is a winning strategy for all n. QED.
toopham
Profile Blog Joined December 2005
United States551 Posts
Last Edited: 2009-05-28 22:43:53
May 28 2009 22:39 GMT
#16
On May 29 2009 07:29 Macavenger wrote:
+ Show Spoiler +
This is probably going to be worded fairly poorly, because I'm kinda bad at formal mathematical proofs, but here goes anyway:

Proof by induction:
Assume that there exists a winning strategy for (n-1)-TTT for the first player. This means that the first player can force a string of length n-1 in n-1 dimensions, creating the immediate threat of a length n string in the (n-1)th dimension, which his opponent must immediately block or he will lose the game. The player can then apply this strategy in each of the (n-1)th dimensions making up the nth dimension. Eventually by filling up the nth dimension with the (n-1) winning strategy, he will be able to force a win in the nth dimension, as the opponent will be unable to block him from winning both in the (n-1)th (n-1)th dimension, and in the nth dimension simultaneously.

There is a winning strategy for n=2, as detailed in the original post: Taking any corner on the first move creates 3 possibilities to win on the next move, only 1 of which can be blocked by the opponent.

Since a winning strategy exists for n=2, and we have shown that a winning strategy for n-1 implies a winning strategy for n, there is a winning strategy for all n. QED.


Your method sounds perfect for this problem but I'm not quite so sure about the proof itself. I just don't get it as it is worded poorly xD

Edit: Got it.
DIE!!!
hixhix
Profile Blog Joined September 2004
1156 Posts
May 28 2009 22:43 GMT
#17
On May 29 2009 07:29 Macavenger wrote:
+ Show Spoiler +
This is probably going to be worded fairly poorly, because I'm kinda bad at formal mathematical proofs, but here goes anyway:

Proof by induction:
Assume that there exists a winning strategy for (n-1)-TTT for the first player. This means that the first player can force a string of length n-1 in n-1 dimensions, creating the immediate threat of a length n string in the (n-1)th dimension, which his opponent must immediately block or he will lose the game. The player can then apply this strategy in each of the (n-1)th dimensions making up the nth dimension. Eventually by filling up the nth dimension with the (n-1) winning strategy, he will be able to force a win in the nth dimension, as the opponent will be unable to block him from winning both in the (n-1)th (n-1)th dimension, and in the nth dimension simultaneously.

There is a winning strategy for n=2, as detailed in the original post: Taking any corner on the first move creates 3 possibilities to win on the next move, only 1 of which can be blocked by the opponent.

Since a winning strategy exists for n=2, and we have shown that a winning strategy for n-1 implies a winning strategy for n, there is a winning strategy for all n. QED.


The second player can block anywhere anytime in the n^n dimension, he's not forced to play within each (n-1)^(n-1) dimension with the first player.
Macavenger
Profile Blog Joined January 2008
United States1132 Posts
May 28 2009 22:52 GMT
#18
On May 29 2009 07:43 hixhix wrote:
Show nested quote +
On May 29 2009 07:29 Macavenger wrote:
+ Show Spoiler +
This is probably going to be worded fairly poorly, because I'm kinda bad at formal mathematical proofs, but here goes anyway:

Proof by induction:
Assume that there exists a winning strategy for (n-1)-TTT for the first player. This means that the first player can force a string of length n-1 in n-1 dimensions, creating the immediate threat of a length n string in the (n-1)th dimension, which his opponent must immediately block or he will lose the game. The player can then apply this strategy in each of the (n-1)th dimensions making up the nth dimension. Eventually by filling up the nth dimension with the (n-1) winning strategy, he will be able to force a win in the nth dimension, as the opponent will be unable to block him from winning both in the (n-1)th (n-1)th dimension, and in the nth dimension simultaneously.

There is a winning strategy for n=2, as detailed in the original post: Taking any corner on the first move creates 3 possibilities to win on the next move, only 1 of which can be blocked by the opponent.

Since a winning strategy exists for n=2, and we have shown that a winning strategy for n-1 implies a winning strategy for n, there is a winning strategy for all n. QED.


The second player can block anywhere anytime in the n^n dimension, he's not forced to play within each (n-1)^(n-1) dimension with the first player.

Shouldn't matter. The first player can do the n-1 dimensions in any order, skipping around in them according to what the second player is doing, etc. Also, the first player has n directions to radiate out from his initial play into the nth dimension, and only n-1 of them can be blocked before the second player is forced to respond.

Probably should have written something about that in, but like I said, I'm bad at these, even 3 years ago when I was last in practice at writing them :p
toopham
Profile Blog Joined December 2005
United States551 Posts
May 28 2009 22:55 GMT
#19
On May 29 2009 07:43 hixhix wrote:
Show nested quote +
On May 29 2009 07:29 Macavenger wrote:
+ Show Spoiler +
This is probably going to be worded fairly poorly, because I'm kinda bad at formal mathematical proofs, but here goes anyway:

Proof by induction:
Assume that there exists a winning strategy for (n-1)-TTT for the first player. This means that the first player can force a string of length n-1 in n-1 dimensions, creating the immediate threat of a length n string in the (n-1)th dimension, which his opponent must immediately block or he will lose the game. The player can then apply this strategy in each of the (n-1)th dimensions making up the nth dimension. Eventually by filling up the nth dimension with the (n-1) winning strategy, he will be able to force a win in the nth dimension, as the opponent will be unable to block him from winning both in the (n-1)th (n-1)th dimension, and in the nth dimension simultaneously.

There is a winning strategy for n=2, as detailed in the original post: Taking any corner on the first move creates 3 possibilities to win on the next move, only 1 of which can be blocked by the opponent.

Since a winning strategy exists for n=2, and we have shown that a winning strategy for n-1 implies a winning strategy for n, there is a winning strategy for all n. QED.


The second player can block anywhere anytime in the n^n dimension, he's not forced to play within each (n-1)^(n-1) dimension with the first player.


I think the keyword is simultaneously. If he attack the n dimension then the other dimensions are vulnerable for attack, which the 2nd player will have to block eventually as it becomes a threat thus giving an opening for the n-dimension.

Another way of thinking is since we assume the n-1 dimensions is optimal, if the 2nd player block on the n-dimension then the 1st player will have 1 extra move on the n-1 dimensions which would win him the game on the n-1 dimensions.
DIE!!!
hixhix
Profile Blog Joined September 2004
1156 Posts
Last Edited: 2009-05-28 23:19:47
May 28 2009 23:17 GMT
#20
So let's do an example.

First player picks the corner (1, 1, 1). Consider the 2-dimension grid (1, x, y), now there are 3 possible winning positions for player 1.

Second player picks (1, 1, 2), then what happens next? I know the strategy for first player to win, but I fail to see how it reduces to 2x2 grid game.
1 2 3 Next All
Please log in or register to reply.
Live Events Refresh
The PondCast
10:00
Episode 67
Liquipedia
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
Lowko252
ProTech62
StarCraft: Brood War
Britney 32371
Calm 5495
Rain 2215
Hyuk 1943
firebathero 1354
Flash 1051
BeSt 545
Soma 465
PianO 360
Stork 299
[ Show more ]
EffOrt 266
Light 245
Mini 241
Hyun 236
Mind 229
Last 160
Snow 129
ZerO 107
Soulkey 105
Nal_rA 97
ggaemo 78
Pusan 70
Mong 63
Killer 62
Barracks 58
zelot 56
Shinee 55
hero 50
Larva 45
Rush 42
Sea.KH 37
Icarus 27
Aegong 27
JYJ26
Backho 26
sorry 23
sas.Sziky 20
Free 17
Shine 16
Movie 14
yabsab 14
Hm[arnc] 10
IntoTheRainbow 10
SilentControl 9
Terrorterran 7
Zeus 1
Dota 2
XcaliburYe783
BananaSlamJamma592
XaKoH 327
League of Legends
JimRising 403
Reynor75
Counter-Strike
olofmeister3301
shoxiejesuss513
x6flipin240
byalli193
allub139
oskar55
edward21
Other Games
summit1g5861
singsing1922
B2W.Neo570
crisheroes280
DeMusliM248
Fuzer 90
Mew2King65
rGuardiaN28
ZerO(Twitch)9
Organizations
Counter-Strike
PGL16880
StarCraft: Brood War
UltimateBattle 96
StarCraft 2
WardiTV88
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 13 non-featured ]
StarCraft 2
• LUISG 26
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• iopq 4
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
League of Legends
• Jankos1723
Upcoming Events
OSC
1m
Wardi Open
23h 1m
CranKy Ducklings
1d 22h
Safe House 2
2 days
Sparkling Tuna Cup
2 days
Safe House 2
3 days
Tenacious Turtle Tussle
6 days
The PondCast
6 days
Liquipedia Results

Completed

CSL 2025 AUTUMN (S18)
WardiTV TLMC #15
HCC Europe

Ongoing

BSL 21 Points
ASL Season 20
C-Race Season 1
IPSL Winter 2025-26
EC S1
Thunderpick World Champ.
CS Asia Championships 2025
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

Upcoming

SC4ALL: Brood War
BSL Season 21
BSL 21 Team A
RSL Offline Finals
RSL Revival: Season 3
Stellar Fest
SC4ALL: StarCraft II
CranK Gathers Season 2: SC II Pro Teams
eXTREMESLAND 2025
ESL Impact League Season 8
SL Budapest Major 2025
BLAST Rivals Fall 2025
IEM Chengdu 2025
PGL Masters Bucharest 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.