• 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
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)75Weekly 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
TL.net Map Contest #21: Voting Revisiting the game after10 years and wow it's bad 5.0.15 Patch Balance Hotfix (2025-10-8) 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 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 Whose hotkey signature is this?
Tourneys
[ASL20] Semifinal B SC4ALL $1,500 Open Bracket LAN [Megathread] Daily Proleagues [ASL20] Semifinal A
Strategy
Current Meta BW - ajfirecracker Strategy & Training Siegecraft - a new perspective TvZ Theorycraft - Improving on State of the Art
Other Games
General Games
Stormgate/Frost Giant Megathread Nintendo Switch Thread ZeroSpace Megathread Dawn of War IV 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: 1043 users

Math Puzzles - Page 8

Forum Index > General Forum
Post a Reply
Prev 1 6 7 8 9 10 11 Next All
Malmis
Profile Blog Joined May 2003
Sweden1569 Posts
June 17 2005 20:12 GMT
#141
oops
To Suport@Bethsoft.com: okay so i completed morrowind.. um, can i have my life back now?
lightman
Profile Joined April 2005
United States731 Posts
June 17 2005 22:01 GMT
#142
The triangle problem is still unanswered
Chuck Norris owns the greatest Poker Face of all-time. It helped him win the 1983 WSOP holding just a Get out of Jail Free Monopoloy card, and a green #4 card from the game UNO, against an AAA KK flop and his rival folding AK after Chuck raised him ALL-IN
Catyoul *
Profile Joined April 2004
France2377 Posts
June 17 2005 23:40 GMT
#143
On June 18 2005 07:01 lightman wrote:
The triangle problem is still unanswered

I think I've pretty much answered it. Now coming back to it with a good night (or should i say day) sleep, it's pretty straightforward to find a direct formula for each element.

k(p,n) = k(p,n-1) + (n+1-p) + max(n+1-2p,0)
= k(p,n-2) + (n-p) + max(n-2p,0) + (n+1-p) + max(n+1-2p,0)
= k(p,p-1) + (p+1-p) + ... + (2p-1+1-p) + (2p+1-p) + (2p+1-2p) + .. + (n+1-p) +(n+1-2p)
To get from 2nd to 3rd line, I've just went back step by step, k(p,p-1) is of course 0 so everything is known in that line. The separation at n=2p-1 comes from the fact that it's the point where n+1-2p gets >= 0 so we have to include the second recurrence term. Actually we have 2 cases I should have separated earlier.

Either n+1-2p >= 0 or not. If n >= 2p-1, we have the sum written above. If n <= 2p-1, the max(n+1-2p,0) is always 0, so it actually simplifies to :
k(p,n) = (p+1-p) + ... + (n+1-p)

So, we have 2 cases.
1. n <= 2p-1 :
k(p,n) = sum(k+1-p) for k=p -> n
= (n+1-p)(n+2-p)/2

2. n >= 2p-1 :
k(p,n) = sum(k+1-p) for k=p -> 2p-1 + sum(2k+2-3) for k=2p -> n
= p(p+1)/2 + (n+1-2p)(n+2-p)

Tadaaaaaaa.
Catyoul *
Profile Joined April 2004
France2377 Posts
Last Edited: 2005-06-18 00:37:43
June 18 2005 00:37 GMT
#144
Nice problem gg2w.
BigBalls : I think your conjecture is false, doesn't work for 7 and 11 for example. Nice intuition however, there definitely seems to be something with powers of 2 and even powers of 2. Looks like some fractal-like structure going like this :

1 -> 2^(2p+1) : block A
2^(2p+1)+1 -> 2^(2p+2) : block B
2^(2p+2)+1 -> 2^(2p+3) : A, B

thus giving something like :

1-2-4-----8--------16----------------32-------------------------------------------------------64
A B AB CDCD ABABCDCD E F EF EFEF GHGH EFEFEFEFGHGH
64---- ...-- 128
ABABCDCDABABCDCDEFEFEFEFGHGHEFEFEFEFGHGH

Gotta go now, but I'll be back to formalize and try to prove it
Catyoul *
Profile Joined April 2004
France2377 Posts
June 18 2005 10:00 GMT
#145
Actually, BigBalls, your conjecture is true with an additional hypothesis :
f(n) = f(n+2^(2k)) for k such as 2^2k > n

