What is the largest real number one can write within 200 characters?

  • Thread starter Thread starter micromass
  • Start date Start date
  • Tags Tags
    Contest
Join the discussion
Registration is free. Start your own thread to ask a follow-up.
171 replies · 22K views
micromass said:
Doesn't terminate so not a valid number.
We have defined a size of an infinite set a valid cardinal number, haven't we ? -/+infinity is an extended real number until you hit Control+C.
 
Mathematics news on Phys.org
Pepper Mint said:
We have defined a size of an infinite set a valid cardinal number, haven't we ? -/+infinity is an extended real number until you hit Control+C.
Micromass would have to confirm, but I'm assuming that rule 1 for the contest implies extended real numbers are not permitted since it explicitly prohibits the use of infinity.
 
Dembadon said:
Micromass would have to confirm, but I'm assuming that rule 1 for the contest implies extended real numbers are not permitted since it explicitly prohibits the use of infinity.

Indeed, only real numbers are allowed.
 
Code:
 The number of seconds required to calculate the number of digits in every number in this thread using an abacus, an unlimited supply of paper and pencils, and a wooden spoon.
 
  • Like
Likes   Reactions: ProfuselyQuarky and JorisL
micromass said:
Doesn't terminate so not a valid number.
Still much more real than many.
 
Drakkith said:
Code:
 The number of seconds required to calculate the number of digits in every number in this thread using an abacus, an unlimited supply of paper and pencils, and a wooden spoon.
Nice but, sadly, non-computable, owing to its self-referentiality generating an infinite regress. But if you added 'other than posts 104 and 124' it would work.
 
  • Like
Likes   Reactions: Drakkith
Dembadon said:
Since you initialize x to zero, the condition in the for-loop will be false and it will not run your statement.

Doesn't matter, he and everybody else who try looping/recursive code tricks, will inevitable run out of RAM before even getting close to Graham's number [or TREE(3) or SCG(13) or BIG FOOT]. It won't work even if you turn the whole observable universe into a Samsung semiconductor plant ... :smile:
 
  • Like
Likes   Reactions: micromass
andrewkirk said:
Nice but, sadly, non-computable, owing to its self-referentiality generating an infinite regress. But if you added 'other than posts 104 and 124' it would work.
That's okay. I still have my spoon.
 
  • Like
Likes   Reactions: andrewkirk and collinsmark
Dembadon said:
Since you initialize x to zero, the condition in the for-loop will be false and it will not run your statement.
I'm using java and that is an endless loop. The loop will run even if x is zero, if you think otherwise I don't think you know code.
 
DevilsAvocado said:
Doesn't matter, he and everybody else who try looping/recursive code tricks, will inevitable run out of RAM before even getting close to Graham's number [or TREE(3) or SCG(13) or BIG FOOT]. It won't work even if you turn the whole observable universe into a Samsung semiconductor plant ... :smile:
The number I'm producing is something and its called infinity. You can't show infinity on a computer, which doesn't make it false or not a concept. Just because their isn't enough ram to make my number doesn't mean it does exist.
 
Patrick_Hutecker said:
The number I'm producing is something and its called infinity. You can't show infinity on a computer, which doesn't make it false or not a concept. Just because their isn't enough ram to make my number doesn't mean it does exist.

Infinity is not a real number.
 
micromass said:
Infinity is not a real number.
ok its a concept you got me there
 
Patrick_Hutecker said:
I'm using java and that is an endless loop. The loop will run even if x is zero, if you think otherwise I don't think you know code.
I think you should probably try and run your code before suggesting someone "doesn't know code". The fact that the condition in your for-loop will always be false is not the only problem with your "endless loop". Your program won't even run because you didn't define a data type for 'x' and you missed a semicolon at the end of your statement in the for-loop.
 
Dembadon said:
I think you should probably try and run your code before suggesting someone "doesn't know code". The fact that the condition in your for-loop will always be false is not the only problem with your "endless loop". Your program won't even run because you didn't define a data type for 'x' and you missed a semicolon at the end of your statement in the for-loop.

Not to mention the fact y can't hold number larger than MAXINT (whatever it is in the particular system - assuming Java it should be +9,223,372,036,854,775,807). If memory serves me well, Java won't even tell you there was an overflow.

Not to mention the fact OP never stated it is Java and it can be C or C++ as well (not that it changes the code behavior or problems it has).
 
  • Like
Likes   Reactions: Dembadon
TeethWhitener said:
Can we use busy beaver, or do the functions have to be computable?
Assuming that we can...here's a start:

