Skip to main content
OlympiadHQ

Browse · MATH

Print

jmc

number theory senior

Problem

If , where is an integer greater than and can be represented as a terminating decimal, find the sum of all possible values of .
Solution
Recall that a terminating decimal can be written as where and are integers. Since can be expressed as a terminating decimal, then , as is odd for all and, thus, can't equal or . Thus, our sum is equal to , by the formula for the sum of an infinite geometric series with common ratio (between and 1) and first term .
Final answer
\frac{1}{4}