In a previous post concerning roundoff error, I mentioned that the number equals
In other words, the binary expansion of is
That’s the expansion of the fraction in base , as opposed to base
.
In the previous post, I verified that the above infinite series actually converges to :
Still, a curious student may wonder how one earth one could directly convert into binary without knowing the above series ahead of time.
This can be addressed by using the principles that we’ve gleaned in this study of decimal representations, except translating this work into the language of base . In the following, I will use the subscripts
and
so that I’m clear about when I’m using decimal and binary, respectively.
To begin, we note that . (In other words, ten is equal to two times five.) So, following Case 3 of the previous post, we will attempt to write the denominator in the form
, or
- If
, then
, but
is not an integer.
- If
, then
, but
is not an integer.
- If
, then
, but
is not an integer.
- If
, then
. This time,
. Written in binary,
We now return to the binary representation of .
Therefore, the binary representation has a delay of one digit and a repeating block of four digits:
Naturally, this matches the binary representation given earlier.
One thought on “Thoughts on 1/7 and other rational numbers (Part 7)”