The structure described in my previous post is a direct consequence of this.
Sorrow_eyes
Profile Joined February 2005
United States1007 Posts
Last Edited: 2005-06-18 11:02:24
June 18 2005 10:28 GMT
#146
haha, bigballs just proved this is load of bullshit :p
GL HF.
Myacctmessup: People tried to create a Perfect language that the whole world can communicate with out difficulty, that it is universal and easy to learn. Do you hapen to know what language is it? Fireblast: You mean love?
BigBalls
Profile Blog Joined May 2003
United States5354 Posts
Last Edited: 2005-06-18 10:41:13
June 18 2005 10:36 GMT
#147
sorrow eyes, its not that hard even.


all lights that are hit twice are on, hit 4 times, hit 6 times.

so powers of 2, 4, 6, etc

however, powers of 4,6 are subsets of powers of 2. thus, all powers of 2 are on
if you guys could use google and post direct links to the maphacks here it would be greatly appreciated. - Nazgul
Sorrow_eyes
Profile Joined February 2005
United States1007 Posts
June 18 2005 10:40 GMT
#148
On June 18 2005 00:45 gg2w wrote:
Show nested quote +
On June 17 2005 23:22 LordOfDabu wrote:
You have ten stacks of coins, and each one has 10 coins in it. However, one of the stacks consists entirely of counterfeits, which each weigh one gram more than a standard coin. You know the weight of a standard coin. You have a scale that will tell you the exact weight of whatever you put on it, but for the sake of having an interesting puzzle you may only use this scale once.

How do you determine which stack is counterfeit?


Take 1 coin from stack 1, 2 coins from stack 2, etc. Weigh the 55 coins.
If the weight of a genuine coin is y, the correct weight should be 55y.
Then deduce which stack is the counterfeit based on how much you are off by.


nicely done
Myacctmessup: People tried to create a Perfect language that the whole world can communicate with out difficulty, that it is universal and easy to learn. Do you hapen to know what language is it? Fireblast: You mean love?
Sorrow_eyes
Profile Joined February 2005
United States1007 Posts
Last Edited: 2005-06-18 10:43:53
June 18 2005 10:43 GMT
#149
On June 18 2005 19:36 BigBalls wrote:
sorrow eyes, its not that hard even.


all lights that are hit twice are on, hit 4 times, hit 6 times.

so powers of 2, 4, 6, etc

however, powers of 4,6 are subsets of powers of 2. thus, all powers of 2 are on


