log x = y, such that 10^(y) = x.

From math class, 2^(d) = 10 ^ d log(2)

10 ^ (d * log(2)) has (d * log(2)) digits.

By experimentation, 2^d = (d * log(2)) + 1 digits.

Advertisements

log x = y, such that 10^(y) = x.

From math class, 2^(d) = 10 ^ d log(2)

10 ^ (d * log(2)) has (d * log(2)) digits.

By experimentation, 2^d = (d * log(2)) + 1 digits.

Advertisements

%d bloggers like this: