
Patrick B. answered 03/13/21
Math and computer tutor/teacher
0.8 = 0.5 + 0.25 + 0.05
= 1/2 + 1/4 + 0.05
= 2^(-1) + 2^(-2) + 0.05
is the binary expansion thus far....
The 0.05 MUST be written as the some
of the binary expansion
SUM (1/2)^N = 5/100 = 1/20
This is the sum of the geometric series
with common ratio 1/2
the sum of which is 2[R^(n+1) - 1]
Then, with R=1/2
2[R^(n+1) - 1]= 0.05
R^(n+1) - 1 = 0.025
(1/2)^(n+1) = 1.025
Takes LOG_2 of both sides
-(n+1) = log(1.025)
n+1 = -log(1.025)
n = -1-log(1.025)
change of base to log_10 = LOG
n = -1 - LOG(1.025)/LOG(2)
which is Highly irrational and NOT an integer
Base 16 will be no better