hmm, im sure that number 1 bulb got hit once, and its on. 2 got hit twice, and its off T_T
enlight me...[
Myacctmessup: People tried to create a Perfect language that the whole world can communicate with out difficulty, that it is universal and easy to learn. Do you hapen to know what language is it? Fireblast: You mean love?
BigBalls
Profile Blog Joined May 2003
United States5354 Posts
June 18 2005 10:45 GMT
#150
i mean after the initial hit when theyre all on.

so 1 is hit 0 times after that

the ones that are on after that are ones that are hit an even number of times. this means they are even powers,

so they are x^(2y) = (x^y)^2, so all square numbers stay on
if you guys could use google and post direct links to the maphacks here it would be greatly appreciated. - Nazgul
Sorrow_eyes
Profile Joined February 2005
United States1007 Posts
June 18 2005 10:52 GMT
#151
On June 18 2005 19:45 BigBalls wrote:
i mean after the initial hit when theyre all on.

so 1 is hit 0 times after that

the ones that are on after that are ones that are hit an even number of times. this means they are even powers,

so they are x^(2y) = (x^y)^2, so all square numbers stay on


Hi again

and all the other numbers stays off?
for example, 24 is not a square number but it still stays on
switch on/off
1...............on
2...............off
3...............on
4...............off
6...............on
12.............off
24.............on
Myacctmessup: People tried to create a Perfect language that the whole world can communicate with out difficulty, that it is universal and easy to learn. Do you hapen to know what language is it? Fireblast: You mean love?
BigBalls
Profile Blog Joined May 2003
United States5354 Posts
June 18 2005 10:54 GMT
#152
false

you forgot 8
if you guys could use google and post direct links to the maphacks here it would be greatly appreciated. - Nazgul
Sorrow_eyes
Profile Joined February 2005
United States1007 Posts
June 18 2005 10:58 GMT
#153
hahaah pwnt :D
thx for prompt replies
Myacctmessup: People tried to create a Perfect language that the whole world can communicate with out difficulty, that it is universal and easy to learn. Do you hapen to know what language is it? Fireblast: You mean love?
BigBalls
Profile Blog Joined May 2003
United States5354 Posts
June 18 2005 10:59 GMT
#154
think of it this way

a number after 1 will be hit by itself.

thus, to stay on, it needs either 1, 3, 5, etc factors.

factors come in pairs unless they are squares

thus the only way for a number to have an odd number of factors is if its a square
if you guys could use google and post direct links to the maphacks here it would be greatly appreciated. - Nazgul
Sorrow_eyes
Profile Joined February 2005
United States1007 Posts
Last Edited: 2005-06-18 11:25:37
June 18 2005 11:04 GMT
#155
Yeah, I forgot about factors come in pairs part, already edited post.
Thanks a bunch
Math major pwns doesnt it

K I got a question:

Background:
A king has a tiger, he hid the tiger behind one of the five doors.
A knight wants to marry the king's daughter, he must open one door and kills the tiger.

The King says:
Young worrier, the tiger will ALWAYS caught you by suprise when you open the door which contains it.

The knight thoughs:
Because the tiger will always caught me by suprise, it must not be in the last door because when I fond the first four doors are empty, it must be in the last one, and that's not a suprise at all. So then it must not be in the second last door for the same reason... and the third to the last door, and goes on... It is no tiger behind anydoors!

The knight proceed happily to open each door, convinced that there isnt any tiger... and once he opens the second door, a tiger jumps out, and that completely suprised the knight.

Which part of the knight's thought is flawed?
Myacctmessup: People tried to create a Perfect language that the whole world can communicate with out difficulty, that it is universal and easy to learn. Do you hapen to know what language is it? Fireblast: You mean love?
BigBalls
Profile Blog Joined May 2003
United States5354 Posts
June 18 2005 11:08 GMT
#156
haha, yeah its fun

right now im doing research on difference sets


Basically, start with a Group G of order v. A subset D of G is a (v,k,lambda) difference set if Delta D = lambda * (G-0). Delta D = (d-d', d,d' are in D, d!=d'). So basically, the set Delta D has each non identity element of G exactly lambda times. Let me give you an example.

D={1,2,4} is a (7,3,1) difference set in Z7. Delta D = {1-2,1-4,2-1,2-4,4-1,4-2} = {6,4,1,5,3,2} (addition in Z7) = {1,2,3,4,5,6}, which is 1 copy of each non identity element in Z7. It's interesting stuff, my professor is basically the leading guy in the field.
if you guys could use google and post direct links to the maphacks here it would be greatly appreciated. - Nazgul
keke
Profile Joined June 2005
Canada186 Posts
June 18 2005 11:46 GMT
#157
wtf
July- Why dont you type GG now before I pwn you!
lightman
Profile Joined April 2005
United States731 Posts
June 18 2005 11:57 GMT
#158
On June 18 2005 08:40 Catyoul wrote:
Show nested quote +
On June 18 2005 07:01 lightman wrote:
The triangle problem is still unanswered

I think I've pretty much answered it. Now coming back to it with a good night (or should i say day) sleep, it's pretty straightforward to find a direct formula for each element.

k(p,n) = k(p,n-1) + (n+1-p) + max(n+1-2p,0)
= k(p,n-2) + (n-p) + max(n-2p,0) + (n+1-p) + max(n+1-2p,0)
= k(p,p-1) + (p+1-p) + ... + (2p-1+1-p) + (2p+1-p) + (2p+1-2p) + .. + (n+1-p) +(n+1-2p)
To get from 2nd to 3rd line, I've just went back step by step, k(p,p-1) is of course 0 so everything is known in that line. The separation at n=2p-1 comes from the fact that it's the point where n+1-2p gets >= 0 so we have to include the second recurrence term. Actually we have 2 cases I should have separated earlier.

Either n+1-2p >= 0 or not. If n >= 2p-1, we have the sum written above. If n <= 2p-1, the max(n+1-2p,0) is always 0, so it actually simplifies to :
k(p,n) = (p+1-p) + ... + (n+1-p)

So, we have 2 cases.
1. n <= 2p-1 :
k(p,n) = sum(k+1-p) for k=p -> n
= (n+1-p)(n+2-p)/2

2. n >= 2p-1 :
k(p,n) = sum(k+1-p) for k=p -> 2p-1 + sum(2k+2-3) for k=2p -> n
= p(p+1)/2 + (n+1-2p)(n+2-p)

Tadaaaaaaa.


First of all I can't really understand your solution but from what I read, you don't make any difference between the triangle positions and that is your mistake.

The problem is as follows:

[image loading]


So now you have to distinguish between the standing triangles and the upside down triangles.

The standing triangles satisfy this relation

Parallel lines 1 2 3 4 5 6 7 8 Total
0 1 1
1 3 1 4
2 6 3 1 10
3 10 6 3 1 20
4 15 10 6 3 1 35
5 21 15 10 6 3 1 56
6 28 21 15 10 6 3 1 84
7 36 28 21 15 10 6 3 1 120

while the upside down triangles follow this table:

Parallel lines 1 2 3 4 5 6 7 8 Total
0 0 0
1 1 1
2 3 3
3 6 1 7
4 10 3 13
5 15 6 1 22
6 21 10 3 34
7 28 15 6 1 50

so in the end we get something like this:

Parallel lines : 1 2 3 4 5 6 7 8 9
Number of triangles 1 5 13 27 48 78 118 170 236

It is easy to observe that in table #1, the number is very similar to the result you posted,
(n+1)(n+2)/2.

Therefore, the total number of triangles is the SUM from 0 to n, this agrees with your reasoning.

S(i=0,i=n) (i+1)(i+2)/2 = (n3 + 6n2 + 11n + 6)/6

now what you miss was to take the upside down triangles:

to achieve this we calculate the succesive differences of each term of the new B serie

Difference: 1 3 7 13 22 34 50 70 95
1ª 2 4 6 9 12 16 20 25
2ª 2 2 3 3 4 4 5
3ª 0 1 0 1 0 1

generalizing:

3rd difference = (1+(-1)n)/2

2nd difference = 2 + S(i=0,i=n-1) 3rd difference = (2n+5-(-1)n)/4

1st difference = 2 + S(i=0,i=n-1) 2nd difference = (2n2 + 8n+ 7 + (-1)n)/8

thus

Total Number of upside down triangles is

1 + S(i=0,i=n-1) 1st difference = [(4n3 + 18n2 + 20n +3)/48] - [(-1)n/16]

and finally we add the standing up triangles with the upside down triangles to achieve the number of all triangles:

[4n3 + 22n2 +36n + 17 - (-1)n]/16

which is the correct answer

Please let me know if you have any questions
Chuck Norris owns the greatest Poker Face of all-time. It helped him win the 1983 WSOP holding just a Get out of Jail Free Monopoloy card, and a green #4 card from the game UNO, against an AAA KK flop and his rival folding AK after Chuck raised him ALL-IN
decafchicken
Profile Blog Joined January 2005
United States20060 Posts
June 18 2005 12:05 GMT
#159
Found these math problems on google: enjoy
1. One day, a person went to horse racing area, Instead of counting the number of human and horses, he instead counted 74 heads and 196 legs. Yet he knew the number of humans and horses there. How did he do it, and how many humans and horses are there?

2. y = log x
If y = 10, then what is x?

3. 10*9*8*7*6*5*4*3*2*1 = 10!
Can this be true?! Why or why not?

4. If 1/2x +1/2(1/2x + 1/2(1/2x +1/2(1/2x + ... = y,
then x = ?

5. What place in this world can have their temperatures Fahrenheit and Celsius equal?
how reasonable is it to eat off wood instead of your tummy?
iamke55
Profile Blog Joined April 2004
United States2806 Posts
June 18 2005 12:13 GMT
#160
haha these topics are awesome!
During practice session, I discovered very good build against zerg. -Bisu[Shield]
Prev 1 6 7 8 9 10 11 Next All
Please log in or register to reply.
Live Events Refresh
Replay Cast
23:00
PiGosaur Cup #53
Liquipedia
OSC
23:00
OSC Masters Cup #150 Qual #1
Liquipedia
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
SortOf 1
StarCraft: Brood War
PianO 496
Snow 194
Pusan 180
Shinee 62
NaDa 37
Hm[arnc] 31
Bale 29
GoRush 13
IntoTheRainbow 9
Sea 0
Dota 2
monkeys_forever872
NeuroSwarm108
League of Legends
JimRising 792
Counter-Strike
Stewie2K402
shoxiejesuss153
Other Games
summit1g5921
C9.Mang0222
Tasteless94
Mew2King70
Organizations
Counter-Strike
PGL8084
Other Games
gamesdonequick1129
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 13 non-featured ]
StarCraft 2
• Berry_CruncH245
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
League of Legends
• Jankos1158
• Lourlo594
Upcoming Events
The PondCast
3h 10m
OSC
5h 10m
Wardi Open
1d 4h
CranKy Ducklings
2 days
Safe House 2
2 days
Sparkling Tuna Cup
3 days
Safe House 2
3 days
Tenacious Turtle Tussle
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
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.