• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 02:50
CEST 08:50
KST 15:50
  • 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
[ASL19] Finals Recap: Standing Tall9HomeStory Cup 27 - Info & Preview18Classic wins Code S Season 2 (2025)16Code S RO4 & Finals Preview: herO, Rogue, Classic, GuMiho0TL Team Map Contest #5: Presented by Monster Energy6
Community News
Flash Announces Hiatus From ASL61Weekly Cups (June 23-29): Reynor in world title form?13FEL Cracov 2025 (July 27) - $8000 live event19Esports World Cup 2025 - Final Player Roster16Weekly Cups (June 16-22): Clem strikes back1
StarCraft 2
General
Statistics for vetoed/disliked maps Program: SC2 / XSplit / OBS Scene Switcher The SCII GOAT: A statistical Evaluation Weekly Cups (June 23-29): Reynor in world title form? PiG Sty Festival #5: Playoffs Preview + Groups Recap
Tourneys
FEL Cracov 2025 (July 27) - $8000 live event RSL: Revival, a new crowdfunded tournament series Korean Starcraft League Week 77 Master Swan Open (Global Bronze-Master 2) [GSL 2025] Code S: Season 2 - Semi Finals & Finals
Strategy
How did i lose this ZvP, whats the proper response Simple Questions Simple Answers
Custom Maps
[UMS] Zillion Zerglings
External Content
Mutation # 480 Moths to the Flame Mutation # 479 Worn Out Welcome Mutation # 478 Instant Karma Mutation # 477 Slow and Steady
Brood War
General
Flash Announces Hiatus From ASL Player “Jedi” cheat on CSL ASL20 Preliminary Maps SC uni coach streams logging into betting site BGH Mineral Boosts Tutorial Video
Tourneys
[BSL20] Grand Finals - Sunday 20:00 CET [Megathread] Daily Proleagues Small VOD Thread 2.0 [BSL20] GosuLeague RO16 - Tue & Wed 20:00+CET
Strategy
Simple Questions, Simple Answers I am doing this better than progamers do.
Other Games
General Games
Path of Exile Stormgate/Frost Giant Megathread Nintendo Switch Thread What do you want from future RTS games? Beyond All Reason
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 Trading/Investing Thread Things Aren’t Peaceful in Palestine The Games Industry And ATVI
Fan Clubs
SKT1 Classic Fan Club! Maru Fan Club
Media & Entertainment
Anime Discussion Thread [Manga] One Piece [\m/] Heavy Metal Thread
Sports
2024 - 2025 Football Thread Formula 1 Discussion NBA General Discussion TeamLiquid Health and Fitness Initiative For 2023 NHL Playoffs 2024
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread
TL Community
Blogs
Culture Clash in Video Games…
TrAiDoS
from making sc maps to makin…
Husyelt
Blog #2
tankgirl
StarCraft improvement
iopq
Trip to the Zoo
micronesia
Customize Sidebar...

Website Feedback

Closed Threads



Active: 539 users

[Math Puzzle] Day 1

Blogs > evanthebouncy!
Post a Reply
Normal
evanthebouncy!
Profile Blog Joined June 2006
United States12796 Posts
Last Edited: 2009-04-27 17:39:20
April 27 2009 17:13 GMT
#1
I stopped playing massive game so I'll keep u guys entertained with these puzzles. This is round 1. The first to have the right answer with correct methods and intuitions(and put into a spoiler here) will be in honorary mention in the next round. I'll give more clarifications as I see people making different assumptions than what is intended(there are some math conventions not being explicit but expected).
Should be fun, shall we go?

[image loading]

You have a stick that is 100cm long, and you can place ants on it. The ants can be placed anywhere on the stick, and facing anyway.
Important facts:
-Ants takes no length, you can think of them as dots.
-Ants crawls at 1cm/s.
-When 2 ants run into each other, they immediately turn back on each other and crawls away from each other.
-Ants will fall off at the edge.

Your Experiment:
Place 100 ants on the stick anyway you want, i.e. any direction/position. And start stopwatch. When the clock begins to tick, the ants will begin to crawl, collide, and fall off the edge. When the last ant falls off the stick, stop stopwatch.

Your Job:
Maximize the time recorded on your watch with a particular configuration of ants.

Good Luck!

What I hope:
People posting and discussing the problem. I hate writing blogs with no replies.

Clarifications:
-Stick is 1-dimentional
-Ants CAN be placed at the same spot in a sense that since ants are points, you can have the distances between two points as small as possible, while maintaining that one point is on the left/right of another.

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!
phase
Profile Blog Joined January 2008
United States399 Posts
April 27 2009 17:28 GMT
#2
question of clarification: can multiple ants occupy the same spot?

