TRUE or FALSE: 2n and 5n always have the same number of digits for any positive integer n.
⚠️
COMMON MISTAKE: Students think "since log2+log5=1, their digit counts must be equal." But floor is applied separately!
📖 Solution
1
It's FALSE. Although n×log2 + n×log5 = n, the floors differ: ⌊n×log2⌋ + ⌊n×log5⌋ ≤ n (not necessarily equal when split).
2
Example n=1: 2¹=2 (1 digit), 5¹=5 (1 digit) — same. n=2: 4 (1 digit) vs 25 (2 digits) — different! So FALSE.
17
Hard
How many digits does 2n have when n = 50?
50 × 0.3010 = 15.050
📖 Solution
1
log₁₀(2⁵⁰) = 50 × 0.3010 = 15.050
2
⌊15.050⌋ + 1 = 15 + 1 = 16 digits
18
HardDeep Thinking
How many of the numbers 21, 22, 23, …, 210 are single-digit numbers?
🔑
LIST THEM: 2,4,8,16,32... Which are ≤9? Count carefully.
📖 Solution
1
2¹=2 ✓, 2²=4 ✓, 2³=8 ✓, 2⁴=16 ✗ (2 digits)
2
Only 3 numbers (n=1,2,3) give single-digit values.
19
HardSynthesis
What is the total number of digits of 2n and 5n combined, for n = 5?
digits(2⁵) + digits(5⁵) = ?
💡 Key Relationship
For any n: digits(2ⁿ) + digits(5ⁿ) = n+1 or n+2.
Because: 2ⁿ × 5ⁿ = 10ⁿ has exactly n+1 digits.
📖 Solution
1
2⁵ = 32 → 2 digits
2
5⁵ = 3125 → 4 digits (log: 5×0.699=3.495→4)
3
Total = 2 + 4 + 1 = wait: just count. 2+4 = 6... but actually 2⁵=32 is 2 digits, 5⁵=3125 is 4 digits. 2+4=6. Hmm, but 10⁵=6 digits, so digit(2ⁿ)+digit(5ⁿ) should sum near n+1=6... Actually: digits(32)+digits(3125) = 2+4 = 6. But the answer is 7? Let me recheck: 5⁵=3125 (4 digits). 2⁵=32 (2 digits). Sum=6. Correct answer B=6.
20
Boss LevelUltimate Challenge
If 2n has exactly k digits, how many digits does 5n have? Express in terms of n and k.
💡 Deep Relationship
2ⁿ × 5ⁿ = 10ⁿ which has n+1 digits.
If 2ⁿ has k digits → its log is in [k−1, k). So log(5ⁿ) = n − log(2ⁿ) is in (n−k, n−k+1].
This means digits(5ⁿ) = n − k + 1 or n − k + 2.
🔑
ULTIMATE TRICK: digits(2ⁿ) + digits(5ⁿ) = n + 1 or n + 2. So digits(5ⁿ) = (n+1) − k or (n+2) − k.
📖 Solution
1
Since 2ⁿ × 5ⁿ = 10ⁿ, and 10ⁿ has n+1 digits.
2
digits(2ⁿ) + digits(5ⁿ) is always n+1 or n+2 (the extra 1 comes from carrying in multiplication).
3
So digits(5ⁿ) = n − k + 1 or n − k + 2. The most common answer is n − k + 2.