Which is Larger: 300! or 100^300? Need Help Finding the Correct Solution?

  • Context: Undergrad 
  • Thread starter Thread starter vsage
  • Start date Start date
Click For Summary

Discussion Overview

The discussion revolves around determining which is larger: 300! (300 factorial) or 100^300. Participants explore various methods to approach the problem, including logarithmic comparisons and Stirling's approximation, while expressing uncertainty about their calculations and the validity of their methods.

Discussion Character

  • Exploratory
  • Mathematical reasoning
  • Debate/contested

Main Points Raised

  • Some participants suggest using the number of digits in each number as a method of comparison, noting that 100^300 has 601 digits.
  • One participant proposes evaluating the product of terms in 300! to compare it to 100^300, expressing uncertainty about the correctness of their approach.
  • Another participant calculates the logarithm of 300! using Stirling's approximation and finds it to be greater than that of 100^300, but acknowledges the need for careful consideration of the approximation's accuracy.
  • Several participants discuss the limitations of using calculators and the potential for a non-computer-oriented solution, given the problem's age.
  • Some participants express confusion over their earlier calculations and clarify their methods, indicating a lack of consensus on the best approach.
  • One participant mentions that the solution provided in a particular problem set differs significantly from their own findings, suggesting a simpler method may exist.
  • Another participant discusses bounding log(300!) using integrals, indicating a more rigorous mathematical approach to the problem.

Areas of Agreement / Disagreement

Participants do not reach a consensus on which method is definitively correct or whether 300! is indeed larger than 100^300. Multiple competing views and methods are presented, with varying degrees of confidence in their results.

Contextual Notes

Some participants note the limitations of their methods, including the dependence on the accuracy of Stirling's approximation and the challenges of performing calculations without computational tools. There is also mention of the historical context of the problem, suggesting that it may have a more straightforward solution than those currently discussed.

Who May Find This Useful

This discussion may be of interest to those studying combinatorics, factorials, or mathematical approximations, as well as individuals looking for different approaches to comparing large numbers.

vsage
I was looking through some random problems that asked me to prove certain things. The first one, which is larger: 1.000001^(1,000,000) or 2 was simple, but then it asked me to determine which is larger: 300! or 100^300. Any ideas on how to *correctly* arrive at a solution? My guess is 300! is larger.
 
Mathematics news on Phys.org
Maybe you could count the number of digits in the decimal representation of each number? The number of digits in 100^300 = 10^600 is obviously 601. For 300!, try evaluating floor( log_10(300!) ) + 1 by rewriting the logarithm with base e and then using Stirling's approximation.
 
Last edited:
300! = 300 * 299 * 298 * ... * 2 * 1 = 100^300 * (3 * 2.99 * 2.98 * ... * 0.02 * 0.01)

Simply evaluate if (3 * 2.99 * 2.98 * ... * 0.02 * 0.01) is smaller or bigger than 1, if it's bigger then 300! is bigger than 100^300

(This is just a guess, I've never done anything like this before)

Edit: I just ran a quick program and get it as being about 306057512220160, but I'm not 100% confident I am right.
 
Last edited:
Here's a way:

the number of digits in 300^100 is [100log 300] = 247 (log is the base-10 logarithm and the square brackets signify the floor function)

therefore if 300! > 300!, the numebr of digits in 300! will be greater than 247.

The number of digits in 300! is:

[tex]\sum^{300}_{i=1} \log{i}[/tex]

as for any k > 100 we know that log k > 2

We know the last 200 terms in the sum are greater than or equal to 2, meaning the sum of the last 200 terms is at least 400. Therfore 300! has at least 400 digits and is greater than 300^100.

edited to add: oops I've got the digits the wrong way round, I'll have anothe rllok at it.
 
Last edited:
Hmm I've looked at it agin, ther's no easy way of usig the method above to prove that 300! > 100^300 (which it is, but only by 14 orders which isn't much in this context).
 
jcsd I really like that way, however [itex]100^{300}[/itex] = [itex](10^2)^{300}[/itex] = [itex]10^{600}[/itex].

If my method is correct then it should stand that:

[tex]\left(\sum^{300}_{i=1} \log_{10}{i}\right) - 15 \approx 600[/tex]

And therefore:

[tex]\left(\sum^{300}_{i=1} \log_{10}{i}\right) \approx 615[/tex]

Running through a quick program I just made I get that:


[tex]\sum^{300}_{i=1} \log_{10}{i} \approx 614.485803[/tex]

Thus showing that my method agrees with your method and 300! > 100^300
 
Yep I misread 100^300 as 300^100. There's no easy way though of proving it using that method tho' without using a computer.
 
jcsd said:
Yep I misread 100^300 as 300^100. There's no easy way though of proving it using that method tho' without using a computer.
Well I've been putting this into my calculator, I would struggle doing it on paper.
 
Infact the Stirling approximation seems the best way to go as you can prove quite easily it's larger than 10^614.
 
  • #10
log( 100^300 ) = 600

log( 300! ) approx log [ sqrt(2*pi*300) * (300/e)^300 ]

= 1.6377 + 300 * 2.0428 = 614.4857

So, 300! > 100^300
 
  • #11
Thanks for all the replies.. Just a little background information on the problem: it is over 50 years old so it must have a non-computer-oriented solution. Any ideas with this new info? I considered the logarithmic method before I posted this but wasn't satisfied with the results because they seemed too contrived by the calculator.
 
  • #12
vsage said:
Thanks for all the replies.. Just a little background information on the problem: it is over 50 years old so it must have a non-computer-oriented solution. Any ideas with this new info? I considered the logarithmic method before I posted this but wasn't satisfied with the results because they seemed too contrived by the calculator.

Rogerio's solution is failry starightforawrd , can be done on a piece of paper and is correct (300! must actually be smaller than the solution obtained by Rogerio, though infact it's only a 'little' bit smaller).
 
Last edited:
  • #13
Rogerio's use of Stirlings can be done by hand, but you need to have an idea of how far off the Stirlings approximation is at 300! (this is certainly do-able, and the answer is it's certainly not far enough to affect the result). You don't need quite the power of Stirling though, you can bound log(300!) accurately enough from below by an integral:

