Professional Documents
Culture Documents
Your use of the JSTOR archive indicates your acceptance of the Terms & Conditions of Use, available at .
http://www.jstor.org/page/info/about/policies/terms.jsp
.
JSTOR is a not-for-profit service that helps scholars, researchers, and students discover, use, and build upon a wide range of
content in a trusted digital archive. We use information technology and tools to increase productivity and facilitate new forms
of scholarship. For more information about JSTOR, please contact support@jstor.org.
Mathematical Association of America is collaborating with JSTOR to digitize, preserve and extend access to
The College Mathematics Journal.
http://www.jstor.org
BrianGinsberg (brian.ginsberg@yale.edu) is a
mathematicsmajorat YaleUniversityin New Haven,CT,in
the class of 2004. His researchinterestsincludediscrete
mathematicsin generaland algebraicgraphtheoryin
particular. Whennot ponderingtheorems,Ginsberg,
originallyfromChicago,enjoysplayingpoker,watchingthe
televisionprogramLaw&Order,and absorbingmovietrivia
of all sorts.
Introduction
In 1836, the French mathematician E. Midy proved an amusing result in number the-
ory: Take a reduced fraction with prime denominator and even period (say 2k), chop
the decimal representation of the period into "halves" (the first k digits and the last k
digits), and add the halves. The sum will always be a string of 9s [1].
In the first improvement made on the theorem since it was stated nearly 166 years
ago, we will use nothing more than elementary number theory to show that an analo-
gous form of this result holds for a wider class of fractions than those Midy originally
considered.
Historical background
Before we begin speaking about the work (or lack thereof) done on Midy's old result,
we should formalize the statement of the theorem so we can proceed in as precise a
fashion as possible.
Theorem 1 (Midy). Let p be prime and let m be coprime to p. For ease of presen-
tation, take m < p. Suppose Pmhas period 2k for some positive integer k and write
k digits k digits k digits
m
A B A
P
In words, A and B are the two k-digit halves (written as integers) of the whole period.
Then A + B = 10k - 1. That is, the sum of the two halves of the period is a string of
k 9s.
3
- = .428571,
7
where the overbar denotes repetition. Observe 428 + 571 = 999. Note that by [5,
Corollary 2, p. 672] there are many fractions with composite denominators having
the same property, namely those with denominators dividing 10P + 1 where p is an
odd prime.
26 @ THEMATHEMATICAL
ASSOCIATION
OF AMERICA
A proof of Midy'stheorem
We need to state a couple of key facts about periodic decimals:
Fact 2. Suppose the decimal expansion of 1 has period L. Then the decimal expan-
P
m lOkA + B
p 102k 1 (1)
10kA + B
(10k - 1)(10k + 1)
m(10k + 1) 10kA + B A+ B
- =A (2)
p 10k - 1 +. 10k _1
The left-hand side of (2) is a whole number since p I 10k + 1; hence, so is the right-
hand side. But A is a whole number, so therefore A+B must be a whole number as
well.
Recall A and B have k digits each, and note that 10k - 1 is the largest k-digit num-
ber. Thus we automatically have A, B < 10k - 1, whereupon A + B < 2(10k - 1).
Now suppose (for contradiction) that equality occurs; that is, suppose A + B
2(10k - 1). This means that A, B are maximal and hence
2k 9s
Thus " has period 1, which is contradictory. Therefore, we can assert the strict in-
p
equality A + B < 2(10k - 1). But since AtB must be a whole number, and since we
are obviously unconcerned with digits that are all 0, we have A + B = 10k - 1 as was
to be shown. U
A 3k-analog of Midy'stheorem
Now that we are familiar with the formal statement of the original theorem, we are
ready for the analogous statement of the proposed extension:
-=. A B C A
p
In words, A, B, and C are the three k-digit thirds of the whole period. Then A + B -
C = 10k- 1.
28 @ THEMATHEMATICAL OF AMERICA
ASSOCIATION
1 A102k + B10k + C
p (3)
p = 103k_ 1 .
Thusp I (103k - 1) = (10k - 1)(102k + 10k + 1) SOP (102k + 10k + 1). Then,from
(3) we obtain
Thus A+B+C is an integer, and since each A, B, C < 10k - 1 (and cannot all equal
10k - 1), either
A+B+C
=1 (5)
10k - 1
or
A + B +C
= 2. (6)
10k - 1
Note that this part of the proof works equally well for any fraction with period 3k,
_
so in any case (5) or (6) is valid. We need to disqualify the latter possibility. To do this,
we shall suppose it is true and argue by contradiction via two exhaustive cases.
Case 2 (A 0 0). This means A > 1. Also no matter how large A is, at least one of
{B, C} must be non-zero in order for (6) to hold. Thus, we can use (say) (4) to obtain
A < k (whichin turnmeansp < 10k). Since B < 10k - 1, we can put a lowerbound
on C, to wit:
C = 2(10k - 1) - (A + B)
10k 10k
-= p
p-1
Pi
(p-1I
I10ok o10k)
This leads to the very restrictive estimate
p-2<m <p,
Observe that p cannot divide 10k - 1 because then ? would not have period 3k as
P
assumed. Thus p I 102k + 10k + 1. But we also have p I 10k + 1, whence p divides
the difference; that is, p I 102k. But note that 102k consists only of 2s and 5s, which
means either p = 2 or p = 5. But in these cases, the reciprocal is not periodic at
all. Thus we obtain another contradiction which concludes this case and proves the
theorem. N
References
1. L. E. Dickson, Historyof the Theoryof Numbers,vol. 1, CambridgeInstituteof Washington,1919.
2. M. Gardner,MathematicalCircus, MathematicalAssociation of America,Washington,D.C., 1992.
3. M. Gazale, Number:FromAhmes to Cantor,PrincetonUniversityPress, Princeton,2000.
4. G. H. Hardyand E. M. Wright,An Introductionto the Theoryof Numbers,4th ed., Oxford UniversityPress,
London, 1960.
5. W. G. Leavitt,A theoremon repeatingdecimals,AmericanMathematicalMonthly74(6) June-July1967, 669-
773.
6. H. Rademacherand 0. Toeplitz, TheEnjoymentof Mathematics,PrincetonUniversityPress, Princeton,1957.
30 @ THEMATHEMATICAL
ASSOCIATION
OF AMERICA