Skip to content

Digits of 2 to the 1000 next to 5 to the 1000

Question

Write the decimal forms of 210002^{1000} and 510005^{1000} side by side to make one long number. How many digits does it have?

Short answer

10011001. The digit counts are ⌊1000log⁡102⌋+1\lfloor1000\log_{10}2\rfloor+1 and ⌊1000log⁡105⌋+1\lfloor1000\log_{10}5\rfloor+1. The two logs sum to exactly 10001000 and neither is an integer, so their floors sum to 999999, giving 999+2=1001999+2=1001.

Adapted from QuantQuestions.io; question and answer rewritten by SelfMadeQuant.com.

See the hint and the full worked solution in the question bank (free account).

Open the worked solution

Lessons behind this question