How many digits are there in 2^64?
Aptitude
Logarithm
Difficulty: Easy
Choose an option
-
A18 digit
-
B19 digit
-
C20 digit
-
D21digit
-
ENone of these
Answer
Correct Answer: 20 digit
Explanation
Introduction / Context:Digit count uses base-10 logarithms: digits = floor(log10 N) + 1 for positive integers N. We are given N = 2^64, so we only need log10 2 and multiplication.
Given Data / Assumptions:
- N = 2^64.
- Use log10 2 ≈ 0.30103 (common value).
Concept / Approach:
- Compute log10 N = 64 × log10 2.
- Apply digits = floor(log10 N) + 1.
Step-by-Step Solution:
log10(2^64) ≈ 64 × 0.30103 = 19.26592Digits = floor(19.26592) + 1 = 19 + 1 = 20Verification / Alternative check:2^10 ≈ 10^3, so 2^60 ≈ 10^18; multiply by 2^4 = 16 gives about 1.6 × 10^19 ⇒ 20 digits.
Why Other Options Are Wrong:
- 18 or 19 underestimate; 21 overestimates the power.
Final Answer:20 digit