All about flooble | fun stuff | Get a free chatterbox | Free JavaScript | Avatars    
perplexus dot info

Home > Numbers
Counting digits (Posted on 2003-02-20) Difficulty: 3 of 5
How many digits are there in 2^1000 (2 to the power of 1000)?

See The Solution Submitted by Anoop    
Rating: 3.8750 (8 votes)

Comments: ( Back to comment list | You must be logged in to post comments.)
re(2): And they are... | Comment 16 of 24 |
(In reply to re: And they are... by Ravi Raja)

It was calculated using the UBASIC interpreter. Per, from which (among other places) you can download a copy of this MS-DOS software,
UBASIC is a BASIC-like environment which is suitable for number theoretic investigations. Version 8 of UBASIC has the high precision real and complex arithmetic (up to 2600 digits) of previous versions, but adds exact rational arithmetic and arithmetic of polynomials with complex, rational, or modulo p coefficients, as well as string handling and limited list handling capabilities. In addition UBASIC has context-sensitive on-line documentation (read ubhelp.doc for information). The file that this uses is ASCII and can be printed for hard copy documentation. (from the documentation)
So, if you liked that, then you'll love
?factorial(1000) 4023872600770937735437024339230039857193748642107146325437999104299385123986290
... middle truncated due to limit on what flooble will take as a comment...
At 2568 digits it's almost at the limit of UBASIC.
  Posted by Charlie on 2003-02-26 08:20:19

Please log in:
Remember me:
Sign up! | Forgot password

Search body:
Forums (0)
Newest Problems
Random Problem
FAQ | About This Site
Site Statistics
New Comments (1)
Unsolved Problems
Top Rated Problems
This month's top
Most Commented On

Copyright © 2002 - 2018 by Animus Pactum Consulting. All rights reserved. Privacy Information