In code how does one count the digits of a very large number?
The number has over 50,000 digits, and is of the form k*2^n -1.
With(k<2^n)


Thanks in advance!