+ Show Spoiler +

Assuming ants take up 1cm each:
Start at the left of the stick and place ants starting at 0cm to 100cm on the stick, with no ants at 50cm. The ants from 0cm-49cm should be facing left, and the ants from 51cm to 100cm should be facing right. This way, there are no ant collisions and each second, two ants fall off the stick. THere should be no ants on the stick by just after 49 seconds

Assuming ants don't really take up space and you are really precise with placing ants:
Place an equal number of ants at both 0cm and 100cm in such a way that each ant is incrementally spaced between itself and another ant. Set them up facing their respective ends of the sticks. Almost right after you start, there should be no ants on the stick.
NathanSC
Profile Blog Joined February 2008
United States620 Posts
April 27 2009 17:33 GMT
#3
On April 28 2009 02:28 phase wrote:
question of clarification: can multiple ants occupy the same spot?

+ Show Spoiler +

Assuming ants take up 1cm each:
Start at the left of the stick and place ants starting at 0cm to 100cm on the stick, with no ants at 50cm. The ants from 0cm-49cm should be facing left, and the ants from 51cm to 100cm should be facing right. This way, there are no ant collisions and each second, two ants fall off the stick. THere should be no ants on the stick by just after 49 seconds

Assuming ants don't really take up space and you are really precise with placing ants:
Place an equal number of ants at both 0cm and 100cm in such a way that each ant is incrementally spaced between itself and another ant. Set them up facing their respective ends of the sticks. Almost right after you start, there should be no ants on the stick.

Your Job:
Maximize the time recorded on your watch with a particular configuration of ants.
LiAlH4
Profile Joined October 2007
New Zealand111 Posts
April 27 2009 17:33 GMT
#4
+ Show Spoiler +

Well by using the picture you gave us as an idea of the nature of the stick - i.e. round and presumably having edges only at the two cut ends...
Have all the ants facing perpendicular to the length of stick. They will all walk the circumference of the stick ad infinitum, and never fall off.
seppolevne
Profile Blog Joined February 2009
Canada1681 Posts
April 27 2009 17:35 GMT
#5
On April 28 2009 02:33 LiAlH4 wrote:
+ Show Spoiler +

Well by using the picture you gave us as an idea of the nature of the stick - i.e. round and presumably having edges only at the two cut ends...
Have all the ants facing perpendicular to the length of stick. They will all walk the circumference of the stick ad infinitum, and never fall off.


GG
J- Pirate Udyr WW T- Pirate Riven Galio M- Galio Annie S- Sona Lux -- Always farm, never carry.
Lemonwalrus
Profile Blog Joined August 2006
United States5465 Posts
April 27 2009 17:49 GMT
#6
+ Show Spoiler +
50 ants from 0cm-49cm, spaced 1cm apart, all facing 100 cm, and 50 ants from 51cm-100cm, spaced 1cm apart, all facing 0cm. When it starts the first pair (49cm and 51cm) will collide and turn around, and then collide with the ants directly behind them, sending a wave in either direction that will lead to a pair of ants falling off each end and the rest traveling back towards the center, ending with the middle pair being the last ants to fall off (after 50 revolutions of the situation above.)
Oddly enough, I believe this will only last 2 seconds longer than just putting a single ant at 0cm facing 100cm, but I could be wrong.
There might be more efficient ways to do it as far as positioning, but the above is the general idea.
Chill
Profile Blog Joined January 2005
Calgary25979 Posts
April 27 2009 17:51 GMT
#7
Oh I thought the stick was two dimensional haha
Anyways I suck at these kind of things but I'll be reading the replies.
Moderator
Day[9]
Profile Blog Joined April 2003
United States7366 Posts
Last Edited: 2009-04-27 17:55:53
April 27 2009 17:52 GMT
#8
100s

+ Show Spoiler +
when two ants bump into eachother and reverse direction, you can view this as two ants passing through eachother. That is, you can just imagine placing ants and they walk mindlessly straight until they fall off. So, just place one ant at the far end of the stick facing the other direction, and place the other ants however the hell you want. all the ants will walk off in <=100s with at least one taking exactly 100s


hot damn i'm good
Whenever I encounter some little hitch, or some of my orbs get out of orbit, nothing pleases me so much as to make the crooked straight and crush down uneven places. www.day9.tv
Lemonwalrus
Profile Blog Joined August 2006
United States5465 Posts
Last Edited: 2009-04-27 17:57:39
April 27 2009 17:56 GMT
#9
On April 28 2009 02:52 Day[9] wrote:
100s

