I'm wondering if there is a formula for the number of digits in $2^x$.
For example if $x = 3$ then the number of digits is equal to $1$ because $2^3 = 8$ or for example if $x = 4$ then the number of digits is equal to $2$ because $2^4 = 16$.
In an attempt to solve this problem on my own I made the following table:
2^1 = 1
2^2 = 1
2^3 = 1
2^4 = 2
2^5 = 2
2^6 = 2
2^7 = 3
2^8 = 3
2^9 = 3
2^10 = 4
2^11 = 4
2^12 = 4
2^13 = 4
2^14 = 5
At first it looks like there is a pattern of threes but then $10$-$13$ ruins it. It's late and I can't think of any other way to approach this problem, any help would be awesome.
The question is $2^x \ge 100\,000\,000$ digits.