• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EST 02:51
CET 08:51
KST 16:51
  • 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
SC2 All-Star Invitational: Tournament Preview5RSL Revival - 2025 Season Finals Preview8RSL Season 3 - Playoffs Preview0RSL Season 3 - RO16 Groups C & D Preview0RSL Season 3 - RO16 Groups A & B Preview2
Community News
BSL Season 2025 - Full Overview and Conclusion5Weekly Cups (Jan 5-11): Clem wins big offline, Trigger upsets4$21,000 Rongyi Cup Season 3 announced (Jan 22-Feb 7)16Weekly Cups (Dec 29-Jan 4): Protoss rolls, 2v2 returns7[BSL21] Non-Korean Championship - Starts Jan 105
StarCraft 2
General
Stellar Fest "01" Jersey Charity Auction SC2 All-Star Invitational: Tournament Preview Weekly Cups (Jan 5-11): Clem wins big offline, Trigger upsets When will we find out if there are more tournament SC2 Spotted on the EWC 2026 list?
Tourneys
SC2 All-Star Invitational: Jan 17-18 SC2 AI Tournament 2026 $21,000 Rongyi Cup Season 3 announced (Jan 22-Feb 7) OSC Season 13 World Championship Sparkling Tuna Cup - Weekly Open Tournament
Strategy
Simple Questions Simple Answers
Custom Maps
Map Editor closed ?
External Content
Mutation # 508 Violent Night Mutation # 507 Well Trained Mutation # 506 Warp Zone Mutation # 505 Rise From Ashes
Brood War
General
[ASL21] Potential Map Candidates Fantasy's Q&A video BGH Auto Balance -> http://bghmmr.eu/ Potential ASL qualifier breakthroughs? BSL Season 2025 - Full Overview and Conclusion
Tourneys
[BSL21] Grand Finals - Sunday 21:00 CET [Megathread] Daily Proleagues [BSL21] Non-Korean Championship - Starts Jan 10 Small VOD Thread 2.0
Strategy
Soma's 9 hatch build from ASL Game 2 Simple Questions, Simple Answers Game Theory for Starcraft Current Meta
Other Games
General Games
Stormgate/Frost Giant Megathread Beyond All Reason Awesome Games Done Quick 2026! Nintendo Switch Thread Mechabellum
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
Deck construction bug Heroes of StarCraft mini-set
TL Mafia
Vanilla Mini Mafia Mafia Game Mode Feedback/Ideas
Community
General
US Politics Mega-thread Things Aren’t Peaceful in Palestine Russo-Ukrainian War Thread Canadian Politics Mega-thread European Politico-economics QA Mega-thread
Fan Clubs
The IdrA Fan Club
Media & Entertainment
Anime Discussion Thread [Manga] One Piece
Sports
2024 - 2026 Football Thread
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread
TL Community
The Automated Ban List
Blogs
My 2025 Magic: The Gathering…
DARKING
Physical Exercise (HIIT) Bef…
TrAiDoS
Life Update and thoughts.
FuDDx
How do archons sleep?
8882
James Bond movies ranking - pa…
Topin
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1444 users

The Math Thread - Page 23

Forum Index > General Forum
Post a Reply
Prev 1 21 22 23 24 25 32 Next All
enigmaticcam
Profile Blog Joined October 2010
United States280 Posts
January 10 2019 17:15 GMT
#441
On January 11 2019 02:01 Simberto wrote:Furthermore, what you are counting are not the prime numbers up to 32, but, as the article clearly states, Pi(x) - Pi(Sqrt(x)) + 1.

Preceding the formula is the statement "A more elaborate way of finding pi(x) is ..". That seems pretty clear that it should be a formula to find pi(x), which is as stated in the beginning of the article a function to count the prime numbers less than or equal to x. I'm not sure how I'm misunderstanding that.
Simberto
Profile Blog Joined July 2010
Germany11716 Posts
January 10 2019 17:41 GMT
#442
It is a way of finding pi(x). The way is to use basic equation solving to turn

