I want to find the base $7$ expansion of this fraction $\left(\frac{31}{32}\right)_{10}$.
I normally do this by long division in the desired base. Which is no problem for fractions with single digit denominators and numerators like $\frac{5}{6}$ and things like that, but when it comes to $2$ digits this method is useless, because I don't know my $32$ times table in base $7$.
Is there an easier way to do this or will I just have to bite the bullet? I would preferably like to keep doing the long division way.
I thought, since I didn't see one, I would present an instance of long division in native base $7$:
$$ \require{enclose} \begin{array}{r} 0.6531\phantom{6} \\[-3pt] 44 \enclose{longdiv}{43.00000}\kern-.2ex \\[-3pt] \underline{36.0}\phantom{0000} \\[-3pt] 3.40\phantom{000} \\[-3pt] \underline{3.16}\phantom{000} \\[-3pt] 210\phantom{00} \\[-3pt] \underline{165}\phantom{00} \\[-3pt] 120\phantom{0} \\[-3pt] \underline{44}\phantom{0} \\[-3pt] 430 \end{array} $$
At this point in the calculations, it becomes evident that the result is the repeating septimal value $0.\overline{6531}_7$.
Here's another way. We recognize that this is a rational number, and therefore must have a septimal representation that is either terminating or repeating. Since $32 = 2^5$ is not a power of $7$, it must be repeating. Therefore, we seek a power of $7$ that is one more than a multiple of $32$; that is,
$$ 32k = 7^d-1 $$
and then the repeating decimal has a period of $d$ digits, which is the septimal representation of $31k$. There are more systematic ways of doing this, but the numbers here are small enough to do by inspection: We see that $7^4-1 = 2400 = 32 \times 75$, and $31 \times 75 = 2325 = 6531_7$, and that's our repeating period.