[tex]\log(300!)=\sum\limits_{n=1}^{300}\log(n)\geq\int\limits_{1}^{300}\log(t)dt=300\log (300)-300+1> 300(\log(300)-1)= 300\log (300/e)> 300\log(100)=\log(100^{300})[/tex]

And you're done.
 
  • #14
Bravo!

-- AI
 
  • #15
Great solution shmoe. I just found the solution given in the particular problem set and it's radically different but I have to say yours is much simpler.
 
  • #16
shmoe said:
Rogerio's use of Stirlings can be done by hand, but you need to have an idea of how far off the Stirlings approximation is at 300! (this is certainly do-able, and the answer is it's certainly not far enough to affect the result). You don't need quite the power of Stirling though, you can bound log(300!) accurately enough from below by an integral:

[tex]\log(300!)=\sum\limits_{n=1}^{300}\log(n)\geq\int\limits_{1}^{300}\log(t)dt=300\log (300)-300+1> 300(\log(300)-1)= 300\log (300/e)> 300\log(100)=\log(100^{300})[/tex]

And you're done.
Actually the formula Rogerio used is guarenteed to be less than 300!, so it is simply sufficent to prove thta the approximation given by Rogrio is greater than 100^300, which it is.
 
  • #17
vsage said:
Thanks for all the replies.. Just a little background information on the problem: it is over 50 years old so it must have a non-computer-oriented solution. Any ideas with this new info? I considered the logarithmic method before I posted this but wasn't satisfied with the results because they seemed too contrived by the calculator.
I find people often forget the power of a log table :smile:
 
  • #18
jcsd said:
Actually the formula Rogerio used is guarenteed to be less than 300!, so it is simply sufficent to prove thta the approximation given by Rogrio is greater than 100^300, which it is.

Good to know! My day to day dealings with stirlings approx. is for asymptotics in the complex plane. I'd never bothered to consider that it would always be an under approximation for real values.


vsage, what method did the solutions use?
 
  • #19
It seems ok :-)
 
Last edited:
  • #20
You'll notice [tex]0.301\geq -0.397[/tex], which agrees with the inequality I posted.

We have:

[tex]\log(n)=\int\limits_{n-1}^{n}\log(n)dt\geq\int\limits_{n-1}^{n}\log(t)dt[/tex]

since log is increasing on [tex](n-1,n)[/tex]
 
  • #21
Shmoe: the solution is over a page long, but it involved first proving that the product of n consecutive natural numbers is greater than the nth power of the square root of the product of the first and last number (almost verbatim). It's really way too long to type out right now, but I guess if you're interested I'll type it up tomorrow.
 
  • #22
The general idea is good enough vsage, I can fill in the details on my own. You can find a more interesting use of your time:).
 

Similar threads

  • · Replies 3 ·
Replies
3
Views
1K
Replies
2
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
5K
  • · Replies 62 ·
3
Replies
62
Views
7K
  • · Replies 2 ·
Replies
2
Views
2K
Replies
35
Views
7K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 13 ·
Replies
13
Views
3K
  • · Replies 5 ·
Replies
5
Views
3K