Skip to content

Sum of inverse cubes over terminating-decimal reciprocals

Question

Let SS be the set of positive integers kk for which the decimal expansion of 1k\tfrac1k ends after finitely many digits (for instance 2∈S2\in S because 12=0.5\tfrac12=0.5, while 7∉S7\notin S because 17\tfrac17 repeats forever). Compute ∑k∈S1k3.\sum_{k\in S}\frac{1}{k^3}.

Short answer

250217\tfrac{250}{217}. The reciprocal 1/k1/k terminates exactly when k=2a5bk=2^a5^b. The sum therefore factors into two geometric series: ∑a8−a⋅∑b125−b=87⋅125124=250217\sum_a 8^{-a}\cdot\sum_b 125^{-b}=\tfrac87\cdot\tfrac{125}{124}=\tfrac{250}{217}.

Adapted from QuantQuestions.io; question and answer rewritten by SelfMadeQuant.com.

See the hint and the full worked solution in the question bank (free account).

Open the worked solution

Lessons behind this question