+ Show Spoiler +
when two ants bump into eachother and reverse direction, you can view this as two ants passing through eachother. That is, you can just imagine placing ants and they walk mindlessly straight until they fall off. So, just place one ant at the far end of the stick facing the other direction, and place the other ants however the hell you want. all the ants will walk off in <=100s with at least one taking exactly 100s


hot damn i'm good

+ Show Spoiler +
Damn, you are right, my solution assumed 102 ants and a 102 centimeter stick because I am retarded.
SoulMarine
Profile Blog Joined January 2009
United States586 Posts
April 27 2009 17:59 GMT
#10
On April 28 2009 02:52 Day[9] wrote:
100s

+ Show Spoiler +
when two ants bump into eachother and reverse direction, you can view this as two ants passing through eachother. That is, you can just imagine placing ants and they walk mindlessly straight until they fall off. So, just place one ant at the far end of the stick facing the other direction, and place the other ants however the hell you want. all the ants will walk off in <=100s with at least one taking exactly 100s


hot damn i'm good


win
베이비 폭스 WeMade 파이팅! ~ WeMade 팬 ~ BaBy 팬 ~ щ(゚Д゚щ) Gee Gee Gee Gee BaBy BaBy BaBy ♫♫
magusmind
Profile Blog Joined May 2008
50 Posts
April 27 2009 18:02 GMT
#11
On April 28 2009 02:52 Day[9] wrote:
100s

+ Show Spoiler +
when two ants bump into each other and reverse direction, you can view this as two ants passing through each other. That is, you can just imagine placing ants and they walk mindlessly straight until they fall off. So, just place one ant at the far end of the stick facing the other direction, and place the other ants however the hell you want. all the ants will walk off in <=100s with at least one taking exactly 100s


hot damn i'm good


brilliant
myzael
Profile Blog Joined November 2008
Poland605 Posts
April 27 2009 18:02 GMT
#12
On April 28 2009 02:52 Day[9] wrote:
100s

+ Show Spoiler +
when two ants bump into eachother and reverse direction, you can view this as two ants passing through eachother. That is, you can just imagine placing ants and they walk mindlessly straight until they fall off. So, just place one ant at the far end of the stick facing the other direction, and place the other ants however the hell you want. all the ants will walk off in <=100s with at least one taking exactly 100s


hot damn i'm good

Win. Shame I haven't even thought of the problem this way
Osmoses
Profile Blog Joined October 2008
Sweden5302 Posts
April 27 2009 18:19 GMT
#13
Day[9] wins the day. I was too busy trying to find some flaw about collision detection since the ants were minuscule to even begin to think about what a 1-dimensional stick really entailed
Excuse me hun, but what is your name? Vivian? I woke up next to you naked and, uh, did we, um?
vAltyR
Profile Blog Joined July 2008
United States581 Posts
April 27 2009 18:38 GMT
#14
Day[9]: Lateral thinking FTW.
내 호버크라프트는 장어로 가득 차 있어요
Polemarch
Profile Joined August 2005
Canada1564 Posts
April 27 2009 18:45 GMT
#15
On April 28 2009 02:52 Day[9] wrote:
100s

+ Show Spoiler +
when two ants bump into eachother and reverse direction, you can view this as two ants passing through eachother. That is, you can just imagine placing ants and they walk mindlessly straight until they fall off. So, just place one ant at the far end of the stick facing the other direction, and place the other ants however the hell you want. all the ants will walk off in <=100s with at least one taking exactly 100s


hot damn i'm good


this is a neat problem because we naturally think of the problem by simulating it from an individual ant's perspective, which can get really complex. it takes a zerg player's hive mind to think of the set of ants this way.
I BELIEVE IN CAPITAL LETTER PUNISHMENT!!!!!
Pseudo_Utopia
Profile Blog Joined December 2002
Canada827 Posts
April 27 2009 19:29 GMT
#16
I think if you place 50 ants at left end, walking towards right and 50 ants at right end walking towards left, you maximize the time. You can think of it Day's way.
Retired SchiSm[LighT]
Chromyne
Profile Joined January 2008
Canada561 Posts
April 27 2009 19:38 GMT
#17
Another way to think of Day[9]'s solution is
+ Show Spoiler +
to have all the ants lined up from one end to the other and facing the same direction. It's essentially that one ant on the end walking across the entire length of the stick.
Soli Deo gloria.
Archaic
Profile Blog Joined March 2008
United States4024 Posts
April 27 2009 19:45 GMT
#18
It's a true pleasure to read and hear Day[9]'s mind at work, imo.
edahl
Profile Joined February 2008
Norway483 Posts
April 27 2009 19:55 GMT
#19
+ Show Spoiler +
I'm thinking that the time it takes between each ant falling off is around quadratic, but then I thought the integral of log x would be nice. So I'm guessing x(log(x)-1)-100=0, where x is seconds. So that would be around a hundred. I'd try for one better, but I'm busy ^^
evanthebouncy!
Profile Blog Joined June 2006
United States12796 Posts
Last Edited: 2009-04-27 20:37:50
April 27 2009 20:37 GMT
#20
On April 28 2009 03:45 Polemarch wrote:
Show nested quote +
On April 28 2009 02:52 Day[9] wrote:
100s

