Skip to main content
OlympiadHQ

Browse · MathNet

Print

Silk Road Mathematics Competition

number theory

Problem

Observe that the fraction is a pure periodical decimal with period , and in one period one has . For , find a sufficient and necessary condition that the fraction has the same properties as above and find two such fractions other than .
Solution
Suppose , , , and is its period. Since we have Therefore, By (1) and the knowledge of numbers, we guess the sufficient and necessary condition is In fact, since is the period of , we have So for . Namely, for . The condition (2) is necessary.

Now we assume that satisfies the condition (2). Let where , are integers. Then Put . Using (1) we have For , because so . For , because we also have . Therefore the period of is . That is, the condition (2) is sufficient. By the condition (2), if is a fraction we look for, then does not have factors 3 and 5. So the possible values of are 11, 13, 17, 19, 23, .... Since , 11 and 13 do not satisfy the condition. Consider . We have For it is obvious that . For , since , it is obvious too that . Therefore, is a fraction we need. Similarly, consider . It is easy to check that for . So is another fraction we want to seek.
Final answer
Necessary and sufficient condition: 2n+1 divides 10^n + 1 and 2n+1 does not divide 10^i + 1 for any i with 1 ≤ i < n. Examples: 1/17 and 1/19.

Techniques

Multiplicative orderSums and products