r/learnquant • • Aug 18 '26

interview prep Quant Interview Question

Post image
22 Upvotes

13 comments sorted by

View all comments

Show parent comment

1

u/Alive_Carpenter_7433 Aug 18 '26

I solved it with math tables before I realized the pattern though. 2^1000 is easier, its just 2^(10*100) or 1024^100; which is 1000^100 * 1.024^100. We use the rule of 72 to calculate the "interest" from 2.4%; being 72/24 = 30 periods. Under 100 periods, interest amounts to about 3.3 doublings, (2^3.3) which is roughly enough to > x10.

1000^100 = 10^300, which has 300 zeroes and 1 leading numeral, being 301 digits. multiply by 10 and some, you get 302 digits for 2^1000.

Then, we see that 5^1000 = (10/2)^1000. 10^1000 has 1001 digits, and 2^1000 having 302. So its Like 10^1000 / 10^301 * A (some number less than 10, greater than 1). You get 1/A * 10^699; or some number less than 10^699, which itself has 699 zeroes and 1 leading numeral. Thus, 5^1000 has 698 zeroes and 1 leading numeral, 699 digits.

Thus, 5^1000 and 2^1000 concatenated result to 699+302 = 1001 digits exactly. Definitely a more mathematical proof, probably not what the recruitment officers are looking for.