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.)
Solution Scientific guess | Comment 3 of 24 |
Asking how many digits (in base 10) is related to what power of ten the number is (10^x). Something that is 2 digits will have a value of 1 <= x < 2 (i.e, 1.something), 3 digits will have an x of 2.something, 4 digits will have an x of 3.something, and so on. In other words, the base 10 logarithm of the number, rounded down, plus one, will be the number of digits for the number in base 10.

log(2^1000) = 1000*log(2) = 1000*.30103 = 301.03
Rounding down and adding one yields 302, so there are 302 digits (base 10) in 2^1000.
  Posted by Ender on 2003-02-20 04:07:32
Please log in:
Login:
Password:
Remember me:
Sign up! | Forgot password


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

Chatterbox:
Copyright © 2002 - 2024 by Animus Pactum Consulting. All rights reserved. Privacy Information