N = pi(x) - pi(sqrt(x)) + 1

into pi(x) = N + pi(sqrt(x))-1

which, given that you can calculate N and clearly know pi(sqrt(x)) since you used all of the primes smaller than sqrt(x) to calculate N, is a way of finding pi(x)
enigmaticcam
Profile Blog Joined October 2010
United States280 Posts
January 10 2019 18:05 GMT
#443
On January 11 2019 02:41 Simberto wrote:
It is a way of finding pi(x). The way is to use basic equation solving to turn

N = pi(x) - pi(sqrt(x)) + 1

into pi(x) = N + pi(sqrt(x))-1

which, given that you can calculate N and clearly know pi(sqrt(x)) since you used all of the primes smaller than sqrt(x) to calculate N, is a way of finding pi(x)

Okay, I think I get it. But I don't think it's useful for what I need to do. Thanks!
mahrgell
Profile Blog Joined December 2009
Germany3943 Posts
January 10 2019 19:16 GMT
#444
On January 11 2019 01:00 TBO wrote:
Show nested quote +
On November 21 2018 03:36 DarkPlasmaBall wrote:
When I was doing my master's in math education, I took an awesome course called Problem Solving. We met once per week, for a three-hour block of time, and our professor would give us exactly one new problem to work on. We'd collaborate and explore the problem, tinker with a bunch of different strategies, try to solve the problem in as many ways as possible, consider additional extensions to the problem, and then reflect on and analyze the entire process.

My favorite problem in that class- which has come to be my favorite math problem of all time- is The Doubling Problem. Today and tomorrow I'm giving it to my high school math students (as it's right before Thanksgiving break, so I'd rather have the students play around with an interesting problem like this instead of trying to force down a final lesson and risk them losing focus).

The Doubling Problem is remarkably simple to explore, as it's just based on addition, multiplication, and moving around digits of a number. Thanks to its low mathematics entry point, I have plenty of students (and not just honors/ AP/ high-level students) who are making progress in solving the problem (or have already solved it).

Without further ado, I challenge you to solve The Doubling Problem (please spoiler your answers):

Pick a positive whole number. We’re going to apply a special rule to this number: take the last digit of that number (the ones’ digit) and move it to the front of the number. For example: 1234 becomes 4123 because the 4 is moved to the front, 567 becomes 756, 9002 becomes 2900, etc.
Can you find a positive whole number such that, when you apply this rule to it, the resulting number is double the original number?

+ Show Spoiler +