Code:
Defs: [BB=busy beaver; f^n=f composed w/self n times; f→m→n=f^(m^(m…), m appears n times; g64=Graham’s #], number: (BB(g64)→BB(g64)→BB(g64))→(BB(g64)→BB(g64)→BB(g64))→(BB(g64)→BB(g64)→BB(g64))

8 characters to spare, just to leave room for someone to top it!

Edited to make BB^n definition clearer.
 
Patrick_Hutecker said:
The number I'm producing is something and its called infinity. You can't show infinity on a computer, which doesn't make it false or not a concept. Just because their isn't enough ram to make my number doesn't mean it does exist.

You are using "int y=100000000;" and the int64 unsigned range is 0 to 18,446,744,073,709,551,615 which is quite far from both infinity and Graham's number ...

Now, it's true that you can "show" many (virtual) things on a computer (including flying dogs), and one way to handle extremely large numbers is the binary64 double-precision floating-point format, with a max exponent of 1023, however the numbers you get is rounded approximations and does not qualify as a real number.

Beyond that, there is Arbitrary-precision arithmetic, that was originally implemented in Lisp and nowadays is supported in most modern languages like Java, Ruby, C/C++, etc. Using this technique, the digits of precision are limited only by the available memory of the host system (including integer). The processing speed is naturally much slower, since fast CPU registers can not be utilized as normal.

This brings us back to the "Observable Universe Samsung Semiconductor Plant", which is the final inexorable bottleneck for digital precision computing.

Why!?

Well, let's say Samsung finds a very clever way to utilize every particle in the observable universe for storing one digital bit (1/0) — how man many bits can we store?

[itex]10^{90}[/itex] bits

Normally the approximation is [itex]10^{80}[/itex] atoms in the observable universe, but Seth Lloyd (MIT) has published a paper Computational capacity of the universe where he calculate the number of bosons and fermions (particles/antiparticles) and thus get the bigger number (he also take gravitational energy into account but that's overkill = [itex]10^{120}[/itex] bits).

So, how big is the digital number Samsung/Seth Lloyd can ever store in the entire observable universe?

[itex]2^{10^{90}}[/itex]

That's a very big number, and I tried the Big Online Calculator (with 2048 bits mantissa and 256 bits exponent) but it halted at [itex]2^{10^{76}}[/itex] and returned:

[itex]1.75\times 10^{301029995663981195213738894724493026768189 8814621085413104274611271081892744}[/itex]

Not giving the full picture, that's a hefty number ...

But how hefty is it in comparison with the Real Monsters? Well, we can directly see that the 'tiny' (in this league) Googolplex [itex]10^{10^{100}}[/itex] is already much bigger.

Conclusion: If you use a digital computer to find the largest number — you're doomed to lose.

(And that goes for seconds and abacus as well, unless you plan to live longer than the universe! :wink:)
 
Last edited:
  • Like
Likes   Reactions: diogenesNY
Code:
Defs: [BB=busy beaver; f^n=f composed w/self n times; f→m→n=f^(m^(m…), m appears n times; gr=Graham’s #], number: (BB(gr)→BB(gr)→BB(gr))→(BB(gr)→BB(gr)→BB(gr))→(BB(gr)→BB(gr)→BB(gr))
Code:
11 in base^

(changed g64 to gr to save a few characters)

can we use BIG FOOT or TREE(3) without links? (don't really understand either but pretty sure they're exact finite numbers)
 
DevilsAvocado said:
(And that goes for seconds and abacus as well, unless you plan to live longer than the universe! :wink:)
Darn, I was going to use my abacus :oldlaugh:
 
DevilsAvocado said:
(And that goes for seconds and abacus as well, unless you plan to live longer than the universe! :wink:)

I don't know about you, but I plan to live forever.
 
  • Like
Likes   Reactions: ComplexVar89 and ProfuselyQuarky
Drakkith said:
I don't know about you, but I plan to live forever.
Hoping is different from planning. And I'm pretty sure you only hope to live forever!
 
  • Like
Likes   Reactions: ProfuselyQuarky and Drakkith
Shyan said:
Hoping is different from planning. And I'm pretty sure you only hope to live forever!
And planning is different from knowing :biggrin:

Drakkith knows that he's not going to live forever (I hope)
 
ProfuselyQuarky said:
Drakkith knows that he's not going to live forever (I hope)

Way to dash my hopes and dreams... :cry:
 
Drakkith said:
Way to dash my hopes and dreams... :cry:
There, there. My dream was to prove that narwhals are really unicorns undercover, but I soon got over it
 
  • Like
Likes   Reactions: Samy_A and Drakkith
ProfuselyQuarky said:
There, there. My dream was to prove that narwhals are really unicorns undercover, but I soon got over it
Who says they're not?:wink::wink:
 
  • Like
Likes   Reactions: ProfuselyQuarky
Isaac0427 said:
Who says they're not?:wink::wink:
Aha! A believer! Try telling that to a biology teacher :woot:

**I, for one, have done just that and do NOT recommend it**
 
Drakkith said:
but I plan to live forever

Or die trying?
 
  • Like
Likes   Reactions: atyy, ComplexVar89, Dembadon and 1 other person
Drakkith said:
I don't know about you, but I plan to live forever.

No worries, mate. I'm almost a little bit jealous ... imagine 4-8 billion* years from now, when the Milky Way and Andromeda merge into one ... man, talk about fireworks.

800px-Andromeda_Collides_Milky_Way.jpg


On the other hand, the Dark Era in [itex]10^{100}[/itex] years, doesn't look that tasty ... photons, neutrinos, electrons, and positrons flying from place to place, hardly ever encountering each other, and on top of that; a terribly unstable abacus and wooden spoon + the knowledge that you have only come halfway in this hair-raising PF Contest ... :rolleyes:

*Of course, that little hiccup of the Sun turning into a red giant, can easily be fixed with a wooden spoon and some perkiness.
 
  • Like
Likes   Reactions: Drakkith and ProfuselyQuarky