Yep, that's right! Numbers are fun! Numbers are your friends.
Below I have accumulated various number resources to aid in your enjoyment of integers and real numbers alike. If you have any contributions or comments, please leave me a message at sage@mind.net.
The C source for the programs I wrote to calculate these pages is also available at the top of each respective document.
Please note that this page is very very old (well, 2 years). I don't maintain it any more. Enough people seem to find it amusing that I'm leaving it here, though.
- [3/95] 250,000 digits of the square root of nine. It's exciting. No really.
- Primes!
- [6/95] The first 28,915 odd primes. Thanks to a devoted fan of the Fun With Numbers page (Well, at least I assume he's devoted... he noticed...), this page has been updated. Apparently, my initial calculations were incorrect! (Oh no! Can't have that!) (Source available)
- [6/95] The first even prime. The whole thing.
- [6/95] The First 50,000 Random Numbers! Well, just 50,000 random numbers.
Let's see.. the below programs used a nifty method for calculating very large (or very small) numbers that were out of the range of regular longs & double floats. I used a string to store each digit (or usually 2 digits.. base-100), and then performed multiplication, division, or subtraction "by hand" using the same algorithm you (hopefully) learned in elementary school. Well, almost the same.
- [6/12/95] The First 999 Factorials! That's right--we take you on an adventure beyond floating point calculations! (Source available)
- [8/26/95] Fractional approximations of pi, the most accurate found being 1 billion something over 300 some million. (Source available)
- UPDATE: [6/9/03] rchin at uiuc dot edu updated my fractional approximator to use the stern-brocot method of numerical approximation (here's an interesting article about it) with vastly improved runtimes. It calculates all the figures i had in just a few seconds! Cool enough to prompt the first update of this site in 8 years! Here's the modified source code.
- Powers of 2! That's 2, 4, 8, 16, etc... something every programmer should memorize. Well, at least up to 2^16. Or 2^24.
- [8/14/95] The first 1058 powers of 2. (Source available)
- [8/15/95] Various larger powers, ranging from 2^7498 (2258 digits) to 2^96086 (28,925 digits). About one in every 5,000 powers in between is listed. This is useful information, I tell you. I'm serious.
- [8/18/95] 2^333333 That 2 to the 333,333rd power. Almost exactly 100,000 digits.
Or, if you're one of the more .. er .. traditional number types:
- 1.2 million digits of pi (Project Gutenberg) Let's see.. 3.1415926535898, but the 8 is rounded.. I think it's 792459 or something like that.. Oh well. If you're interested in more than my puny .. er .. 13 digits after the decimal point (i.e. 1.2 million), take a look.
we're famous!
Don't even ask me why... I think those guys at point
are pretty bored!
Sign our
Guestbook!
. . .
. . .
This page and all contents © 1995 by Sage Weil.
All jams and jellies preserved. Question authority.