+ Show Spoiler +
when two ants bump into eachother and reverse direction, you can view this as two ants passing through eachother. That is, you can just imagine placing ants and they walk mindlessly straight until they fall off. So, just place one ant at the far end of the stick facing the other direction, and place the other ants however the hell you want. all the ants will walk off in <=100s with at least one taking exactly 100s


hot damn i'm good


this is a neat problem because we naturally think of the problem by simulating it from an individual ant's perspective, which can get really complex. it takes a zerg player's hive mind to think of the set of ants this way.


or just a math major :p
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!
thunk
Profile Blog Joined March 2008
United States6233 Posts
April 27 2009 21:23 GMT
#21
I respect Day[9] a lot.
Every time Jung Myung Hoon builds a vulture, two probes die. || My post count was a palindrome and I was never posting again.
MasterReY
Profile Blog Joined August 2007
Germany2708 Posts
April 27 2009 21:24 GMT
#22
nice puzzle and nice solution.

gj evan and sean
https://www.twitch.tv/MasterReY/ ~ Biggest Reach fan on TL.net (Don't even dare to mention LR now) ~ R.I.P Violet ~ Developer of SCRChart
TL+ Member
stenole
Profile Blog Joined April 2004
Norway868 Posts
April 27 2009 21:34 GMT
#23
It's never fun to start a puzzle when there are + show spoiler + all over the place and comments of admiration and awe. I see these threads too late.
MasterReY
Profile Blog Joined August 2007
Germany2708 Posts
April 27 2009 21:37 GMT
#24
On April 28 2009 06:34 stenole wrote:
It's never fun to start a puzzle when there are + show spoiler + all over the place and comments of admiration and awe. I see these threads too late.

why? you just don't open the spoilers and you can try yourself =D
https://www.twitch.tv/MasterReY/ ~ Biggest Reach fan on TL.net (Don't even dare to mention LR now) ~ R.I.P Violet ~ Developer of SCRChart
TL+ Member
edahl
Profile Joined February 2008
Norway483 Posts
April 27 2009 21:48 GMT
#25
Btw,
(a^n)(a^m)=a^(n+m)=a^(m+n)=(a^m)(a^n).
I just had to read the section first :-P
MasterReY
Profile Blog Joined August 2007
Germany2708 Posts
Last Edited: 2009-04-27 21:51:33
April 27 2009 21:50 GMT
#26
On April 28 2009 06:48 edahl wrote:
Btw,
(a^n)(a^m)=a^(n+m)=a^(m+n)=(a^m)(a^n).
I just had to read the section first :-P

dude wtf......thats so useless haha

3*5 = 5*3 has the same message^^
https://www.twitch.tv/MasterReY/ ~ Biggest Reach fan on TL.net (Don't even dare to mention LR now) ~ R.I.P Violet ~ Developer of SCRChart
TL+ Member
edahl
Profile Joined February 2008
Norway483 Posts
Last Edited: 2009-04-27 21:53:42
April 27 2009 21:52 GMT
#27
On April 28 2009 06:50 MasterReY wrote:
Show nested quote +
On April 28 2009 06:48 edahl wrote:
Btw,
(a^n)(a^m)=a^(n+m)=a^(m+n)=(a^m)(a^n).
I just had to read the section first :-P

dude wtf......thats so useless haha

No it's not. It's proof that all cyclic groups are abelian.