if there is a solution depends on the base I think. for base2 there should be none (if you don't allow leading 0s at least - else you have 01 -> 10). Does anyone have a clue if it is solvable for all bases bigger than a certain value or if iit is solvable for some and not solvable for others and if there is a pattern which influences that?


+ Show Spoiler +

Imho, those numbers should exist for all bases >2.
Lets again take a quick look at the algorithm I also mentioned earlier, but adjust it to baseN:

We assume the last digit to be

p_0 = d,

and then continue:

r_0 = 0
d_i = (p_i*2)%N

r_(i+1) = (p_i*2)/N (/ used in the integer sense)
p_(i+1) = d_i+r_(i+1)

We can abort the algorithm when we get p_x == p_0 = d and r_x == r_0 = 0.

Now this isnt necessarily terminating for any d. But since p_i is in {0,...,N} and r_x in {0,1} there is only a finite number of combinations possible, so there must be cycles at some point, where
p_k == p_l && r_k == r_l && k < l
obviously, we can now state that for the lowest such k and l it holds true that for all m>k
p_m == p_(m+l-k) && r_m == r_(m+l-k)

This means we have a number of cycles. If there is a single m>k, where r_m == 0, we can take p_m as last digit of our number and generate a valid number in regards to the original question.

So all we are required to do is to proof, that in this cycle there is guaranteed to be a position where r_m != 1.
And this is rather trivial (I will make some leaps here, but it should be obvious, if not I can detail this) as the only cycle where r_m can stay permanently at 1 is the cycle of p_k = N-1 and r_k = 1. But as in this case it is necessary that p_(k-1) = N-1 and r_(k-1) = 1. Now this violates the rule of k being the lowest k to build such a cycle. And as we originally started with a different pair (d,0), it is clear that we can never enter this cycle -> there must be another cycle. -> There is a solution.

PS: There is the additional condition, that p_(m-1) != 0. But it also can be shown, that this is only a problem for N=2, as in all other cases simply taking m+1 produces a valid solution.
Deleted User 3420
Profile Blog Joined May 2003
24492 Posts
January 14 2019 15:57 GMT
#445
You guys may enjoy this

gregoryward
Profile Joined January 2019
2 Posts
Last Edited: 2019-01-16 12:19:27
January 16 2019 12:19 GMT
#446
Bot edit.

User was banned for this post.
Uldridge
Profile Blog Joined January 2011
Belgium5006 Posts
January 16 2019 13:01 GMT
#447
I love 3b1b, most fluent animations in the bizz
Taxes are for Terrans
Danglars
Profile Blog Joined August 2010
United States12133 Posts
Last Edited: 2019-01-17 17:31:30
January 17 2019 01:00 GMT
#448
On January 15 2019 00:57 travis wrote:
You guys may enjoy this

https://www.youtube.com/watch?v=HEfHFsfGXjs

Yeah, that was like watch that one movie and get lost in them for three hours. They're all so pretty. I saw a couple videos ages ago, and had no idea he continued to produce them at the same quality.

Some of them are on topics that I understand and problems I mechanically solve, but never thought about 2d or 3d interpretations of the rules.
Great armies come from happy zealots, and happy zealots come from California!
TL+ Member
Deleted User 3420
Profile Blog Joined May 2003
24492 Posts
February 09 2019 15:46 GMT
#449
Here is a question for you guys

Are there any wave functions where the period isn't actually known? Like, the pattern of the wave hasn't been solved?
Thanks
ChunderBoy
Profile Joined August 2011
3242 Posts
February 09 2019 18:45 GMT
#450
i have a degree in maths and forgot most of it... university killed my passion for maths but 3-4 years after graduation its coming back
"mmr is a social construct" - tumblr
Deleted User 3420
Profile Blog Joined May 2003
24492 Posts
Last Edited: 2019-02-10 20:20:09
February 10 2019 20:19 GMT
#451
aand now I have another math question

sigmoid function is sigmoid(x) = 1/(1+e^(-x))

I have been given the question "show that sigmoid(-x) + sigmoid(x) = 1


I am not sure.... what to show ?
Do I need to know how the limits of x going to infinity and negative infinity, or going to zero, will make this equation go to 1?

(I can do that, it's just that another question asked the upper bounds and lower bounds of the question so i already showed the limits... so it just confuses me a bit)
Algieba
Profile Joined February 2019
4 Posts
February 10 2019 20:59 GMT
#452
Well, did you plug in the expressions with the e power? What it does in the limit doesn't matter because it should be true for all x, not x going to plus or minus infinity.
mahrgell
Profile Blog Joined December 2009
Germany3943 Posts
February 10 2019 21:04 GMT
#453
You show that for ANY x the equation holds true. So just transform the equation until you have the same on both sides of the equal sign.

+ Show Spoiler +

1/(1+e^x) + 1/(1+e^-x) = 1
multiply with (1+e^x)(1+e^-x)
-->
(1+e^-x) + (1+e^x) = (1+e^x)(1+e^-x)
2+ e^-x + e^x = 1 + e^x + e^-x + e^x * e^-x
as e^x*e^-x = e^0 = 1 -> both sides are equal, done
CoupdeBoule
Profile Joined November 2018
73 Posts
February 10 2019 21:05 GMT
#454
On February 11 2019 05:19 travis wrote:
aand now I have another math question

sigmoid function is sigmoid(x) = 1/(1+e^(-x))

I have been given the question "show that sigmoid(-x) + sigmoid(x) = 1


I am not sure.... what to show ?
Do I need to know how the limits of x going to infinity and negative infinity, or going to zero, will make this equation go to 1?

(I can do that, it's just that another question asked the upper bounds and lower bounds of the question so i already showed the limits... so it just confuses me a bit)

Differentiate that function and observe its derivative’s properties.
Deleted User 3420
Profile Blog Joined May 2003
24492 Posts
February 10 2019 21:10 GMT
#455
On February 11 2019 06:04 mahrgell wrote:
You show that for ANY x the equation holds true. So just transform the equation until you have the same on both sides of the equal sign.

+ Show Spoiler +

1/(1+e^x) + 1/(1+e^-x) = 1
multiply with (1+e^x)(1+e^-x)
-->
(1+e^-x) + (1+e^x) = (1+e^x)(1+e^-x)
2+ e^-x + e^x = 1 + e^x + e^-x + e^x * e^-x
as e^x*e^-x = e^0 = 1 -> both sides are equal, done


ah god right
I felt like making both sides equal was what I needed to do but I wasn't seeing how
and now it feels obvious
JimmyJRaynor
Profile Blog Joined April 2010
Canada17186 Posts
Last Edited: 2019-02-11 01:16:14
February 10 2019 21:37 GMT
#456
1984's Rescue On Fractalus is being remade.
The planet is a giant fractal. Pretty cool how unique an experience they were able to create in 1984 on such limited hardware. I think it was playable on theAtari 400. It definitely worked on the Commodore 64. I think the Atari 400 only had 16K of memory while the "high powered" C64 had an amazing 64 Kilobytes of RAM! If this game only worked on the Atari 800 then it is not as big of a technical feat.


in 1984 1st person space games were not very good. Using a fractal as the planet surface is such a cool ballsy move. Man, back in the day LucasArts was pretty damn cool. Leave it to Disney to shut them down.

On January 15 2019 00:57 travis wrote:
You guys may enjoy this

https://www.youtube.com/watch?v=HEfHFsfGXjs

the punchline : " where you have pi you have a hidden circle and in this case it comes from the equation for the conservation of momentum "
Ray Kassar To David Crane : "you're no more important to Atari than the factory workers assembling the cartridges"
Nebuchad
Profile Blog Joined December 2012
Switzerland12379 Posts
February 13 2019 05:08 GMT
#457
+ Show Spoiler +

On November 18 2018 21:48 Nebuchad wrote:
Hi guys, I still suck at math

I'm using a program that calculates equity for different ranges in poker (hold'em). Here's the data I have:

Number of tries (exhaustive):
403835094432

Range 1 wins: 142599616520
Range 1 ties: 10945429968
Range 2 wins: 140980819160
Range 2 ties: 11040244316
Range 3 wins: 108972219224
Range 3 ties: 2243569640

Range 1 wins %: 35,3113%
Range 1 ties %: 2,7104%
Range 2 wins %: 34,9105%
Range 2 ties %: 2,7338%
Range 3 wins %: 26,9843%
Range 3 ties %: 0,5556%

Range 1 equity: 36,5978%
Range 2 equity: 36,2087%
Range 3 equity: 27,1934%

I'm trying to determine how the program got the equity from the data.

Obviously you get the win equity by going (number of wins*100)/number of tries, and the tie equity by going (number of ties*100)/number of tries.

My understanding is that the equity percent is (wins%) + (part of ties% that are ties with only one player/2) + (part of ties% that are ties with both other players/3) - (because when you win you get all the money, when you tie with one player you get half and when you tie with both you get a third)

I run into an issue because the program doesn't let me know how often you tie with one player and how often you tie with both players.

I've been playing around with the numbers and I got the right results.

I added wins for all players and (tie/2) for all players. I get slightly over 100%, because some of the ties should have been /3 instead of /2.

I took the amount that was above 100% and did that *2, then /3.

Then I substracted that result from the number of ties for one player

Then I did number of wins for that player + (that result/2), and I got the right answer. I don't understand why. Shouldn't I also have had to divide an amount by 3?



Hi again

Similar to the last one, but significantly more annoying, I got this:

Number of tries (exhaustive):
1267892619840

Range 1 wins: 791976687662
Range 1 ties: 12482408790
Range 2 wins: 159949046721
Range 2 ties: 10525724277
Range 3 wins: 159949046721
Range 3 ties: 10525724277
Range 4 wins: 135556038238
Range 4 ties: 15394856484

Range 1 wins %: 62,4640%
Range 1 ties %: 0,9845%
Range 2 wins %: 12,6153%
Range 2 ties %: 0,8301%
Range 3 wins %: 12,6153%
Range 3 ties %: 0,8301%
Range 4 wins %: 10,6914%
Range 4 ties %: 1,2142%

Possibilities are:

Range 1 wins = a
Range 2 wins = b
Range 3 wins = c
Range 4 wins = d
Range 1&2 tie = e
Range 1&3 tie = f
Range 1&4 tie = g
Range 2&3 tie = h
Range 2&4 tie = i
Range 3&4 tie = j
Range 1&2&3 tie = k
Range 1&2&4 tie = l
Range 1&3&4 tie = m
Range 2&3&4 tie = n
Range 1&2&3&4 tie = o

a, b, c and d are known.

Because range 2 and range 3 have the same stats, I also know that e=f, i=j and l=m

Because of the specifics of those ranges, I also know that e=f=0, k=0 (every time range 1 ties with range 2 or range 3, it must also tie with range 4).

I'm getting:

Range 1 ties =>
g/2+l/3+l/3+o/4=0,9845

Range 2 ties =>
h/2+i/2+l/3+n/3+o/4=0,8301

Range 4 ties =>
g/2+i/2+i/2+l/3+l/3+n/3+o/4=1,2142

100% =>
a+b+c+d+g/2+h/2+i/2+i/2+l/3+l/3+n/3+o/4=100

From this I get that h/2 = (100-a-b-c-d)-1,2142 = 0,3996

I can also add all of the ties and get:

g+2i+2l+n+o = 3,0598

And from there I have trouble getting the other five variables, and I'm not sure if it's because I suck at this or because I just don't have enough equations to solve...

Sorry to bother you with this ^.^
No will to live, no wish to die
Simberto
Profile Blog Joined July 2010
Germany11716 Posts
February 13 2019 10:35 GMT
#458
Unless you have additional information, i don't think you can conclude:

Because range 2 and range 3 have the same stats, I also know that e=f, i=j and l=m

Because of the specifics of those ranges, I also know that e=f=0, k=0 (every time range 1 ties with range 2 or range 3, it must also tie with range 4).


Just because two ranges have the same win percentages does not mean that they are the same hand. Neither does this necessarily mean that they have the same combination tie percentages e and f (etc....), nor that always only one of them ties with 1.

You could have a distribution where 2 often ties with 1, but never with 4, and 2 often tie with 4, but never with 1 which delivers the same distribution.

Other than that, if you have problems solving something like that, put it into a matrix and use gaussian elimination. That is an algorithm that always solves a solvable set of equations. It's gonna be a bit bit annoying with that many coefficients, but will tell you the solution if there is a clear one, and the set of solutions if there isn't.
Nebuchad
Profile Blog Joined December 2012
Switzerland12379 Posts
February 13 2019 11:39 GMT
#459
On February 13 2019 19:35 Simberto wrote:
Unless you have additional information, i don't think you can conclude:

Show nested quote +
Because range 2 and range 3 have the same stats, I also know that e=f, i=j and l=m

Because of the specifics of those ranges, I also know that e=f=0, k=0 (every time range 1 ties with range 2 or range 3, it must also tie with range 4).


Just because two ranges have the same win percentages does not mean that they are the same hand. Neither does this necessarily mean that they have the same combination tie percentages e and f (etc....), nor that always only one of them ties with 1.

You could have a distribution where 2 often ties with 1, but never with 4, and 2 often tie with 4, but never with 1 which delivers the same distribution.

Other than that, if you have problems solving something like that, put it into a matrix and use gaussian elimination. That is an algorithm that always solves a solvable set of equations. It's gonna be a bit bit annoying with that many coefficients, but will tell you the solution if there is a clear one, and the set of solutions if there isn't.


Yeah I worded that poorly, I do have additional information. Range 2 and 3 contain the same hands so it's true that e=f etc., and the way the ranges are constructed it's impossible for range 1 to tie with range 2/3 without also tying with range 4, so those informations were correct.
No will to live, no wish to die
Deleted User 3420
Profile Blog Joined May 2003
24492 Posts
February 20 2019 01:34 GMT
#460
I have a assigned question to determine the last two digits of 99^14 by using modulus 100
so I know 99 is congruent -1 (mod 100)
which means
99^14 is congruent (-1)^14 (mod 100)
which means the last two digits must be 01 because -1^14 = 1

did I do this correctly?
Prev 1 21 22 23 24 25 32 Next All
Please log in or register to reply.
Live Events Refresh
All-Star Invitational
03:00
Day 2
herO vs Reynor
WardiTV1267
WinterStarcraft735
PiGStarcraft550
BRAT_OK 237
IndyStarCraft 227
3DClanTV 102
EnkiAlexander 82
IntoTheiNu 12
LiquipediaDiscussion
AI Arena Tournament
20:00
Swiss - Round 2
Laughngamez YouTube
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
WinterStarcraft735
PiGStarcraft550
BRAT_OK 237
IndyStarCraft 227
StarCraft: Brood War
Rain 6809
Shuttle 1983
EffOrt 605
ggaemo 389
Larva 338
Pusan 336
firebathero 174
Hyun 101
ZergMaN 78
yabsab 33
[ Show more ]
ajuk12(nOOB) 25
Sharp 24
Sacsri 13
Models 4
Dota 2
LuMiX1
League of Legends
JimRising 794
C9.Mang0514
Super Smash Bros
Mew2King80
Other Games
summit1g7370
minikerr27
Organizations
Other Games
gamesdonequick2001
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 12 non-featured ]
StarCraft 2
• practicex 29
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
League of Legends
• Stunt609
Upcoming Events
Sparkling Tuna Cup
2h 9m
OSC
4h 9m
Shameless vs NightMare
YoungYakov vs MaNa
Nicoract vs Jumy
Gerald vs TBD
Creator vs TBD
BSL 21
12h 9m
Bonyth vs Sziky
Mihu vs QiaoGege
Sziky vs XuanXuan
eOnzErG vs QiaoGege
Mihu vs DuGu
Dewalt vs Bonyth
IPSL
12h 9m
Dewalt vs Sziky
Replay Cast
1d 1h
Wardi Open
1d 4h
Monday Night Weeklies
1d 9h
The PondCast
3 days
Big Brain Bouts
5 days
Serral vs TBD
BSL 21
6 days
Liquipedia Results

Completed

Escore Tournament S1: W4
Big Gabe Cup #3
NA Kuram Kup

Ongoing

C-Race Season 1
IPSL Winter 2025-26
BSL 21 Non-Korean Championship
CSL 2025 WINTER (S19)
KCM Race Survival 2026 Season 1
OSC Championship Season 13
SC2 All-Star Inv. 2025
Underdog Cup #3
BLAST Bounty Winter Qual
eXTREMESLAND 2025
SL Budapest Major 2025
ESL Impact League Season 8
BLAST Rivals Fall 2025
IEM Chengdu 2025

Upcoming

Escore Tournament S1: W5
Acropolis #4
IPSL Spring 2026
Bellum Gens Elite Stara Zagora 2026
HSC XXVIII
Rongyi Cup S3
Nations Cup 2026
Stake Ranked Episode 1
BLAST Open Spring 2026
ESL Pro League Season 23
ESL Pro League Season 23
PGL Cluj-Napoca 2026
IEM Kraków 2026
BLAST Bounty Winter 2026
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 © 2026 TLnet. All Rights Reserved.