EDIT: http://en.wikipedia.org/wiki/Cyclic_group
Evan challenged me to prove it quickly, you see, but I didn't know how yet :-P
evanthebouncy!
Profile Blog Joined June 2006
United States12796 Posts
April 27 2009 21:54 GMT
#28
On April 28 2009 06:48 edahl wrote:
Btw,
(a^n)(a^m)=a^(n+m)=a^(m+n)=(a^m)(a^n).
I just had to read the section first :-P

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!
MasterReY
Profile Blog Joined August 2007
Germany2708 Posts
April 27 2009 21:56 GMT
#29
yea ok but what has that to do with the riddle?
https://www.twitch.tv/MasterReY/ ~ Biggest Reach fan on TL.net (Don't even dare to mention LR now) ~ R.I.P Violet ~ Developer of SCRChart
TL+ Member
edahl
Profile Joined February 2008
Norway483 Posts
April 27 2009 22:00 GMT
#30
A group btw is a set G with a binary operation * satisfying certain axioms, making the tuple <G, *>.
The axioms are
1. (a*b)*c=a*(b*c) (associative property)
2. there is an element e in G so that a*e=e*a=a
3. for every a in G, there is an inverse called a^(-1), so that a*a^(-1)=a^(-1)*a=e
(4. if a*b=b*a (commutative property) holds true for all a, b in G, the group is called abelian.)

A cyclic group is a group generated by one element a in <a>, so that a^n is in the group for every n, where n is a whole number. n means the same as with exponents: repeated operation, so a^3 = a*a*a, and a^(-2)=a^(-1)*a^(-1).

PS: It's got nothing to do with the riddle. Evan just asked me to prove it yesterday or something :-P
MasterReY
Profile Blog Joined August 2007
Germany2708 Posts
April 27 2009 22:07 GMT
#31
oh well. i had that stuff in german, but i can't recall with the english version now
https://www.twitch.tv/MasterReY/ ~ Biggest Reach fan on TL.net (Don't even dare to mention LR now) ~ R.I.P Violet ~ Developer of SCRChart
TL+ Member
edahl
Profile Joined February 2008
Norway483 Posts
April 27 2009 22:10 GMT
#32
On April 28 2009 07:07 MasterReY wrote:
oh well. i had that stuff in german, but i can't recall with the english version now

German mathematicians are awesome.
http://en.wikipedia.org/wiki/Gauss
http://en.wikipedia.org/wiki/Riemann
phase
Profile Blog Joined January 2008
United States399 Posts
April 27 2009 22:36 GMT
#33
pffttt thats so lame, who ever though about maximizing the time. I (EECS) always want the shortest time.
Deleted User 3420
Profile Blog Joined May 2003
24492 Posts
April 27 2009 22:52 GMT
#34
day[9] is fucking awesome

I didn't read the thread or anthing in it
Normal
Please log in or register to reply.
Live Events Refresh
Next event in 3h 10m
[ Submit Event ]
Live Streams
Refresh
StarCraft: Brood War
Leta 592
Larva 268
Barracks 52
Dota 2
XaKoH 609
League of Legends
JimRising 766
Counter-Strike
Stewie2K1103
Heroes of the Storm
Khaldor202
Other Games
summit1g8244
WinterStarcraft636
SortOf105
kaitlyn69
ProTech52
Organizations
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 17 non-featured ]
StarCraft 2
• Berry_CruncH344
• Hupsaiya 88
• Sammyuel 38
• Kozan
• LaughNgamezSOOP
• sooper7s
• AfreecaTV YouTube
• intothetv
• Migwel
• IndyKCrew
StarCraft: Brood War
• STPLYoutube
• ZZZeroYoutube
• BSLYoutube
Dota 2
• lizZardDota2152
League of Legends
• Lourlo1318
• masondota2797
• Stunt480
Upcoming Events
RSL Revival
3h 10m
Clem vs Classic
SHIN vs Cure
FEL
5h 10m
WardiTV European League
5h 10m
BSL: ProLeague
11h 10m
Dewalt vs Bonyth
Replay Cast
1d 17h
Sparkling Tuna Cup
2 days
WardiTV European League
2 days
The PondCast
3 days
Replay Cast
3 days
RSL Revival
4 days
[ Show More ]
Replay Cast
4 days
RSL Revival
5 days
FEL
5 days
RSL Revival
6 days
FEL
6 days
FEL
6 days
Liquipedia Results

Completed

BSL 2v2 Season 3
HSC XXVII
Heroes 10 EU

Ongoing

JPL Season 2
BSL Season 20
Acropolis #3
KCM Race Survival 2025 Season 2
CSL 17: 2025 SUMMER
Copa Latinoamericana 4
Championship of Russia 2025
RSL Revival: Season 1
Murky Cup #2
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
CCT Season 2 Global Finals
IEM Melbourne 2025

Upcoming

2025 ACS Season 2: Qualifier
CSLPRO Last Chance 2025
2025 ACS Season 2
CSLPRO Chat StarLAN 3
K-Championship
uThermal 2v2 Main Event
SEL Season 2 Championship
FEL Cracov 2025
Esports World Cup 2025
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
FISSURE Playground #1
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.