FAMOUS PUZZLES
of Great Mathematicians
Miodrag S. Petkovic
®AMS
AMB.IU Cd.N SOCI£T1'
Providence, Rhode Island
2000 MC1tlr.ema:ti"" Subject Cla:11rifimtion, Primary OOA08, 97 A20, 01A05, 01A70, 05A05,
05045, 05C90, ll004, 11009, 51E:l0, 51Ml 6, 52015, 52C22, 97040.
Por additiona l infon1ut.tion and upd ates o n t his book: visit
www.ams.org/ b ookpages/ mbk63
Libra r y of Congress CataloginginPublication Dat a
Petlowit, Miodrag.
Famous puzzles of great mathematicians / Miodrag S. PetkoviC.
p. em.
[ucJudes bibliographical references and index.
ISBN 9780821848142 (alk. paper)
1. Mathemat ic:al recreations. 2. Ma.thEJmatics Populnr works. I. T i t le.
QA95.P4358 2009
5 l0 dc22 20090l'l018
Copy ing and r e print ing. (udh,;dua.l readers of this pubHcatiou, and nonp1·ofi t libra ries
acting for t hem, are 1>ermiUed to make fai r use of the material, such as to copy a chapter for use
in teaching or research. Permission is granted to quote br ief passages from this publication in
reviews, provided t he <; \Ust..ornary tl<:knowl(;ldgment of t be $tll..m;e }$given.
Republi<:a.t.ion, l5'y.sterntttic copying, or muJt.iple reprodutt.ioo of any rrmterittl in publit<ttiou
is permitted only under license from the American Mathematical Society. R<Equests for such
permission should be addressed to the Acquisitions Depa.rtment, American !\{atbematical Society,
201 Charles Street, Providence, Rhode Island 020042294 USA. Requests can also be made by
email 'o r eprint  per!QieeionCama. or g.
@ 2009 by t he American Mathematical Society. All l'ights reserved.
The Americtl.u Ma.tbemat.k<t l Society r<:! t<tius oll rights
except Lbose granted to the United ShAot.es Government.
Printed i n tbe U11ited States of America.
§The pa.per used in t his book is free and falls , ... ,it.bin the guidelines
estabJish0<l to AllSure pe•·ma.nenca aod d urabili ty.
Visi t the AMS home page a.t ht t p://www. ams .or g/
10 98 7 6 5 <I 3 2 I 14 13 12 :II :10 09
To my family
CONTENTS
Preface Xl ll
Art and Phot o Credits xyu
1. RECREATIONAL MATHEMATI CS "I
2. ABTTHMETICS
9
Diophantus' age (Diophantus)
10
Number of anows (1\fahiivim) 11
How many rabbi ts? (Fibonacci, p. 11) 12
Fi bonacci's sequence 13
Chessboard paradox 14
Square numbers problem (Fibonacci) 15
Money in a pile (Fibonacci) 16
Magic configuration ( Hui) 17
Triangle wit h integral sides (Bachet) 17
';>,'eights problem (Fibonacci, TM·tagl·ia., .Bachet) 20
MacMahon's general a.pproacb 23
Division of 17 horses ( Ta1·taqlia, p. 23) 24
Wine and water ( Ta·1·taqlia) 25
Coins in hands (Reconie) 25
Sides of two cubes ( Viete, p. 25) 26
Animals on a. field (Newton) 27
P6lya's solution 28
Dij rrie 's variant ?8
Other va.rjants ?.9
v
vi CONTENT S
Gathering an anny (AlC1Ain o.f Y01·k)
Answers t o P roblems
3. N UMBER THEORY
Cattle problem (A1chi medes, p . .18)
Dividing t ile square (Diophcmt1!S)
Wine problem (Diophantus)
Amicable numbers (ibn Qo1•ra)
Qorra's formula
Euler's rule
How many soldiers? (Bhaskam)
Horses aod bulls  a Diopbaot ine equat ion ( E'(tler)
The sailors, the coconuts, and the monkey ( P. Dime)
Dirac's solution
General sol ution
Unknown address (Ra.ma:nu;jan)
Stamp combinations (F1obenius, Sylveste1·, p. 60)
Generalized problem
Answers t o P roblems
4 . GEOMETRY
Arbelos problem (A1chimedes)
A rch jJ nf::dea.u
Per pendicular distance
Two touching circles
Minimal distance (Heron)
A fly and a, drop of honey
Peninsula problem
The same distance of traversed paths (Brahmaqupta)
Broken bamboo (B?a,hmaguptct)
Heigbt of a suspended string (Ma.hiivim)
The diameter of the ma.terial sphere ('i bn Qor1"a)
Dissection of three squares (Abu'l Wafa)
Dudeney's si:xcut dissection
29
30
37
41
44
45
45
47
47
t18
50
52
,56
57
61
62
64
1)7
68
69
70
73
75
76
77
78
78
80
81
82
CONTENTS
Dissection of four triaJ1gles ( A.bu 'l Waja.)
Bi lliard problem (Alhazen}
Distance of the optimal viewpoix1t (Req·iomontanus)
Rugby football problem
Saturn problem
The minimal sum of clistaJ1ces in a. triangle
( Steine1·, Fe1mat, To!'ricelli, Cavalie1·i)
Volumes of c:ylinders and spheres (Kepler, p.
Dido's problem (Ste·iner·, p. 95)
Division of space by planes (Steine1')
Division of pla.ne
Number of bounded re2'ions
Road system in a. square (Steind)
Kissing circles (Soddy, Descartes, K owa)
I<azavuki 's problem
Five kissing spheres
ndinlensional kissing spheres
The shortest bisecting arc of area ( Polya)
Answers t o Problems
5. TILING AND PACKING
Mosaics ( K eple1·)
Escher's mosaics
Nonperiodic tiling (Pemose, Conway)
Pemose's kitedart t iling
Conway's piuwheel t il ing
Maximum area by pentaminoes (Knuth)
Pentamino tilings
Squaring the square
Kissing spheres (D. Newton)
The densest sphere packing (I< eple1·, Gauss)
Kepler's conjecture
Circle packing
HaJes' sol ution
93)
VII
83
83
86
88
89
91
94
96
98
99
101
101
104
108
109
110
110
11 2
119
121
124
126
126
128
129
131
132
134
137
137
138
141
viij CONTENTS
Cubepacking puzzles (Conway)
Answers to P roblems
6 . PHYSI CS
The gold crown of King Iliero (A1·chimedes)
The length of traveled t ri p ( Oresme)
Meeting of ships ( L11cas, p. 155)
A girl and a bird ( Von Ne'UmrLnn, p. 157)
Von Neumann's easy series
i'vlore difficult problems
The lion and the man (Littlewood, Besicovitch, R. Rado)
Answer s t o P r oblems
7 . COM BINAT ORJCS
Combination with flavors (Mahavim)
Married couples cross the river (Bachet)
Four o1arried couples cross the river
Josephus problem (Bachet and othe1·s)
Dudeney's version
Japanese version
Gra.ha.mKnuthPatasnik's version
142
144
151
152
153
156
158
158
160
161
166
171
172
175
176
177
177
178
Rings puzzle ( Ca1·dano, p. 180) 181
Graycode numbers 182
The problem of the misaddressed letters (N. {II) Benw1•lli, Eule1·) 184
Euleri an squa.res (Eu.Le1·)
Latin sq nares
GraecoLa.tin squares
Euler's officers problem
Euler's conjecture
Parker's square of order 10
Kirkman's problem
(Ki1·kman, Steine1·, Sylveste1·, Cayley)
Steiner triple system
Genera.! problem
Sylvester's problem
186
187
187
188
188
189
189
190
192
192
CONTENTS ix
Counting problem (Cayley) 193
Races with ties 194
The Tower of Hanoi (Lucas) 196
Benares temple 198
Interchanging the checkers (I) 199
Interchanging the checkers (II) (Ltt.ca.s) 200
Shunting problem (L·ucas) 200
Problem of ma.Hied couples (probleme des menages) (L·ucas) 201
The tree plant ing problem (Sylvest e•t') 202
Dudeney's rnilitaJ·y puz.zle 203
Dudeney's four planting problem 204
Different distances (Er'diis, p. 205) 206
Answer s t o Proble ms 206
8 . PROBABII.ITY 209
The problem of the points (Fe1'mat, Pascal, p. 211) 212
P<<ScaiFermat's genera.) problem 213
Gambling ga.me with dice ( Hu.ygens) 215
Gambler's ruin problem (Pascal, Fermat, Huygens) 217
Genera.) problem 218
The Petersbmg paradox (N. ( III} Ber·noulli, D. Bernot1lli, Cmme1·) 220
Bernoulli 's moral expectat ion 221
Cramer's va.riaJ1t 222
The probabili ty problem with the misaddressed letters
(N. (II) Bemoulli, Eule1·) 222
Matchbox problem (Banach) 224
Combinatorial sum 225
Answers t o Proble ms 225
9. GRAPHS 229
The problem of Konigsberg's bridges (E!lle't) 230
Diagramtra.ci ng puzzle 231
Euler's theorem 231
Euler's pa.th 231
x CONTENT S
Crossing over 15 bridges 232
Tait 's net 23a
Hamilton's game on a dodecahedron (Hamilton, p. 2."J,'J)
Icosian puzzle
Hamiltonian cycles a nd t he Tower of Hanoi
Hamiltonian cycles on the Pla.tonic solids
Dira.c's theorem
Ore's theorem
King Arthur 's knights
A man, a wolf, a goat and a C<tbbage ( Alcu·in of Yin·k)
A stout family crosses the river ( Alc1,in of Yo1·k}
Explorers and carmibals
Seven towns and oneway roads (Enlos)
Poinsot's diagr amtra.ciug puzzle (Poinsot)
Complete graph K
7
and dominoes
Milk puzzle (Poisson)
Gra.ph solution
Listing's diagramtracing puzzle (LiS'ting)
Answers t o P r oble ms
10. C HESS
Knight's reentrant route
(de Moiv'l'e, de M ontm01"t, Vandetmonde, Eul e'l'")
De Moivre's reentraJlt route
Eoler)s reent.ra.nt route
Vandermonde's approach
Schw•m k 's thP.orP.m
Semiroa.gic reentrant route
Nonattacking rooks ( E·ul er)
The eight queens problem ( Ga·u.ss, p. 268)
nq ueens problem
Number of solutions
The longest uncrossed knight's tom (Knuth}
Guarini's knightswitching problem
A va.riant of the knightswitching problem
234
234
236
237
238
238
239
240
242
•
244
245
2t16
247
248
249
250
257
258
259
21)0
260
21)2
262
265
269
271
272
2n
274
276
CONTENTS XJ
Answers t o Problems 2·76
11. MISCELLANY
Problems from A lenin of Ymk 283
Problems from A lm' IWafa. 283
Amusing problems from Fibona.cci 284
Problems from Bachet 285
Huygeos' probability problems 285
Problems from Newton 286
Problems from Euler 286
APPENDIX A: Method of continued fractions for solving
Pell's equation 289
APPENDIX B : Geometrical inversion 293
APPENDIX C: Some basic fa.cts from graph theory 294
APPENDIX D: Linear difference equations with constant
Jr • t 2"f>'
co em cwn .s
Biographies  a chronological ordet· 299
Bibliography 311
Name inde x 319
PREFACE
Mathematics is too se?'ious and,
therej01·e, no oppO!'tunit;y should be
rn1s.sed to make it a.mt1sing.
Blaise Pascal
Mathematical puzzles and games have been in evidence ever since man
first began posing mathematical problems. The history of mathematics is
replete with examples of puzzles, games, and entertaining problems that have
fostered the development of new disciplines and sparked further research.
Important connections exist between problems originally meant to amuse
and mathematical concepts critical to graph theory, geometry, optimization
theory, combinatorics, a.nd number theory, to name only a few.
As a motivating force, then, the inclination to seek diversion and enter
tainment has resulted in the uni ntended revelation of mathematical truths
while also tempering mathematical logic. In fact, Bertrand Russell (1872
1970) once noted: "A logicCLl the01y rno.y be tested by its capacity jo1· decLling
'With p·uzzle.s, and it i5 a ·wholesome plCLn, in thinking abo·td logic, to stock
the m·ind w·i·th ilS many puzzles as poss·ible, since ·these se?'Ve much the same
pu.?pose as is se?'Ved by expel'irnen·ts in phys·ical science."
Perhaps t he popularity of mathema.tica.l puzzles and games endures be
cause they fulfill t he need for diversion, the desire to achieve mastery over
ch.allengiog subject matter or simply to test our intellectual capacities. Of
equa.l importance, mathema.tica.l amusements also offer an ample playing
field to both the amateur and the professional ma.thema.ticia.n. That ma.th
ematicians from a.ntiquity to the present have a.lways taken interest and
delighted in puzzles a.nd diversions might lend credence to the notion tha.t
creative stimulus and aesthetic consi demtions are closely interwoven. Ed
vard Kasner a.nd James Newman in their essay Pastimes of past and present
times (in The Wo·rld of Mathematics, Vol. 4 (ed. James Nev,.·man), Dover,
Mineola 2000) declare: " . . . No branch of intellectual a.ctivity is a
approp1'iate j'01· discussion tha.n puzzles and pa.mdoxes . . . . Puzzles
X Ill
xiv PREFACE
in one sense, better than any other· single b•mnch of mathematics, 1ejlect its
al1vays youthfu.l, 1Lnspoilef}., and ·inqu.i1·ing sp'i1•i.t . ... P·uzzles are made of the
things that the mathematici.an, no less than the child, plays with, and dreams
and wonde1·s about, jo1· they made of the things and ci1·cumstances of the
wor·ld he ·in. ·''
In attempt ing to bring the reader closer to the distinguished mat hemati
cians, I have selected 12'7 problems from t heir worb. Another 50 related
problems have been a.dded to this collection. 'I'he rnajodty of t hese mathe
matical diversions fi nd thei r basis in number theory, graph t heory a.nd prob
ability. Ot hers find their basis in combinatoria.J and chess problems, and
still others in geometrical and arithmetical puzzles. Noteworthy mathemati
cians ranging from Archimedes, Ca.rdUJ'IO, Kepler, Pascal, Huygens, New
ton, Euler, Gauss, Hamilton, Cayley, Sylvester, to von Neumann, Ba.nach,
Erdos and others, have all communicated brilliant ideas, methodological ap
proaches leavened \Vith humor, and absolute genius in mathematical t hought
by using recreational mathematics as a framewor k.
'I'his book also explores the brainteasing and puzzling contributions of
contempora.ry scientists aud matbema.ticia.ns such as J ohn E. Littlewood,
J ohn von Neumann, Stepbeu Bauach, Paul Erdos, (H. S. M.) Donald Cox.
eter, t he NobelPrize winning physicist Paul Dirac, the famous mathematical
physicist Roger Penrose, the eminent mathematician and puzzle composer
J ohn Horton Conway and t he great computer scient ist and mathematician
Donald I<nuth.
I have purposely selected problems that do not require advanced mathe
matics in order to make them accessible to a variety of readers. 'I'he tools
"
a.re simple: nothing but pencil and paper. Wha.t's requi red is patience and
persistence, the same quaiities that make for good careful mathemat ical re
search. Restricting problems to only those requiring the use of elementaq
mat hematics consequently forces the omission of ot her equally celebrated
problems requiring higher mathematical knowledge or familiarity with other
mathematical disciplines not usually covered at the high school level. Even
so, I have made several exceptions in t he application of certain nonstandard
yet elementary techniques in order to solve some problems. To help readers,
l have provided out li nes in the book's four appendices because I believe that
the t ime Md effort needed to master a ny additional rna.terial are negligible
when compared to the reader 's enjoyment in solving those problems.
At some point when writing a book of t his kind, most authors must limi t
their choices. The dilemma. I most frequently confronted as I selected prob
lems was this: What determine.s 'Whethe1·· a ta .. 5k is 1ecreational or· not? As
alrea.dy mentioned, in centuries past al most all ma.thematical problems (ex
PREFACE XV
eluding, of course, reaJLife problen1s of measuren1ent a.nd count ing) existed
chiefly for intellectual pleasure and stimulation. Ultimately, however, decid
ing the recreational merits of a given problem involves imposing arbitrary
clistinctions and artificial boundaries. Over time, a significant number of
recreational mathematics problems have become integral to the development
of eutirely new bra.nches in t he field. Furthermore, scientific journaJs often
take as thei r subject of study problems having the same features as those
that characterize recrea.tional ma.thematics problems. If the reader takes
pleasure in squaring off with the problems included here, then the author
may regard his selections as sa.tisfactory.
Although several tasks may appear trivial to today's amateur matbema.ti
cian, we must reca ll that several centuries ago, most of t hese problems were
not easy to solve. 'While ineluding such problems provides historical insight
into mathematical studies, we must also remain alert to t hei r historical con
text.
As t hi s book is intended principally to amuse a.nd entertain (and only
incidentally to introduce the generaJ reader to other intriguing mathemat
ical topics) , without viola.ting mathemat ical exactitude, it does not aJways
strictly observe the customary rigorous treatment of mathemat ical details,
definitions, and proofs. About 65 intriguing problems, marked by *, are
given as exercises to the rea.ders.
I note that, in some instances, difficulties arose wit h respect to reproduc
ing exact quotes from various sources. However, I t rust t ha.t these minor
inconveniences will not detract fTom the book's overall worth.
Last, a few comments regarding t he a.rraugement of materials. The table
of contents lists the tasks by their title, followed by the author's name in
parentheses. Mat hematicians whose tasks are included appear in the book's
index in boldface. Brief biogra,plties of these contributors appeaJ· in chrono
logicaJ order on pages 299 310. The page location indicating a particular
biogra.phy is given in the text behind the name of the contributor and his
puzzle (for example, t p. 299). Fwthennore, when introducing the tasks
themselves, I ha.ve included sometimes amusing anecdotal material si uce I
wa.nted to underscore the informa l and recrea.tional chara.cter of the book.
Given t hat the majority of terms, mathema.tica.l or otherwise, are familiar
to readers, there is no subject index.
Acknowledgment s. In the course of writing this book, I received great
support from my family, friends and eclitors.
An especially warm thank you goes to my wife and colleague Ljiljana.
Petkovic, and my elder sou Ivan, for their comments during the prepa,ration
of the ma.nuscript, <tnd t hei r neverfailing support and love.
xvi PREFACE
.Most of all, I tha.nk my younger son Vladimir Petkovic for bis eyecatching
ill ustrations. A very talented computer artist and designer , Vla.din1ir not
only crea.ted computer artworks that are both aesthetically attractive and
mathematically flavored, but be also solved several intricate problems dis
cussed in this book.
I have made use of personal materials collected over a twenty year pe
riod from university libraries in Freiburg, Oldenburg, and Kiel, GerroaJw;
London, England; Strasbourg (Universit€ Louis :France; Tsukuba,
J apan; Minneapolis, Minnesota, Columbia University; Vienna, Austria; the
Department of Mathematics, Novi Sad, Serbia and the Institute of Mathe
matics, Belgrade, Serbia .. I wish to tha.ok the staff of t hese libra ries for their
I would also like to say thanks to dear friends Dr. Martyn Durra.nt and
Professor Bi ljana 'MisicIlic, who read a. great deal of the manuscript and
suggested some improvements in language and style.
Many thanks go to Sergei Gelfand, the of the American Math
ematical Society, for his helpful comments, suggestions and encouragement,
and to Christine M. Thivierge, Associate Editor for Proceedings of the Amer
ican Mat hema.tical Society, for her great effort and persistence in providing
the photos of great mathematicians and several very valuable illustrations,
and Luann Cole, a production editor at the American Mathematical Soci
ety, who read the manuscript from beginni ng to end and ma.de a number of
improvements. I am also thankful to the a.nonyrnous referees; their helpful
suggestions, remarks and criticism greatly improved the exposition.
I especially wish to acknowledge the assistance and exceptional efforts
of Ma.rgaret Alice Hanson who helped me rewrite and edit of the
manuscript to prepa.re it for publication.
Miodrag S. Petlcovic
University of Nis, Serbia
February 2009
ART AND PHOTO CREDITS
The American Mathematical Society gra.tefully acknowledges the kindness
of the following institutions and individuals in granting these permissions.
American Mathematical Society
Photograph of John von Neumann
Archives of t be !Vla.therna.tisches Forschungsinsti t ut Oherwolfa.ch
Photographs of Carl Fdedrjch Gauss, Roger Penrose, and Srinivasa Ra
manujan
David C. Bossard
Radiolaria, Plate 117. @2003 by Dr. David C. Bossard. Prepared from
original documents in the li brary holdings of Dartmouth College. Used
by permission.
Renaud Camus
Photograph of Newton's birth house at Woolst horpe, England
J ohn Horton Conway
The pi ow heel tiJing
GalaSalvador Da.li Foundation/ Artists Rights Society (ARS), New York
Salvador Dali , "Fifty abstra.ct paintings, which as seen from two yards
change into three Lenins masquerading as Chinese and as seen from
six yards appear as the head of a Roy<\l Bengal Tiger," 1963, painting.
@2009 Salvador Dali, GalaSalvador DaJi Foundation/ Artists Rights So
ciety (ARS), New York
George Csicsery / Zala Films
Photo of Paul Erdos by George Paul Csicsery from his film "N is a Num
ber: A Portrait of Paul Erdos" (1993). @George Csicsery/Zala. Filius.
All Rights Re. erved.
xvu
xviii ART AND PHOTO CREDITS
Hector Ga.rciarMolina
Photogra.ph of Donald Knuth
M. C. Escher CompanyHolland
M. C. Escher's "Symmetry Drawing E67" @2008 The M. C. Escher
CompanyHolland. All Rights Reserved www.mcescher.com
Office of Communications, Princeton University and John Horton Conway
Photograph of .John Horton Conway
Vladimir Petkovic
Computer artworks and photographs pre. ented in Figures 1.2, 1.3, 1.5,
3. 1, 3.2, 3.4, 3.5, 4.9, 4. 10, 4.17, 4.21, 5.13, 5.14, 5. 16, 5.26, 5.27, 6.5 and
9.14 are by Vladimir Petkovic.
University of Texas Libraries, The University of Texas at Austin
Photograph of Sir Isaac Newton
AU other pbotographs were taken from pubUcly a'"aj Jable sources.
Chapter 1 RECREATIONAL
MATHEMATICS
Rec1·eational p1·oblerns ha·ve su1·vived.,
not becaltse they were fostered by the
textbook write1·s, b11t beca1tse of their
inhenmt appeaL to our Love of rnyste111·
Ve ra Sanford
Before taking up t he noteworthy mathematical t hinkers and their memo
rable problems, a. brief overview of the h:istory of ma.t hematical recreations
may benefi t the reader. For more historical details see, e.g., the books [6],
[118], [la3, Vol. 4], [153, Ch. VI], [167, VoL II]. Accorcling to V. Sanford
[153, Ch. VI], recreational ma.thema.tics comprises two principal divisions:
t hose t hat depend on obj ect rua.nipulation a.nd those that depend on com
putation.
4 9 2
3 5 7
0 8
1 6
FJCURE 1.1. The oldest magic squareloshu
Perhaps t be oldest kJlOwu example of t be 6rst group is the magic square
shown in the figure above. Known as loshu. to Chinese mat hematicia.ns
around 2200 B.C., the magic square was supposedly constructed during the
reign of t he Emperor Yil (see, e.g. , [61, Ch. II], or (167, Vol. I, p. 28]).
Chinese myth (27] holds tha.t Emperor Yu s<tw ft tortoise of divine creation
1
2 1 . RECREATIONAL MATHEMATICS
swimming in the Yellow River with the losht!, or magic squaJ·e figure, adorn
ing its shell. Tbe figure on t he left shows the loSh7t configuration where t he
numerals from 1 to 9 are composed of knots in strings with black knots for
even and white knots for odd numbers.
The Rhind (or Ahmes) pa.pyrus/ dating to around 1650 B.C. , suggests
that the early Egyptians based t heir mathematics problems in puzzle form.
As these problems had no applica.tiou to daj)y li fe, perhaps their main pur
pose was to provide intellectual pleasure. One of the earliest instances,
named "As I was going to St. /vet!', has t he form of a nursery rhyme (see
[153]):
"Seven houses; io each. are 7 c<t.ts; each cal; kills 7 mice; each mouse would have
eaten 7 ears of spelt ; each ear of s pelt will produce 7 hekat. What is t he total of
all of them'?"
2
The ancient Greeks also delighted in t he creation of problems strictly for
amusement. One name familiar to us is t ha.t of Archimedes, whose the cattle
p!'Oblem appea.rs on pages 41 to 43. It is one of t be m.ost famous problems
io number theory, whose complete solut ion was not found unt il 1965 by a
digital computer.
The classical Roman poet Virgil (70 B.C. 19 B.C. ) described in the Aeneid
the legend of t he PhoeniciM princess Dido. After esca.ping tyranny in her
home country, she arrived on t he coast of Nort h Africa llJ1d asked the local
ruler for a small piece of la.ncl , only as much land as could be encompassed
by a. bull's bide. The clever Dido t hen cut the hull's hide into the thinnest
possible strips, enclosed a. large tract of land a.nd built the city of Carthage
that would become her new horne. Today tile problem of enclosing tile ma.x
imum area within a fixed boundary is recognized as a classical ·isope'f'imett'ic
Jn'Oblern. It is regarded as the first problem in a new mathematical disci
pline, establishedl'7 centuries later, as calculus ofvaria.tions. J acob Steiner's
elegant solut ion of Dido's problem is incl uded in this book.
Another of the problems from ant iquity is concerned wi th a. group of
men arranged in a circle so that if every kth man is removed going around
t he circle, t he remainder shall be certain specified (favorable) individuals.
This problem, appeariog for the fi rst time in Ambrose of Milan's book ca.
370, is known as the Josephus problem, and it found its way not just into
later European manuscripts, but also into Arabian and ,Japanese books.
Depending on the time and location where the particular version of t he
J osephus problem was raised, the survivors and victims were sa.ilors aod
1
Named after Alexander Henry Rhind (18331863), a Scottish antiquarian, layer and
Egyptologist who acquired the papyrus in 1858 in Luxor (Egypt).
2
T. El'ic Peet's t1·nnsla.t iou of The R.h·ind Mathematic(ll P(q>yru.s, 1923.
1. RECREATIONAL MATHEMATICS 3
sn1ugglers, Christia.ns and Turks, sluggaJ·ds a.nd schoLHJ·s, good guys and
bad guys, a.nd so on. This puzzle attracted attention of many outstandi11g
scientist s, including Euler, Tait, Wilf, Graham, and Knuth.
As Europe emerged from the Dark Ages, interest in the arts and sciences
reawakened. In eighthcentury England, the mathematician and theologian
Alcuin of York wrote a book in which he included a problem that involved a
man wishing to ferry a wolf, '' gottt and a cabbttge across a river. The solu
tion shown on pages 240 242 demonstrates how one can solve the problem
accur ately by using graph theory. Rivercrossing problems under specific
conditions a.nd constraints were very popular in medieval Europe. Alcuin,
Tartaglia, Trenchant and Leurechon studied puzzles of this type. A variant
involves how three couples should cross the river in a. boat tha t Clumot cany
more than two people at a time. The problem is complicated by the jealousy
of the husbands; each husband is too jealous to leave his wife in the company
of either of the other men.
Four centuries later, mathematical puzzles appear in t he third section of
Leonardo Fibonacci's Libe·1· Abaci, pubUshed in 1202. This medievaJ scholar's
most famous problem, the ?Y.Lbbit prvblern, gave rise to the unending sequence
that bears his name: the Fibona.cci sequence, or Fibonacci numbers as they
are also known, 1, 1, 2, 3, 5, 8, 13, 21, 34, .. . (see pages 1213).
Yet another medieval mathematician, ibn Khallikan (12111282), formu
la.ted a brain teaser requiring t he calculation of the total number of whea.t
grains placed on a standard 8 x 8 chessboa.rd. The pla.cement of the grains
must respect the following distribution: 1 grain is placed on the first square,
2 grains on the second, 4 on the third, 8 on the fourth, and so on, doubling
the number for each successive square. The resulting number of grain$ is
2
64
 1, or 18,446,744,073,709,551,615. Ibn KhalUkan presented this prob
lem in the form of t he tale of the Indian king Shirham who wa.nted to reward
the Grand Vizier Sissa ben Dahir for having invented chess. Sissa asked for
the number of grains on the chessboard if each successive position is the next
nlilllber in a geometric progression. However, the king could not fulfill Sissa's
wish; indeed, the number of grains is so laJ"ge t hat it is fHJ· greater t han the
world's annual production of wheat gra.ins. Speaking in broa.d terms, ibn
Kha.llikan's was one of the earliest chess problems.
Ibn Kallika.n 's problem of the number of grains is a standard illustra
tion of geometric progressions, copied later by Fibonacci, Pacioli , Clavius
and Tartaglia .. Arithmetic progressions were also used in t hese entertaining
problems. One of the most challenging problems appeared in Buteo's book
Logistica (Lyons, 1559, 1560):
3
3
Tbe translat ion from Latin is given in 11531, p. 64.
4 1. RECREATIONAL MATHEMATICS
"A mouse is at the top of a poplar tree 60 bn•ccia
4
high, >.tnd a cat is on the
ground at its foot. The mouse descends 1/ 2 of a braccia a day and at night it
turns back 1/6 of a braccia. The cat climbs one braccia a day and goes back 1/4
of a braccia each night . The tree grows 1/4 of a braccia between t he cat and the
mouse each day and it shrinks 1/8 of a braccia every night. In how many days will
the cat reach the mouse and bow much has the tree grown in the meantime, and
how far does the cat climb?"
At about the same t ime Buteo showed enviable knowledge of the general
laws of permutations and combinations; moreover, he constructed a combi
nation lock with movable cylinders displayed in Figure 1.2.
5
FIGURE 1.2. Buteo's combination lock (1559)
In 1512 Guarini devised a chessboard problem in which the goa.! is to effect
the exchange of two black and two white knights, with each pair placed at
tZJ
4
tZJ
4
the corners of a 3 X 3 chessboard (see figure left),
in the minimum number of moves. The solution
of this problem by using gra.pb theory is shown on
pages 274 276. People's interest in chess problems
and the challenge they provide has lasted from the
MidcUe Ages, through the Renaissance and to the
present da.y.
While t he Italian mathematicians Niccolo Tartaglia (1500 1557) and Gi
rolamo Cardano (1501 1576) labored jointly to discover the explicit formula
for the solution of cubic algebraic equations, they also found time for recre
ational problems and games in their mathematical endeavors. Tartaglia's
General 'Jlmttato (1556) descr ibed several interesting tasks; fou r of which,
4
Braccia is an old Italian unit of length.
5
Computer ar twork, sketched according to the illustration from Buteo's Logistica (Ly
ons, 1559, 1560).
l. RECREATIONAL MATHEMATI CS 5
t he weighing problem, the division of 17 horses, t he wine and water problem,
a.nd the ferryboat problem, a re descr ibed on pages 20, 24, 25 a.nd 173.
Girolamo Cardano was one the most famous scientists of his time and
an inventor in many fields. Can you believe that the joint connecting the
gear box to t he rea.r a.xle of a. re<tr wheel drive car is known to the present
day by a version of his namethe ca.rdan shaft? In an earlier book, De
Subtilitate (1550), Cardano presented a game, often called the Chinese l'ing
P'ltzzl e (Figure 1.3), that made use of a ba.r with several rings on it that
remains popular even now. The puzzle's solution is closely related to Gray's
errorcorrecting binary codes introduced in the 1930s by the engineer Frank
Gray. The Chinese riug puzzle also bea.rs similarities to t he Towe1· of Hanoi ,
invented in l883 by Eclouard Lucas (1842 1891) , which is also discussed la.ter
in the book.
FIGURE 1.3. Chinese ring puzzle
Many schola.rs consider Prvbl ems Plaisans et Del ectables, by Claude Gas
pa.r Ba.chet (1581 1638), to be the first book on mathematical puzzles and
tricks. Most of the famous puzzles and curious problems invented before the
seventeenth cent ury may be found in Sachet's delightful book. In addition
to Sachet's original "delect able" problems, the book conta.ins puzzles by Al
cuin of York, Pacioli, Tartagli<l and Cardano, aJld other of Asian
origin. Bachet's book, first pubUshed in 1612 and followed by t he second
edition published in 1621, probably served as t he inspiration for subsequent
works devoted to mathematical recreation.
Other important writers on t he subject include the J esuit scholar Jean
Leurechon (1591 1670) , who published under the name of Hendrik van Et
ten, and .Jacques Ozanam (1640 1717). Etten's work, Mathematical Recle
ations, 01' a Collection of Sundry Excellent P1·oblems Out of Ancient and
Modem Philosophe1·s Both U,qeful and Recreative, first published in French
6 l. RECREATI ONAL MATHEMATI CS
m 1624 wi t h a.n English translation appea.ring in 1633, is a. compilation of
mathematical problems interspersed with mechani cal puzzles and experi
ments in hydrostatics and optics that most likely borrowed heavily from
Bachet 's work.
Leonhard Euler (1707 1783), one of the world's greatest mathematicians
whose deep and exacting investigations led to the foundation and develop
ment of new mathematical disciplines, often studied mathematical puzzles
and games. Euler's results from the sewn bridges of Konigsbery problem
(pages 230 232) presage the beginnings of graph theory. The thirty.six offi
ce?·s problem and orthogonal Latin squares (or Eulerian squares), discussed
by Euler and later mathematicians, have led to important work in combina
torics. Euler's conjecture on the construction of mutually orthogonal squares
found resolution nearly two hundred years after Euler himself initially posed
the problem. These problems, and his examination of the chessboard knight's
1eentmnt tou1· pmblem, are described on pages 188 and 258. A knight's re
entrant path consists of moving a knight so t hat it moves successively to each
square once and only once aJld finishes its tour on the sta.rting square. This
famous problem has a long history and dates back to the sixth century in
India. P. M. Roget's half board solution (1840), shown in Figure 1.4, offers
a remarkably attractive design.
FIGURE 1.4. Knight's reentrant path Roget's solution
In 1850 Franz Nauck posed another classic chess problem, the eight queens
problem, that calls for the number of ways to place eight queens on a chess
board so that no two queens attack each other. Gauss gave a solution of this
problem, albeit incomplete in the first attempts. Further details about the
eight queens pr'Oblem apperu· on pages 269273. In t hat same year, Thomas P.
Kirkman (1806 1895) put forth the schoolgil'ls pr'Oblern presented on pa.ges
l. RECREATIONAL MATHEMATI CS 7
189 to 192. Several mathematicians, Steiner, Cayley and Sylve
ster among them, dealt with this combinatorial problem and other related
problems. Although some of these problems remain unsolved even now,
the subject continues to generate important papers on combinatorial design
theory.
In 1857 the eminent Irish mathematician William Hamiltou (1788 1856)
invented the icosian game in whlch one must locate a path a.Jong the edges of
a regula.r dodecahedron that passes through ea.ch vertex of the dodecahedron
once and only once (see pages 234 237) . As in Euler's Konigsberg bridges
problem, the Hamiltonian game is related to graph theory. In modern ter
minology, this task requires a Hamiltonian cycle in a certain graph and it
is one of the most important open problems not only in graph theory but
in the whole mathematics. The Hamiltonian cycle problem is closely con
nected to the famous tmveling salesman pmblem that asks for an optimal
route between some places on a map with given distances.
FIGURE 1.5. The Tower of ll anoi
The French mathematician Fran<;ois Edouard Lucas, best known for his
results in number theory, also made notable contributions to recreational
mathematics, among them, as already mentioned, the Towe1· of Hanoi (Fig
ure 1.5), which is covered on pages 196 199, and many other amusing puz
zles. Lucas' four volume book Rect·eations Mathematiques (1882 94), to
gether with Rouse Ball 's, Mathematical Recr·eations and Problems, published
in 1892, have become classic works on recreational mathematics.
8 l. RECREATIONAL MATHEMATI CS
No discussion of recreational mathematics would be complete without
including Samuel Loyd (1841 1911) a.nd Henry Ernest Dudeney (1857 1931),
two of the most renowned creators of mathematical diversions. Loyd and
Dudeney launched an impressive number of games and puzzles that remain
as populaJ· now as when they first appeared. Loyd's ingenious toypuzzle
the "15 Puzzle" (known a.lso as the "Boss Puzzle", or "Jeu de Taquin") is
popular even today. The "15 Puzzle" (figure below) consists of a square
divided into 16 small squares a.nd holds 15 squru·e blocks numbered from 1
1 2 3
5 6 7
9 10 11
14 15
4
8
to 15. The task is to start from a given initial
arrangement and set these numbered blocks
into tbe required positions (say, from 1 to 15),
using the vacant square for moving blocks. For
many years after its appearance in 1878, peo
ple all over the world were obsessed by this
toypuzzle. It was played in taverns, factories,
in homes, in the streets, in tbe royal pala.ces,
even in the Reichstag (see page 2430 in [133,
VoL 4] .
Mru·tin Gardner (b. 1914 Tulsa, OK), most certainly deserves mention
as perhaps the greatest twentiethcentury popularizer of mathematics and
mathematica.l recreations. During the twentyfive years in which he wrote
his Mathematical Games column for the Scientific AmeJ'ican, he published
quantities of amusing problems either posed or solved by notable mathe
mat icians.
Chapter 2 ARITHMETICS
What would life be witho1,t m'ithmetic,
bu.t a scene of horr'07'S'?
Sydney Smit h
In the a?"ithrnetic of love,
one plus one equals eve1ything,
aml two minus one equal.9 noth·ing.
Mignon McLa ughlin
In elementa.ry scbool we first encounter "the t hree R's," a basic skills
oriented education program: reading, wr iting and a.ri t bmetic. We st art
to count to ten, to add to hundred, then gradually increase our operation
ability using addition, subtraction, mult iplication, division, and finally root
ext nl.Ction, congruence calculation, fa.ctoriza.tion, and power computation.
This is arit hmet ic (or aritbmetics) , t he oldest branch of ma.themati cs, which
records elementary properties of the above opera,tions on numbers.
Aritlunet.ics is a.ll a.round us and is used by a lmost everyone. It is essential
to almost every profession for tas ks ranging fTOm simple everyday counting
to business calcula tions and scientific research. A mnemonic for the spelling
of "arithmetic", that I found on an Intemet site, reads: ".!!: r.at in !;be bouse
may §.at ! he ice £ream."
Puzzles and entertaining problems whose solutions depend ent irely on
basic a.Ii t hmetic operations have been in evidence from ancient t imes to
t he present. T be early puzzle problems were difficult at t hat t ime due to
the lack of good symbolism and they lost t heir mystery when the algebraic
relations had been developed. IVIodern arit hmetic puzzles are often based
on tricks or relations hi dden under mi slea.ding sta.tements. Some of t hem
are entertaining beca.use t bey are unsolvable upon given information. Here
is an example: "If th1ee eagles catch thl'ee in tluee days, how many
eagles will catch 100 in 100 days?" The question is well known and
seems innocent at first glance. Act ually, the correct answer cannot be given
wi t hout roore information.
Most of the arit hmetic puzzle problems presented in this chapter belong
to mediewtlm<ttbema.t ici<t ns such as Diopbant us, Alcuin of York, Mahavira.,
9
10 2. AR!THMET!CS
Fi bonacci, Ba.chet, Tartaglia, Recorde and Viete. The reasons for sucb se·
lection are twofold: first, the proble01s of classic a.rithroetics aJld higher
a:rithmetics (that is, number theory, the na.me used by some authors) are
separated into two cha.pterson number theory and arithmetics, respec·
tively. Second, after the development of the power algebraic methods and
a.lgorith.01s, 01atbemat ic.iaos of roodern era bave dealt wi t b new theories and
disciplines ra.ther than with problems of elementary arithmetics. Of course,
there were exceptions a.nd one of them, ascribed to the great Newton, is
included in this chapter.
*
* *
Diophantus of Alexandria (ca. 200ca. 284) ( 7 p. 299)
Diophantus' age
Diophantus' contribution to mathematics is better known tha.n t he facts
of his life (see, e.g., Katz [113, pp. 173 183]) . Some details can be concl uded
from t he collection of puzzles in the Greek Anthology compiled by Metrodorus
around 500 A.D. , which contai11s the fo llowing puzzle [37j:
Problem 2. 1. Diophant11.s' boyhood lasted k of his life; he rna.rried ajte1·
i mo1e; h·is beard g1ew a.(te1· h mo1e, and his son was b01'n 5 yea·rs later·;
the son lived to half his fa·the?·'s age, and ·the fath. e?' died 4 years afte?· the
son.
This task served to determine how long Diophantus lived and to identify
other important dates in his life. If x denotes the number of years Diophantus
lived, according to the above information we form the equation
X X X X
 +  +  + 5 +  + 4 = x
6 7 12 2 '
wherefrom x = 84. Therefore, Diophantus married at the age of 33 and had
a son who died a t the age of 42, four years before Diophantus himself died
at the age of 84.
Today every pupil in elementary school (well, a hnost everyone) can easily
solve t his problem. However , problems of this sort were formulated in an·
tiquity only by words and the Jack of a good symbolism made them difficult
to represent and solve. Speaking a.bout the ages of great ma.thematicians,
recall that a si milar question was posed much la.ter. Once asked about his
age, the eminent Brit ish mathematician Augustus de !v1organ answered: "/
was x yea.?·s old in ·the year x
2
." Knowing that de Morgan was born in 1806,
NUMBER OF ARROWS 11
we form the quadratic equation x
2
= 1806 + x and find the positive solution
x = 43 de Morgan's age.
Mahiivira ( ca. 800 ca. 870) (+ p. 300)
Ma.havira was a ninthcentury Indian mathematician who wrote on el
ementa.ry mathematics, combinatorics a.nd integer solutions of fi rst degree
indeterminate equations. In this book we give three problems (see below
and Chapters 3 and 6) tba.t can be found in Wells' book [186] .
1
Number of arrows
Problem 2.2. * A1"1"0WS, ·in ·the fonn of thin cylinde1·s with ci1·cula1' C1"0SS
section, can be packed in hexagonal bundles. If the1·e exist eighteen circum
ferential an"'ws, determine the total m£mbe?' of the ar,"'ws to be found (in
the bundle) within the qui·ver·.
Leonardo Pisano (Fi bonacci) {11701250) (+ p. 300)
Leonardo Pisano, better known today by his nickname Fibonacci, some
t imes went hy t he name "Bigollo" , which may possibly have meant "good
fornot hing'' or "traveler" . As a matter of fact, he traveled widely with his
father who held a diplomatic post in North Africa. Throughout his ma.ny
journeys, Fibonacci encountered numerous mathemat ical problemsolving
techniques, in pa rticula r, the new Hindu Ara.bic numerals, a.l ready known
in Chi na, India, and the Islamic worl d. He figured out tha.t the use of the
symbols 0 to 9 was much more convenient than the Roma.n numerals.
Fibonacci
1170 1250
After his return to Pisa, Fibonacci wrote a. num
ber of important texts as well as his masterpiece,
published in 1202, Libe1· Abaci (Book of Calcula
tion) . Liber· Abaci, which gathered a wealth of prac
tical material a.nd a.n assortment of problems, was
the most influential mathematical work in Europe
for at least three centuries, especially in bringing a
positional numbering system and the new form of
number notation (Hindu Arabic numerals instead
of Roman numerals, still in common use in Europe
at that time).
1
Wells took these problems from Mahavira's book The Ganita Sam Sangraha by Ma
hiivira, translated by l\11. Rangacarya and published by Govemrnent Press (l\lladras, India}
in 1912.
12 2. AR!THMET!CS
How many rabbits?
A problem in t be third section of Fi bonacci 's famous book .Libe·1· Abac·i
(1202), led to the introduction of the Fibonacci numbers and tbe Fibona.cci
sequence for which he is best remembered today.
Problem 2.3. A man bought a pai1· of rabbits. How many pa·irs of mbbits
can be pi'Odttced fr'Om the o?"iginal pair in a year· if it i.s as,q·umed that et1e1y
month each pa.ir begets a ne·w pai1· that can rep1'0d11.ce a.jter· tu10 months'?
The solution to FibomJ.Cci's problem is given in Figure 2.1 , where the
total number of pairs of rabbits is presented by the number of black points,
counting from the top to the considered month. The numbers of rabbit pairs
make a sequence 1, 1, 2, 3, 5, 8, 13, .... It is easy to conclude that any
member of this sequence is equal to the sum of the previous two members.
Therefore, the next members a.re 21, 34, 55, 89, 144, 233, . .. and hence, the
total number of rabbit pairs in a year is 233.
<J>
/
number of
pairs of rabbits
'
FIGURE 2.1. A graphi cal solution of Fibonacci's rabbit problem
In the middle of the nineteenth century, the French mathematician Edou
a.rd Lucas (1843 1891) named the resulting sequence "Fibonacci's sequence"
2
It is interesting to note tha.t the Fibonacci numbers 1, 2, 3, 5, 8, 13, . ..
been mentioned explicitly in discussions of Indian schola.rs, such as GopiUa.
2
Some witty guys ba.ve proposed "•·abbit sequence".
FIBONACCI'S PROBLEM OF RABBITS 13
a.nd Hen1a.cha.ndra., before the appearance of Fibonacci's book, Abac·i
(see [115]) .
As mentioned, Fibonacci's sequence satisfies the recunence relation
F,, = F,,_l + Fn2 for n > 3.
The explicit formula for t he nth term F,. (assuming F
1
= F2 = 1) is given
by
F = ....!.._ [ ( 1 + J5) " _ ( 1  J5) "]
"v'5 2 2
(see (D.6), Appendix 0).
3
V/hen using a calculator or a computer, it is easy to compute the nth
member F,,. Since the influence of t he second term ((1 \1'5)/2}<'/ J5 is
negligible because 1(1  J5)/ 21 < 1, it is sufficient to calculate t he first term
((1 + J5)/2)"IJ5 a.nd round off t he result to t be nearest integer to obtain
t he exa,ct (i nteger) value ofF,. . To be n1ore exact,
F, = l__!_ [(11\/S)n
" J5 2 + 2 '
where lxJ denotes the greatest integer less t han or equal to x. For example,
for n = 20 one obtains
1 ( l + v'5) 20 1
J5 2 + 2 = 6,765.5000295,
so that F
20
= 6, 765.
Let us note that the Fibona.cci sequence possesses a number of interesting
and remarkable properties (see, e.g. , [31, Ch. 2], [43], [88], [182], [185]). The
Fibonacci QuarterLy, a rna.tbema.tical journal la.unchecl in 1963, is devoted to
studying mathematics related to the Fibonacci sequence. lt turns out that
this sequence is extremely versatile and appears in many different areas of
mathematics, such as optimization theory a.nd the analysis of algorithms; it
a lso a.ppeaJ·s in physics, chemistry, biology, architecture, and even in poetry
and music. The first eight Fibona.cci numbers in a scrambled order 13, 3, 2,
21, 1, 1, 8, 5 appeaJ· in t he very popular novel TheDa Vinci Code by Dan
Brown.
3
Daniel Bernoum (1700 1782) published this formula in 1728. It seems that Abracham
de Moivre ( 16671754) also knew this formul a, which is often a.ttributed to the French
mathematician Joc.ques Binet (17861856).
14 2. ARITHMETICS
Fibonacci's sequence gave rise to a multitude of amusing problems to claim
the attention of many mathematicia.ns. Below we present two wellknown
geometric paradoxes. Perhaps a little bird will tell you a solution.
Problem 2.4. * Let us conside1· an or·dinar·y 8 x 8 chessboar·d cut into
fotw pieces two t1apezoidals and two triangles as shown in Figure 2.2(a) .
If these foul' pieces are put together in the shape of a r·ectangle as shown
in Figure 2.2(b) , one obtains a 5 x 13 rectangle co1l'taining 65 smallsquams
(one square more) . TherefoTe, 64 = 65?! Similarly, if we cut a 13 x 13
chessboaro into j01w pieces and reassemble the pieces, we obtain a 1ectangle
8 x 21 containing 168 small squares (one squam less, see Figu1e 2.3). In this
ca.se we obtain 169 = 168?! Can you explain these pamdoxes?
...
lllllllpo.,
...
l l.
a) b)
FIGURE 2.2. Chessboard pa radox: 64=65!?
..
\
'
po.,
"
....
po.,
...
...
\
...
r"
a) b)
FIGURE 2.3. Cber;sboard pa radox: 169= 168!?
The fi rst paradox "64= 65" can be found in a great variety of books (see,
e.g., [88], [138]). It seems that the earliest reference appeared in the work
Rational Rec1·eations (1774), written by William Hooper . This paradox was
la.ter discussed in Zeitschr·ijt fii1· M ath.ematik tmd Physik (Leipzig, 1868).
SQUARE NUMBERS PROBLEM 15
The Italian a.rtist Ma.rio Merz (b. 1925) has been obsessed for many years
by the Fibona.cci numbers. In 1994 he decorated the chimney of t be Energy
Power Plant in Turku (Finland), as an environment a.rt project, designing
the Fibonacci numbers by neon tubes (Figure 2.4).
FIGURE 2.4. F ibonacci's numbers on the chimney in Turku (Finland)
Another example shows that Fibonacci's numbers can be applied to com
pose plane figures .
Problem 2. 5. * Make a rectangle without any gaps by '<!sing small squmoes
whose sides are the Fibonacci numbers 1, 1, 2, 3, 5, 8, 13 and 21.
Square numbers problem
In his book, Libet· Quadmto1·um (Book of Squares) (1225), Master J ohn of
Palermo, a member of Emperor Frederick II's entourage, posed the following
problem to Fibonacci.
Problem 2.6. Find a squa1''e nurnbe1'' .such that, when five is added o1·
Sltbtmcted, the result is again a square mtmbet·.
16 2. AR!THMET!CS
Master John's problero can be interpreted as finding int.eger solutions of
the systero of equ.a.tions x
2
+ 5 = y
2
, x
2
 5 = z
2
. Fibonacci succeeded
in solving a. more general problem in which he introduced wha.t he called
cong1·uous numbers, that is numbers n of the form
ab(a + b)(a  b) when a + b is even
a.nd
4ab(c£ + b)(a  b) when a + bisodd.
He showed that congruous numbers are alwa.ys divisible by 24. He also
showed that integer sol utions of
can be found only if n is congruous. Since Master .John's problem is obtained
for n = 5 and since 5 is not congruous, it follows that this problem is not
solvable in integers. However, a. solution to tbe problem exists that uses
rational numbers. From the facts t bat 720 = 12
2
· 5 is a congruous number
(with a= 5 and b = 4), and that 41
2
+ 720 = 49
2
and 41
2
 720 = 31
2
, it
fo llows by dividing both equations by 12
2
that
41 49 31
X= 12' y= 12 ' Z= 12'
which is a solution in rational numbers to x
2
+ 5 = y
2
, x
2
 5 = z
2
.
Money in a pile
Problem 2.7. * Three men A, B , a.nd C each place money ·in a common
pile, their shares being t, t, and fi of the total amount, 1·espectively.
each man takes some money j1'0m the p·ile until no money 1emains. Now
A 1'etu·ms o.f what he ·took, B :f, and C t. When ·the returned money is
divided equ.a.lly among the men, it tm71.S 011.t that ea.ch h<l8 what he possessed
at the beginning, bej'o1·e 1emoving money j'r'Om the pile. How much money
was 1n the orig·inal pile?
Yang Hui (ca. 1238 ca. 1298) p. 300)
Chinese mathematician Yang Hui was a. minor official who lived i n the
thirteenth centw·y. Yang Hu:i is best remembered as being t he first to rep
resent Pascal's triangle, basi ng his achievement on the work of ,·mother Chi
nese mathema,tician Jia. Xian. He wrote two books, da.ted 1261 a.ncl 1275,
MAGIC CONFIGURATION/ TRIANGLE WITH INTEGER SIDES 17
which present works with decioHtl fractious, calcula.tious of square a.nd. cube
roots and t be earliest exta.nt documents in matheo1ati cs education io ancient
China ..
Magic configuration
Hui's second book Ya.ng 8'!tanfa (Yang Hui's Methods of Computation,
1275) contains the following magic configuration (see [186]).
FIG un.E 2.5. Magic configuration
Problem 2.8. * A1·mnge the rw.rnbeTS 1 to 33 in the srna.ll ci?cle.s shown
i.n Fig·ure 2.5 so that every ci!·cle ·including i·ts center and eve1·y diamete1· has
the same sum.
Claude Gaspar Bachet (15811638) (7 p. 302)
As mentioned in the Preface, Claude Gaspar Bachet , the French math
ematiciaJ1, philosopher, poet, and a member of the Academie des Sciences,
wrote the first books on mat hema.ticaJ puzzles a nd tricks ever published. His
book P1·oblemes Plaisants et Delectables (1612) contains many mathematical
puzzles, arithmetical tricks and recreational tasks.
Triangle with integer sides
A Heronian t1iangle is a. t riangle having side lengt hs t"l.nd t"l.rea expressed
by rationa.J numbers. Multiplying t he three side lengt hs and a.rea of such
18 2. AR!THMET!CS
a tria.ngle by their least common multiple, a new Heronia.n trian.gle witb
integer side lengths and area. is obtained. Claude Bachet considered the
fo llowing problem.
Problem 2.9. Find a. tl'iangle with integer· sides 'U.Jho,qe ar·ea is 24.
Solution. The area of a triangle wit h sides a, b, and c can be calculated
using the Heron formula
A = ../s(s  a)(s b)(s  c),
where s = Ha + b + c) is the semiperimeter. Substituting s in the above
formula, after squa.ring we obtain
1
A
2
=
16
(a + b + c)(b + c a)(a + c  l>)(a + b  c),
or, after some elementa.ry manipul<1tion,
The last relation can be rearranged in the fo rm
(2.1)
The relation (2. 1) is of the form :r
2
+ y
2
= z
2
, whicb ena.bles us to connect
the above problem with Pythago1ean t·riangles, that is, right triangles whose
sides are integers. The conesponding triples of numbers (x, y, z) are called
Pythagorean l:riples. Some famil iar PythagoreaJl triples are (3, 4, 5) aJld (5,
12, 13).
From number theory, we know that the number of Pythagorean t riples
is infinite. Namely, if y, z) is a.ny Pytha.gorean triple, then the triples
ky, kz) are also Pythagorean tri ples for any na.tura.l number k. If m and
n (m > n) are natural numbers, then Pythagorean triples can be generated
by the twoparameter formula.
(2.2)
Let us retw·n to the relation (2. 1) and, having in mind (2.2), we write
4A =
n
2
) , b
2
+ c
2
 a
2
= ±k · 2mn, 2bc = k(m
2
+ n
2
) .
In particular, we have
4A = 96 = k(m
2
 n
2
) = k · (m.  n) · (m + n).
TRJANGLE WITH INTEGER SIDES
The integer 96 C<Ul be factored into t hree fa.ctors in t il e followi ng ways
96 = 1 . I. . 96 = 1 . 2 . 48 = I. . 3 . 32 = 1 . 4 . 24
= 1 . 6 . 16 = 1 . 8 . 12 = 2 . 2 . 24 = 2 . 3 . 16
= 2 . 4 . 12 = 3 . 4 . 8 = 4 . 4 . 6,
19
where the first digit stands for k . The underlined combinations should be
excluded since the fa.ctors rn  n and m + n are either bot h even or both
odd. In this way we obtain t he following t riples (k, m, n) (m > n) which are
possible ca.ndidates to give integer sides a, b, c :
(1, 25, 23), ( 1, 14, 10), (1, 11, 5), (1, 10, 2),
(2, 13, 11) , (2,8, 4), (3, 6, 2), (4,5,1) .
By splitting k(m
2
+ n
2
)/ 2 = b · c into two factors (when it is possible) , we
find the pajrs (b, c) and calculate the third side a by the formula
a = )b
2
+ c
2
± 2kmn
selecting only integer values of a. After the checking procedure we find that
only t riples (2,8,4) and (4,5, 1) give integer sides; the required Herouian tri
angles with the area equal to 24 a.re (6, 8, 10) <Uid (4, 13, 15).
Carmichael [35] gave t he pa.ra.metric version of the complete integer solu
tions to Heronian t riangles in the form
a = n(m
2
+ k
2
),
b = m(n
2
+ k
2
),
c = (m + n)(mn  k
2
) ,
A = kmn(m + n)(mn k
2
) ,
where integers m , nand A: satisfy t he conditions gcd(m, n, k) = 1, mn >
k
2
> n
2
n/ (2m + n) and m > n > 1.
4
The above formulae generate at least
one member (a , b, c) of a required cla.ss of Heron ian triangles wit h A = t
2
A",
where t is an integer multiple and A • is the originally given 1nea. Then the
required side lengths are (aft, b/ t,cft). For example, t he paramet ric formulae
directly produce the integer tria.ngle (6,8, 10) wi t h the given a rea r1' = 24,
but omit the other solut ion (4, 13, 15). However, this solution is contained in
4
gccl(7>, (J)g•·eatest common divisor of two numbers 1> and q.
20 2. ARITHMETIC$
t.be triple (24, 78, 90) with A = 864 = 36 · 24 = 6
2
· A• , giving t = 6. Hence,
t he original triaJ\gle wi t b the area 24 is (24/6, 78/ 6, 90/ 6) = (4, 13, 15).
D. Wells mentions in [186] a trick method that combines the right t riangles
(5, 12, 13) and (9, 12, 15) to find triangle (4, 13, 15). Next, Jet us fit together
and t hen overlap these two triangles along their common side 12; see Figure
2.6. The obtuse triangle wi t b sides 4, 13 a.nd 15 (in bold face) yields tbe
required aJ·ea 54  30 = 24.
5 9
FIGURE 2.6. Obtuse triangle with int.eger sides
Leonardo Pisano (Fibonacci) (11701250) (+ p. 300)
Niccolo Tartaglia (15001557) (+ p. 301)
Claude Gaspar Bachet (1581 1638) (+ p. 302)
Weights problem
Bac:het's highlyregarded book, Problems Plai.9ant.s et Delectf1bles, collects
a multitude of problems many of which Ba.chet himself wrote, including
classic problem of weights.
P roble m 2.10. Detennine the least munbe1· of weights necessary to weigh
any intege1· numbe1· of ft·om 1 lb. to 40 lbs.
Bachet gave two solutions describing two separate cases: (i) t he weights
may be pla.ced in only one of the scalepans; (ii) the weights may be placed in
either of the scalepans. In addition to Bachet , Fibonacci (Leona.rdo Pisa.no)
5
1b is the abbreviation of r>o1Jmd""' 0.45:3 kg.
WEIGHTS PROBLEM 21
a.nd Niccolo Tartaglia <IJ'e often cited in literature as having solved varia.nt
(i) with the following series of weights: 1, 2, 4, 8, 16, and 32 lbs. In case
(ii) Bachet found that the series of weights of 1, 3, 9, and 27 lbs. sa.tisfied
the solution. Assmning t hat there are no constraints in the problem posed,
t hese solutions give t he least possible number of weights required.
Let us explain now what reasoning lea.ds to tbe a.bove solutions. Let Q
be any integer number of pounds < 40 and let t
1
, t
2
, . .. , t, be the required
weights. Consider first the variant (i). The weights t
1
, t2, .. . , t,, have to be
chosen so that t he equality
(2.3)
bolds for every Q = 1, 2, . . . , 40, assun1ing t ba.t every coeffi cient a.k (k E
{1, 2, .. . , n}) is 1 if t he weight tk is placed on the scalepan and 0 if not .
\Ve observe that (2.3) is equivalent to the representation of nun1bers in
the binary system. Indeed, if we take
0 l "> ·nJ
t  2  1 t  2  2 t  2  4 t  2
' 1   1 2   , 3   , · · · , n   ,
we wi ll obtain
Q 2
,._ J 2' A I 2° ( {C } k ) (' 4)
= a,. · + · · ·+a3· ·+a2 · ' +a
1
· ak E J, 1 , · = 1, . .. , n. 2.
The largest number that can be expres. eel using (2.4) is Q = ( 1· · · 111)2 (the
nwnber written in the binary system wi th n wtits) , which is equal to
(1 · . ·111)2 = 2" 
1
+ 2" 
2
+ ... + 2
2
+ 2
1
+ 2° = 2"  1.
Taking n = 6, we obtain (111111}2 = 2
6
 1 = 63 > 40, so that the choice of
6 weights satisfies the condition of the task. Therefore, it is necessary
sufficient) to take the weights of 1, 2, 4, 8, 16, and 32 lbs. Other solut ions
with unequal weights do not exist.
We see t hat the use of the binary system goes back to the middle ages
and probably centuries before Fibonacci's clay. However , t he first person
to study binary numbers was Gottfried Leibniz, the great German ma.t he
matician, philosopher, poli tician, theologist, physicist, lawyer a.nd li nguist .
His treatment of bina.ry was mainly pbilosopbi cal. Peter Bentley wrote in
The Book of Numbe1·s [16]: "He {Leinbiz} believed that the un·iverse could be
rep!'esented mo!'e elegantly tlwot•gh binary and its conflicting, yesno, onoff
nat1tr·e .5uch as malefemale, lightdo.r·k, r'ight·wrong." Does t his mea.n tha.t
Leibniz, a philosopher, ma.y have been close to the concept of computing
22 2. AR.ITHMETICS
machines in his thinking, bearing in mind tbat the work of digital comput
ers is based on tbe bina.ry numbering system? Quite possibly tha.t man of
all professions and trades may have been the first computer scientist and in
fo rmation theorist. In 1671 Leibniz invented a ca.tculating machine capa.ble
of performing ba$iC a.ritbmetic operations.
Let us retum to the solution of Bachet's problem in case (ii). Bachet
used the same idea as above (case (i)) and represented Q E {1, . .. ,40} in
the form
(2.5)
where coefficients b
1
, b2 , ... , b,.. have the following values:
bk =  1 if the weight is placed in the sa.roe scalepan as the weighed
object;
= 0 if the weight tk is not placed in either of the sca.Jepans;
= 1 if t he weight t,. L5 placed in the scale pan not loaded with the
weighed object.
If the value  1 would be regarded as a "digit" of a. number system, the
representation (2.5) would suggest t he use of the temary system with the
base 3. In t ha.t case, taking the weights t
1
= 3°, tz = 3l = 3, t3 = 3
2
= 9,
a.nd so on, we first perform the conversion of the integer value Q from the
decimal system into the "number system" with the base 3, that is,
Here bk E { 1, 0, 1} and the greatest integer number of the form (2.6)
q = (1· · ·111)3 (the number written in t he ternary system with m. units) ,
which is equal to
3"' 1
(l ·· ·ll l)a = 3m.l + ··· + 3
2
+31.+3°= 2 .
Taking m = 4 we obtain (1111)3 = (3
4
 1)/2 = 40. Thus, the set of 1, 3, 9,
and 27pound weights sa.tisfies the condition of the problem.
The procedure described in case (ii) will be illustrated in the example of
Q = 23 lbs. Then
Q = 23 = 1 . 27 + ( 1) . 3 + ( 1) . 1.
In this wa.y decima.l number 23 is transformed to form (2.6). According
to the righthand expression, we conclude that the 1pound a.nd 3pound
WEIGHTS PROBLEM 23
weights rnust be pla.ced in the scalepa n together with the object weighed,
while t be 27pound weight is in the other scalepan.
In the Qu.a.r·terly Jmwna.l of Mathematics (1886, Volume 21) t he English
mathematician P. A. Ma.cMahon determined aJl concei va.ble sets of integer
weights to weigh all loads from 1 to n. To solve t his problem, he applied the
method of generating functions discovered by Euler. In this way, MacMahon
generalized Bachet 's weight problem. iMoreover, he completed t he solution
of the presented problem since Bachet's a.pproach does not give all solutions.
Maclvlahon found eight solutions:
{14o}, {l, 313 }, {14,94}, {1, 3, 94},{113: 27},
{1,34, 27}, {14,9, 27}, {1, 3,9,27}.
The notation Wk denotes that k weights are needed, each of which weighs tv
lbs. For example, the solution {1
4
, 9
4
} denotes that 4 weights of 1 lb. and
4 weights of 9 lbs. are necessary. T he of the Listed solutions belongs to
Sachet; his sol ution requires the least number of weights and it is abo the
only one in which all weights are unequa.l. Rouse Ball and Coxeter [150] a.nd
Kraitchik [118] discussed some of the deta.ils of Bachet's weight problem.
Niccolo Tartaglia (15001557) (+ p. 301)
vVhen Tartaglia was a boy of a.bout thirteen, t he French invaded his na
t ive city of Brescia a.nd br utally massacred local inbabitants. Tartaglia was
the victim of sucb severe inj uries that be almost died. Somehow he survived
but his injuries left him with a permaJ1ent speech defect that led to the
nickname "Tartaglia!', which means the sta.mmerer. His poverty prevented
him from receiving a proper education. However, despite a. painfully difficult
chil dhood , Ta.rta.glia. later became one of the most influentia.J Itali.a.n ma.tb
ema.t icia.ns of t he sixteenth cent ury, known best toda.y for his formula., t he
Ca.rdano Tarta,glia. formula for solving cubic equations. The question of pri
ority of this formula. CMtsed a bitter quarrel between Ta.rtaglia and Cardano.
In fact, Scipione del Ferro and Ta.rta.glia. independently discovered the cubic
formula., but Cardano published it in h.i s book, A1·s Magna (Grea.t Skill).
Although he fully credited del Ferro and Ta.rtaglia for t heir discoveries, this
formula was remembered most often under Carclano's name.
Included in his, Qv.esiti et lnventioni D·ive?·se (1546) a.nd Gener·al Tl'a.ttato
(1556), are several problems that were considered as challenging and serious
in Tartaglia.'s time but which today have acquired a recreational character.
Below we reproduce two of them, while two others, tueights problem and
man·ied CO'ltples cross the ?'iver·, are presented on pages 20 and 173.
24 2. AR.ITHMETICS
Division of 17 horses
Proble m 2. 11. A dying man leaves seventeen ho1·ses to be d·ivided among
his three sons in the pmportions ! : ! : Can the br'Others carry out thei1·
father'.s wilt?
To simplify calculating with fra.ct ions, Tartaglia. contrived an arti fi cial
method whereby a horse is borrowed. He then divided and obtained 18 :
2 = 9, 18 : 3 = 6, 18 : 9 = 2, which meant t hat the sons received 9, 6 a.nd 2
horses, for a totaJ of 17 horses. After this division, t be borTowed horse was
returned to its owner and the problem was solved.
In general case, t his contrivance ca.n be implemented when n horses must
be divided a.mong three brothers in proportions : t : can be shown
that there e:l.'ist seven possible values of n , a, b, c:
(7 ,2,4,8) ' (11 ,2,'1 ,6), ( 11,2,3, 12), (17 ,2,3,9),
(19,2,4,5) , (23,2,3,8), (41,2,3,7).
Actually, t hese nat ural numbers are the only integer solutions of the Dio
phantine equation
6
1 1 1 n
 +  +  = .
a b c n+ 1
The above problem is closely connected with another interesting one about
dividing 17 horses among brothers tha.t can be found in literature devoted
to popular and recreational mathematics. In this st,ory, the brothers do
not divide horses according to t he proportions of t : * : ! , but in such a.
way t ha.t the oldest brother receives 1/2 of all horses, the next 1/3, and
the youngest brother 1/9. Since such a. division is impossible, t he brothers
remember to bor row one horse from their neighbor. Aft.er dividing 18 into
the corresponding parts, t bey receive 9, 6 a.nd 2 horses, which give a. tota.l
of 17. Then they return the borrowed horse to the neighbor, quite sa.tisfied
wit h their "clever" solution of the division problem.
However, did the brothers' clever ma.neuver result in an a.ccepta.ble solu
tion according to the terms of t he will'? Actually, no, the division was not
done in a proper way; moreover, it is not possible. Indeed, since + t + t =
< 1, any division gives a remainder. Owing to t he fact of the borrowed
horse, each of the brothers receives more since 9 >
1
J, 6 >
1
;, 2 >
1
;.
6
A Diophant ine equation is an undeterminate equation in which only integer solut ions
are required. The word diophantine refers to Diophantus of Alexandria (third century)
who made a study of such equations.
'vVI NE AND WATER/COI NS IN HANDS 25
Wine and water
P r oble m 2.12. * A dishonest serva.nt takes out 3 TJints of wine fr·om a.
ban·el (Lnd 1eplaces them with the S(L!ne amount of 'W(Ltel·. He 1epeo.ts his theft
twice, r·emoving ·in totrrl 9 pint.9 rmd r·eplac·ing them with wate•t. As fL ·result
of thi.s SW'in(lle, ·the dilute(l wine ·remaining in the barrello.9t haf:f of i'ls .fonnel'
How tuine did the barrel originally hold'?
Robert Recorde ( ca. 15101558) (> p. 301)
Robert Recorde, one of the most influential textbook writers of
t he sixteenth century, a physician, mat hemat ician and astronomer. In
his book The Whetstone of Witte (1557) he int roduced the modern symbol
= for equality.
7
Although he served as a physician to Edward VI and Queen
Mary and later became Comptroller of Mines and Monies in Ireland, Recorde
was arrested under mysterious circumstances and died in prison in 1558. The
following task is from Recorde's book The Whetstone of W·itte.
Coins in hands
P r oble m 2.13. * A man has in both hands 8 coins. The number of coins
in his left hand is added to i.ts squm·e and its cube, and the same p1·oced1we
applies to the number· of coin.s in his r·ight hand. Both S'ltrns obtained in this
way make 194. How many coins a1e in each hand?
Francois Vi ete (1540 1603) (> p. 302)
The great Frenchman Fra n!;ois Viete was not a mathematician by vo
cation. As did Fermat , Cayley, and Sylvester, Viete studied and practiced
law; became a member of the Breton parliament; a. roaster of requests io
Paris, <IJld even later a roero ber of t be king's Couocil. A.l t bough be eJ1gaged
in mathematics only in his leisure time, he made important cont ributions
to geometry, arithmetic, algebra and trigonometry. In addition, Viete was
a.n extraordinary codecra.cker. During the wa.r occasioned by Spain's at
tempt to place a pretender on the French throne, he very qui ck ly succeeded
io breakiog t he Spanish a.rrny's o1ost complj cated ciphers. Viete's decipher
ing skills greatly influenced the final outcome of the war, and also provoked
accusations from the Spanish that he was in collusion with the devi l.
7
I<atz [113, p. 356] quotes Recorde's explanat ion: "To avoid tl•e tedious repetiti01'1
of ·these word8i8 equal to[ will set as I do often in work use, a pai1· of para.lle/8, OT
gemow {tU!inj line.s of one length, thus =, be<:.<•use no 2 things co.n be mm·e eqMl. "
26 2. ARITHMETICS
Sides of two cubes
Problem 2.14. * The between the sides of two cubes is 6 and
the di.ffer·ence of their· volumes is 504. Find the sides of the cubes.
vVhen we solve quadratic equations in high school, we encounter the well
known Vi/He's rule: If a and b are the roots of the quadratic equation x
2
+
ax + (:3 = 0, then
(x a)(x b) = x
2
(a + b)x + ab, that is, a= (a+ b), (:3 = ab.
We would Like to see your reaction to t he fo llowing "genera lization."
Proble m 2.15. * Calculate (x  a)(x  b) ··· (x  z ).
Isaac Newton (1624 1727) (+ p. 304)
Isaac Newton, t he Engl ish mat hemat ician a.nd physicist of Jewish origin,
is considered one of t he greatest mathematicians and scientists of a.ll his
torica.l t ime. Only two men can be compared to him by their achievements:
Archimedes of ancient Greece and the Genna.n mathematician Carl Friedrich
Gauss. Their combined scient ifi c genius int roduced revolutiona.ry adva.nces
in mathematics a nd other bra.nches of science, spurring rapid developments
in numerous directions.
Jsaa(! Newton
16241727
There is a vast literature about Newton's life and
his monumenta.l work in mathema.tics and physics,
so tha.t many wellknown details are omitted. It is
less known that he was obsessively occupied with
alchemy and theology; it is haJ·d to believe that
he actually spent more t ime performing his exper
iments in laboratories than he ever did in mathe
matics. When he was buried in Westminster Abbey,
a high concentration of :Mercury was found in his
body, most likely as the consequence of his alchemy
experiments (see 116, p. 1251).
Newton was not a pleasant and modest man, his arrogance a.nd difficult
behaviour were well known. Nevert heless, he is credited wit h the following
famous quotation having a modest fl avor: "If I ha.ve .9een further than others,
it is because I've stood on the shoulders of giants. "
8
8
1 also like the following quip attributed to Harold Abelson, a professor of MIT: "If I
have not seen as f«r a.s othe•·s, it is because giants were standing o» m.y sh.o1Jlders."
ANI MALS ON A FIELD 27
FIGURE 2. 7. Newton's birth house at Woolsthor pe, England
Newton's book A?'ithmetica Universal'is
9
contains, among its very influen
tial contri butions, several elementary problems. In this chapter we present
a problem about animals, whlle some other problems are given in Chapter
11. Speaking a bout animals, it seems appropriate to give here a story about
Newton a nd his cats. Newton is often credited with the invention of t he
"catflap" . The anecdote that accompanies his invention demonstrates t he
great mathematician's absentmindedness. Newton bad two cats: a small
and a la.rger one. To enable his cats to come and go as they pleased without
disturbing his work, he constructed two doors for them: a small one for the
small cat and a larger one for t he big cat. Had he considered t he mat ter
more thoroughly, he would surely have real ized that one pet door of t he
proper dimensions would have sufficed for both cats.
Animals on a field
Although Newton laid t he founda tions of modern mat hematics by solving
difficult and challenging problems, a number of these problems could also be
considered as recrea.tional mathematics tasks. The following task is a typical
one t hat appears in Newton's book Uni'Versal A ?'ithmeticA:.
9
'vVritten in Latin in 1707 and translated under the title Universal At·tthrnetick in 1720
(edited by John Machin).
28 2. ARITHMETIC$
Proble m 2.16 . .ln 4 1veeks, 12 oxen consw·ne acres of pa.9t·u?"e land;
in 9 ·weeks, 21 orcen cons1trne 10 acres of pastu.re land. A CC07tnt·ing fo•t' the
uniform 91'0wth mte of gmss, how many oxen will it to consume 24
ac1es in a pe1'iod of 18 weeks?
George P6lya presented a. general solution in his book Mathematical Dis
cover·y [142, Vol. I, p. 162].
Let us introduce the fo llowing quanti ties:
a  the quantity of grass per acre when the pasture is put into use;
f3  the quantity of grass eaten by one ox in one week;
"'  the quantity of gra.ss t hat grows in one acre in one week;
a
1
, a2, a  the number of oxen;
mt, m2, m.3  the nurnber of acres;
t
1
, t
2
, t the numbers of weeks in the three cases considered, respecti vely.
According to the condi tions given in the task we can form a. system of
three equa.tions,
m.t(O: + tt"i) = attd3,
m.2(o: + tn) = a2t2/3,
m(a +'h)= at/3,
(2.7)
where a, cxj {3, 'YI f3 appear as unknowns. Solving t he above system one
obtains
m[mtaztz('t tt) m2a1t1('t t2)]
a =
m1m2t(t2  t1)
Substituting the numerical data from Newton's original problem, we find
a = 36. Therefore, 36 oxen will consume 24 acres in 18 weeks.
The above task has ma.ny variants. The three tasks that follow here
appear frequently in literature, the 6rst of whicb is given in Heinricb Dorrie's
book [54].
Problem 2.17. * What ?elation e1.'ists between the nine magnitudes x to
:;" if:
x co1J./s 97'aze y fields ban;, in z da.ys,
x' cows graze y' fields in z' days,
cmos graze y" fields bMe in z" days '?
ANIMALS ON A FI ELD/ GATHERJNG AN ARMY 29
Auotber VlHiatioo of Newton's probleo1 reads:
Problem 2.18.* Every day a flock of sheeJJ gmze grass in a field. If the
field supports a. flock of 10 sheep each day, then the flock will consume all
of the g?YJ.ss in 20 da.ys; if it flock contai.ns times as many sheep, then
this lo.1'ger flock wUL consmne all of the !JI'C!SS ·in 4 days. Assuming a 1mi.fonn
daily m·te of grrM.s growth, in how many da;IJS will rt flock of 25 sheep, gmzing
daily, consume all of the grass in the field?
The followi ng task includes a combination of familiaJ· farm aJl imals.
Problem 2.19. * A cow, a goat, and a goose gmze gmss in a .field. The
cow eats the sa.rne q·uantity of gmss as the goat and the goose together·. The
cow and the goat ea.t all of the gr·ass in the field in 45 days, the emu and the
goo.se in 60 da.:ys, and Ut e goat and ·the goose ·in 90 da;y.s. In how many days
will the cow, ·the goa't, and the goose togethe!' eat all o.f the gmss in the field,
agai.n asl!'uming that the gmss grows itt the same daily 1·o.te?
Alcuin of York (735804) (+ p. 299)
The English schola.r, ma.thema.ticiru1, and churchman Alcuin of York spent
his life a.t the court of the Emperor Charlemagne. He wrote a. collection
of fiftythree amusing problems, riddles and trick questions. Pmpositiones
ad Ac1tendos .hwenes (Problems for Quickening the Mind},
10
the earliest
known European collection of matheroa.ticaJ and logical puzzles writt en two
centuries after Alcuin 's dea.th at the monastery of Augsburg, includes Ius
tasks. Many puzzles and tasks have survived to the present day.
Gathering an army
Problem 2.20. In maki.ng fo1· wm·, the king of a powe1j1tl
co·unt1y O't'der.$ his se•l"uant to assel"nble an anny from thiTty shinis ·in such a.
way that the ser'Vant 10ill enlist the same rv!trnbe,·· of men ft·orn each shi1·e as
he has collected until that point. The se1'vant tr·avels to the fir.st shi1·e alone;
to the second in the company of one soldie1·... . How many soldie1·s wilt be
collected in all'?
Let u.s first assume tbat the servant is oot included in the count at eacb
stage. In such a case, he would a.rrive at the first shire ha.ving gathered no
10
0zanam's Recreaticms Mathematiques, 1803, English edition, Vol. I, p. 171, in
cluded these problelllS.
30 2. ARITHMETIC$
men, <1Jld thus would ga.t ber none there, and so on; the totaJ collected would
be zero! Therefore, t he servant must include himself a.s t he first soldier,
a:nd the numbers on leaving each shire are 2, 4, S, .... The total number of
soldiers (together with t he servant) on leaving the thirtieth shire is obtained
by summing t he geometrical progression,
230 1
1 (serva.nt) + 1 + 2 + 2
2
+ · · · + 2
29
= 1 +
2
_
1
= 2:Jo = 1,073,741,824.
Let us note that the nwnber of soldiers, not including t he servant, is t he
same as the number of moves necessary to transfer 30 rings in Lucas' Towe1·
of Hcmoi puzzle (see page 195).
Answers to Problems
2.2. To find t he number of arrows in a bundle, it is sufficient to sum, a.s
far a.s necessary, the series 1 + 1 · 6 + 2 · 6 + 3 · 6 + · · · + k · 6 + · · · (see Figure
2.8). If 18 anows are visible in the pa.cka.ge, the adding stops when member
18 of t he series a.ppea.rs. Therefore, there are 1 + 6 + 12 + 18 = 37 a.rrows in
all.
FIGURE 2.8. Ntunber of a rrows
2.4. Before we explain t hese para.doxes, we give one of the most beaut iful
relations on the F'ibona.cci numbers, known as Cassini's identity
F F. F·
2
 ( 1)''
n+l n. t  n   (n > 0) . (2.8)
J eanDominique Cassioi, the French astronomer and mathema.tician, stated
this identity in 1680.ll We leave the proof to the reader alt hough we note
that complete induction is a convenient device.
11
According to ISS, p. 292), Johannes Kepler knew t his formula. already in 1608.
A NSWERS TO PROBLEMS 31
Let us note t hat the numbers 5, 8, 13, 21, which appear as dimensions
in the a.bove dissections, a.re Fibonacci's numbers F
5
= 5, F
6
= 8, F1 =
1:{, F
8
= 21. In the first example we have 13 x 5  8 x 8 = 1 (one square
more), while the second example yields 21 x813x 13 = 1 (one squa.re less) .
In general , by taking Fibonacci's numbers F, 1, F, and Fn+l • we can dissect
a.ny Fn x F, squaJ·e into four pieces by using a. similar construction that, after
reassembling, form a rectangle F, +
1
x F,_
1
. According to Cassini's identity
(2.8) , one square will be created (when n is even) or lost (when n is odd) .
Vve shall explain this phenomenon on t he example of t he 8 x 8 chessboard.
The para.dox arises from t he fact that the edges of the four pieces that lie
along the diagonal of the formed rectangle 5 x 13, do not coincide exactly in
direction. This diagonal is not a st raight segment line but a smaU lozenge
(diamondshaped figure), whose acute angle is
a.rctan  a rctan i = arctan
:::::; 1
0
.
Only a very precise drawing enables us to distinguish such a small a ngle.
Using analytic geomet ry or trigonomet ry, we can easily prove t hat the area
of the "hidden" lozenge is equal to that of a small square of the chessboard.
2.5. The solution is given in Figure 2.9.
13
21
3
5
F IGURE 2.9. Fi bonacci 's rectangle
It is easy to observe that the constructions of larger and larger "Fibonacci
rectangles" can be continued in an obvious way. The following challenging
question is quite natural: Can we obtain perfect sq1wres by this process (ex
cepting the t rivial case of the unit square)? J. H. E. Cohn [38] proved in 1964
32 2. AR!THMET!CS
t.hat there ex.ists the unique square with the request.ed property composed
from the squares with sides 1, l, 2, 3, 5, 8, 13, 21 , 34, 55, 89 and 144.
2.7. Let .s denote t he original sum the sum returned (equaJiy) to
each mao. Before the three men received t his sum, they possessed s/2 
x, .s/ 3 x, s/6  x. Since t hese are t he sums possessed after putting back
l / 2, l/ 3, l / 6 of what they had first taken, the amounts first taken were
distributed as follows:
A: 2(sj 2x) , B :
C:
6
 (s/ 6x).
5
The sum of these amot.mts gives the original sum .s, t hat is,
3 6
2(s/2  x) +
2
(s/ 3 x) +
5
(s/6 x) = s,
which reduces to the indetermina.te equa.tion 7s = 47x . Fi bonacci took s = 47
and x = 7. Thus the sums taken fTom t he original pile are 33, 13, and 1.
It is easy to show that t he sum in the originaJ pile, which provides that all
tmnsfers of money (taking, retmning and sharing) t1.re expressed in integers,
bas t he form s = 47 · 6d = 282d, where d = 1, 2, .. . is a. na.tma.l number.
Hence, t he minimal sum with this property is .9 = 282.
2.8. The solution is given in Figure 2.10 (see Needham [131]).
FIGURE 2. 10. Magic configurationa. solut ion
A NSWERS TO PROBLEMS 33
2. 12. Let the barrel originally conta,in x pints of wine. After one remova,l
a,nd replacement , tbe amount of wine a,nd its strength are a
1
= x  3 and
s
1
= a
1
f x = (x  3)/x. On the second removal the amount of w·ine removed
will be 3s
1
= 3(x  3)/x and the amount of wine in the barrel is a
2
x 3  its strength is
s2 = a2/x = (x  3  3(x  3)/:c) fx .
After t he t hird removal, the wine removed will be
3(x 3  3(x  3)/x)
3.92 = ,
X
while t he amount of wine and its strength in the barrel are, respectively,
fL3 =
3(:r;  3  3(x  3)/x)
X
Since the strength of wine remaining in the barrel is 8 3 = 1/ 2, from t he last
expression we come to the equation
Hence
3. 21/ 3
= l/" 14.54 pints.
2
3
 1
2.13. Let x andy be the numbers of coins in hand. Then
or
(x + y) + (:1: + y)
2
 + (x + y)
3
 + y) = 194.
lf we put x + y = 8 and :r;y = t, the last equation becomes
8 + 8
2
+ 8
3
 2t  24t = 194,
wherefrom
t = :l:y = 15.
34 2. AR!THMET!CS
Introducing y = 8  x, we com.e to the quadratic equation
 + 15 = 0
wi th the solutions 3 a.nd 5 meaning that if x = 3, then y = 5, and conversely.
Therefore, the required numbers of coins are 3 and 5.
2. 14 . Let x a.nd :y be the sides of the given cubes. Then
x  y = 6, x
3
 y
3
= 504.
Since
x
3
 y
3
= (x  y)(x
2
+ xy + y
2
) = (x  y)[(x y)
2
+ 3xyl = 504,
putting x  y = 6 and :1;y = t we obtain
6(36 + 3t) = 504,
wherefrom ·t = 16. Solving the system
y = 6, xy = 16
we find x = 8, y = 2.
2.15. The solution of this tricky problem is very simple (if you have a
flash of inspiration). The twentyfourth factor in the product
P = (x  a)(x  b)··· (x  z )
is (1: 1:) (= 0) so that P = 0.
2.17. As in Dorrie's book, let t he initial a.mount of grass contajned by
ea.ch field be lYl, the daily growt h of ea.ch field m, and ea.ch cow's daily
grass consumption of Q. We can then form the following system of linear
homogeneous equations:
yM + yzm  z:cQ = 0,
y' M + y'z'm  z'x'Q = 0, (2.9)
y" M + y" z'' m  z'' :'t'' Q = 0.
Vl/e recall one of the basic properties of the theory of linear systems of equa
tions: The determinant of a system of n linear homogeneous equat·ions pos
sess·ing n unknown$ that do not alL vanish {M, m, and Q in o1w case) must
be equaL to ze!'O. Therefore, for the system (2.9) we howe
y
y'
1l'
1JZ
y' z'
y'' z"
 zx
 z' :c'
 z'' :r.''
0  .
A NSWERS TO PROBLEMS 35
After multiplying both sides with  1 we obtajn the desired relat ion
y yz zx:
y' y' z' z' :r;' 0  .
y" y"z" ::::" x"
2.18. This task can be easily resolved starting from system (2. 7) of the
three equations and assuming that a = 25 is known, tis the desired unknown,
and weeks are replaced by days. However, we give a not her, somewhat shorter
solution.
Let A denote all of the grass in the field, expressed in some unit, a.nd let
B represent the quantity of daily grass growth, a.lso expressed in the same
units. Then we can state t wo equat ioos:
A + 20 (days) ·B (units of grass) = 20 (da.ys) ·10 (sheep),
A + 4 (days) ·B (units of grass) = 4 (days) ·30 (sheep).
F1·om the system
A + 20B = 200, A + 4B = 120,
we find A = 100, B = 5.
Let x be the required number of days necessary for 25 sheep to eat <\II of
the grass in the fi eld. As above, we form the equation
A+ x (clays) ·B (units of grass) = x (days) ·25 (sheep),
that is,
100 + 5x = 25x,
wherefrom we find x = 5. Thus, 25 sheep will eat all of the grass in 5 days.
2. 19. Since the cow eats as much grass as the goat and the goose together ,
a.nd the cow and t he goat can eat a.ll of t he grass in 45 da.ys, then two goats
1md one goose will ea.t the same quant ity of grass in tha.t same time, assuming
a constant rate of growth for the grass. This period is twice as short as the
time necessary for the goa.t and the goose to eat all the grass (90 days).
Hence we conclude that the gottt can ea.t all of the grass in the fi eld in 90
days if during tha.t time t he goose eats only the grass growth.
36 2. AR.ITHMETICS
According to the previous consi.dera.tioo, a.fter a Uttle thought we rea.Jiz.e
that, for one da.y, t be cow ea.ts 1/60 aod the goa.t eats 1/90 of the initia.l
supply of grass. Therefore, the cow and the goa.t together ea.t in one day
1 1 1
60 + 90 = 36
of the grass supply. Hence, the cow and the goat can eat all of the grass in
36 days while the goose eats only the grass growth in the same number of
days. Answer: the cow, goa.t, and goose can eat all of the grass (that grows
uniformly every day) in 36 days.
Chapter 3 NUMBER THEORY
MathemaUcs is the queen of the sciences and
numbe1· the01·y i.s the q·ueen of mathematics.
Carl Friedrich Gauss
Why a1e nurnbe1·s It's like a.sking why
i.s Beethoven's Ni.nth SynqJhony
n:umber·.9 ar·en't bea?t'ti.ful, nothing is.
Paul Erdos
Number theory is a vast and very attractive fi.eld of mat hematics tha.t
stud.ies the properties of whole oumbers . Numbers luwe fascinated people
from the dawn of civilization. Euclid (ca. 300 B.C.) shO\ved that there a re
infinitely many prime numbers, the arnica.ble (friendly) pair (220,284) was
known to the early Pyt ha.goreans. Today, primes and prime factorization,
Diopha.ntine equations a.nd many functions (for example, Riemann zeta func
tion) make up a.n especia.lly important area in munber theory.
Number t heory is full of many profound, subtle and beautiful theorems. A
number of results has a simple and comprehensible formulation, yet puzzling
na.t ure. For example, Goldbach's conjecture (stated in 1742) that ''Eve1:'1
even intege1· g1eateT than 2 can be whtten a.s the su.rn of two phmes" has
a very simple formulation, but it has not been resolved yet. On t he other
hand, the proofs of problems a re often very difficul t and lie in exceeding
obscuri ty. For these reasons, it can be claimed number theory possesses
magical charm and inexhaustible wealth.
Number theory, more than any branch of mathematics, has set tra.ps for
mathematicians and caused even some eminent mathematicians to make a
oumber of fa.ulty assumptions. Recall that Fermat's Last Theorem from
1637 ( "lf an intege1· n is greate!' than 2, then the equ.ation a" + b" = c" has
no sol1•tions in non.::em intege1·s a, b, and c.") was solved after 357 years
and many wrong "proofs".
From the beginning of the computer era., programmers have been testing
thei r skills, the quality of the programs a.nd the power of digital computers
solving problems of number theory and discovering various curiosities in tltis
field. Generating prime numbers is the ultima.te test in the construction of
37
38 3. NUMBER THEORY
digitaJ computers because extensive calculations quickly point out different
problems in their design.
No other branch of ma,thematics is as popular a.mong mathematicians
amateurs as number theory. The main reason is t hat it does not require
a.ny lengt hy prel inlinary trajn.ing. Number theory is a lso tbe ftworite science
of leading mathematicians. A German mathematicia.n Leopold Kronecker
(18231891) said: "Numbel' theol'ists are like lot1tseateJ's having tasted this
food they ca.n never· give it up. '·' Lotuseaters Me a. myt hical people, men
tioned in Homer's epi c The Ody.ssey. Constantly eating lotusfru.it, these
people becMne oblivious to the outer world , and Lived in contented indo
lence, with the only desire never to leave the Lot usland. Kronecker is the
same fellow who once sa.id that, "God made integei'S and all else ·is 'the wol'k
f "
o ma.n ..
This chapter a.ttempts to present a few of the recreational gems in t he the
ory of numbers. You will find mostly the problems of Diophantine's type,
starting from the cattle 11r·oblem. This is the most famous and oldest an
cient problem of number theory, ascri bed to Archimedes. Vvhi le Archimedes
thought about cattle, Dirac chose a monkey and sailors, Rarnanujan houses,
Bhaskara soldiers on the battlefield, Sylvester and Frobenius stamps and
coins and Euler horses and bulls. An essay on amicable numbers and suit
able generating formulae of ibn Qorra and Euler are also included.
*
* *
Archimedes (280 a.c. 220 a.c.) (t p. 299)
As mentioned in the preface, ma.ny centuries ago the main purpose of
most ma.tbema.ticaJ tasks, excepting some counti ng and measuring problems,
was to provide intellectua.l pleasure and diversion. Archimedes, one of the
greatest rnat herna.ticia.ns who ever lived, was mainly occupied with rea.llife
problems and geometry, although some of these problems sound today rather
as recreational ones. The extant worb of Archimedes can be found in Heath
[100], Dijksterhuis [52] a.nd Stein [169].
Some of ancient stories are, in fact , legends about Archimedes' con
trivances made to aid the defense of his native city Syracuse against the siege
directed by the Ro•n<1Jl generaJ Marcellus. According to legend , Archimedes
constructed mova ble poles for dropping heavy weights a.nd boiling liquids
on enemy ships tha,t approa.ched to the city walls too closely, catapults with
adjustable ranges and other defense weapons.l
1
Another legend tells that Archimedes also constructed a la.rge "burning gl= minor"
ARCHIMEDES 39
F IG UR.£ 3.1. Catapult Archimedes' defense weapon
We regard many of these problems from antiquity and the Middle Ages
more as recreational mathematics. For this reason, we include t hem in this
book, starting with some of Archimedes' most famous problems.
Archimedes
280 B.c  212 B.C
FIGURE 3 .2. "crew, s1.ill used
in various parts of the world
in t he shape of a paraboloid to set firo tQ enemy ships. Perhaps the previous legends arc
true, but the last story seems to be false. With a little help of physics and mathematics we
find that the length of the latus rectum (the straight line through the focus perpendicular
to the axis} is equal to the parameter p in the equation of parabola y
2
= px. Since the
focus of the parabola. y2 = px is at (p/4, 0), assuming that an enemy ship is 50 meters
from the city walls and situated just at the focus of Archimedes' burning mirror (p/4 = 50
meters}, we fi nd that the mirror's diameter (that is, the length of the latus reclurn) would
measure 1> = 200 meters, evidently an impossible length.
40 3. N UMBER. THEORY
The a.ncient Greeks were deeply interested in numbers th.a.t resemble geo
met ri c forms, called figura.tive numbers. The Pytha.goreans observed that
the sum of successive odd natural numbers forms a. square (Figure 3.3(a.) ),
thus S.,, = 1 + 3 + · · · + 2n 1 = n
2
. Triangular numbers are the numbers
1, 3, 6, 10, .. . , and can be obt ained as t he sum of t he first n na.tural num
bers (see Figure 3.3(b)). Therefore, t be nth triaJtgular number ha.s the form
T,. = 1 + 2 + · · · + n = n (n + 1)/ 2.
•
• •
• • •
• • • •
:1
• • • • •
• • • • • •
a.) b)
FIGURE 3. 3. Squa re and triangular numbers
There a.re infinitely many numbers t hat are simul taneously squa.re and
triangular; see Problem 3.2. Surprisingly, these numbers are very closely
related to the solution of Ramanuja.n's Problem 3.11, given in this chapter.
The sums P,. of consecutive t riangula.r numbers are the tetra.hedra.J num
bers
P1 = 1, P2 = 4, P3 = 10, P4 = 20, ... , P,. = !n(n + l)(n + 2)
and t hese a re threedimensional a.nalogies to the planefigurative numbers
(a.ctually, the numbers of equal spheres that can be piled in pyramids, hence
the denota.tion P). Are there numbers t ha.t are simultaneously square and
tetrahedral except 1, tha.t is, S,.. = P,. for some natural numbers n and m
grea ter than 1'? This is the socalled cannonball p!·oblem and the answer
is yes, but there is only one number: '1,900. This unique sol ut ion of t he
Diophantine equation
1
n
2
=
6
m(m+ l )(m+ 2)
was found by G. N. Watson in 1918
2
The proof of this is difficult and we
omi t it .
2
The problem of the squa•·e pyramid, Messenger of JVIathematics 48 (1918), 1 22.
ARCHIMEDES' CATTLE PROBLEM 41
The first problen1 presented i.n tbis cha.pter rnost li kely comes from Archi
medes a.nd involves square and triangular numbers.
Cattle problem
In 1773 Gotthold Ephraim Lessing discovered a Greek epigru.m made up
of twentytwo distichs ascribed to Archimedes, in the Wolfenbiittel library.
These verses state a problem, now commonly referred to as the cattle prob
lem. This problem is t he best known ancient Diopbantine equation and
reads:
P roblem 3.1. The sun god had a herd of cattle cons'iS'l'ing ojW, X, Y, Z
(1·espectively) of tuhite, black, spotted, and bmwn bttlls and w, x, y , ::; cows
of the siune shCLdes. These numbe1·s sa.tisfy the following nine equations:
w = (.!. + .!.)x + z.
'> 'J '
 ,,
Y = G + DW+Z,
w = G + D<x + x),
1 1
= c + 5) (Y + y) ,
y = G + i}(Z+ z),
Z= G +
+X = a square number,
Y + Z = a tria.ngula.r number.
Detennine the total nmnbe1· of cattle
T = W +X+ Y + Z + w + + y + ::; .
After somewhat tedious but elernent1uy manipulations:\ the above system
reduces to Pell's equation (see Appendix A)
2 2
tt  4,729,491v = 1.
3
See, e.g. , B. l<rumbiegel, A. Amthor, Dc.s Problema Bovi?\1.tm des Archimedes,
Historischliter<u·ische Abteilung der Zeitschrift fiir J:vlathematik <md Physik 25 (1880),
pp. 121 136, 153171, E. Callandreau, Celebres Problemes MatMmatiques. Edit. ions
Albin Michel, Paris 1949.
42 3. NUMBER. THEORY
Solving this equation by the continued fraction method
4
, one obta.ins
tt = 109,931,986,732,829, 734,9'79 ,866,232,821,433,543,90 1,088,049,
v = 50,549,485,234,315,033,07 4,4 77,819,735,540,408,986,340,
leading to the solutions of the original problem, the smallest value of which
contains 206,545 digits. A. Amthor (1880) was the first to determine the
total number of digits of the smallest solution, although he did not find
the solution. In 1889, undaunted by what lay before them, a. civil engineer
named A. H. Bell and two friends formed the Hillsboro Mathema.tical Club
(Illinois) and started the computation. They spent four years at the job,
computing 32 of the lefthand <1nd 12 of the righthand digits of the 206,531
digi t number that directly leads to the required (least) sol ution consisting of
206,545 digits.
The final solution by H. C. Williams, R. A. German and C. R. Zamke
[187) was published in 1965. The a uthors performed calcula.tions on the
digi tal computers IBl\
1
1 7040 and IBM 1620 using a special procedure for
memorizing very large integers and converting them from the binary system
to t he decimal system. The total computing time required was 7 hours and
49 minutes and the obtained result consisti ng of 206,545 decimal digits was
printed on 42 computer A4 sheets. In its abbreviated form, the solution
reads
77602714 ... 237983357 ... 55081800,
ea.ch of the six dots representing 34,420 omitted digits. Using a CRA Y
1 supercomputer, which greatly simplified the computations, H. L. Nelson
[1321 confirmed the result in 1980. Readers interested in the exact number
of cattle may fi nd all 206,545 digits in the paper [1321.
Let us note t hat Lessing and also Nesselmann, Rouse Ball a.nd others, dis
puted the authorship of Archimedes. Some of them have commented that the
solution is senseless, giving remarkably huge numbers. According to Donald
Knuth (Science 194 (1976)) , the total number of protons and neutrons in
the known universe about 10
125
, an "astronomically large" number, but
a.ctua.lly it has only 126 digits; compare it with the above solution consist
ing of 206,545 digits. Beiler estimated in [14] that a sphere with a ra.di us
equal to the distance from the Earth to t he Milky Way could contain only
a small number of animals even if they were the smallest microbes. On the
other hand, the outstanding Danish researcher of Archimedes' work, J ohan
L. Heiberg, as well as some other mathema.ticians, were convi nced that the
a bove problem should be attributed to Archimedes.
4
For t his method see, e.g., Davenport's book 145]. See, also, Appendix A.
ARCHIMEDES' CATTLE PROBLEM 43
Furt ber det.ajls about the cattle pr·oblern can be found in t be recent work
[123] of Lenstra. He presents all solut ions to t he ca.ttle problem given below:
w = 300,426,607,914,281,713,365 . v'609 + 84,129,507,677,858,393,258 . J7,766 '
( tv4.G58· m _ tv 4.658· m )2
k.,, = 368 238 304 (m =
1
'
2
•
3
• · · · )
' '
m.th solution bulls cows aLl cattle
white 10,366,482 · km 7,206,360 . k,. 17,5 72,842 . k.,
black 7,460,514 . k,. 4,893,246 . k,. 12,353,760 . k.,
.spotted 7,358,060 · A:.,. 3,515,820 · A:.,. 10,873,880 . k.,.
brvwn 4,149,387 . k.., 5,439,213 . k.,. 9,588,600 . k.,.
all colo1·s 29,334,443 · km 21,054,639 . k.,.. 50,389,082 . k,,
Archimedes would be amazed a.t this result, but these days the cattle problem
is an easyaspie task even on a standard personal computer lasting only a
fraction of a second to solve the corresponding Pell's equation (see Appendix
A).
Fi nally, let us mention an interesting discussion which took place in the
pages of the journal Histor·ia Mathernatica a.bout the solvability of the cattle
problem. A controversy arises from an unclear translation of the Greek text .
Namely, P. Schreiber [154] asserted t hat the known "solutions" contradict
one of the con<litions (which reads: "In each .sM·t of cattle there are rnawy
mo?'e bulls than cows") given in the wording of t he problem. According to
Schreiber, this condition fa.ils for the brown cattle. W. C. Wa.terhouse 1180]
<lisputed this approa.ch since he regards some parts of t he Greek text only as a.
stylized poetic form which is mathematically inelevant, while mathematical
conditions aJ·e written in straightforwa rd mathematical terms. At aJlY rate,
the task posed a.t. the beginning of this essay is mathema.tica.Jiy quite clear
a.ncl precise
5
and has a solution.
Problem 3.2. * Devise a jo'lmula that gene'f'ates all numbe'f's that me
s·irn1>ltaneously squrL?'e and t?'iangulll.!·.
Hint: Consider the corresponding Pell's equation a.nd formulae given in
Appendix A.
5
Many mathemat icians. even today, consider t hat t he presented formulat ion of the
cattle p1·oblem was created at some later period, many centw·ies afte·r Archimedes; in
their estimat ion, mathematicians from that t ime would have had great dilficulties with
this problem.
44 3. NUMBER THEORY
Diophantus of Alexandria (ca. 200ca. 284) ( _, p. 299)
Diophantus' book A7'ithmetica was written in the third century in 13
books (six survived in Greek, another four in medieval Arabic translation).
It is a collection of 130 arithmetic problems with numerical solutions of
(determinate aJld iodetennina.te) algebraic equations. Tbe folJowiog two
problems &·e selected from this book.
Dividing the square
Problem 3.3. Divide a given .9qu.ar·e nttmbe·1· into ttuo
Solution. This is a n indetermi na.te problem whose sol ution Diopbantus
expressed in the form of a quadratic polynomial which must be a Sqllare.
Let b be a given rational number and let x
2
+ y
2
= b
2
, where x and y
are rational solutions of the last equation. To ensure a rational solution,
Diophantus introduced the substitution y = ax  b, where a is an arbitrary
rational number .
6
Then
which reduces to 2abx = (a
2
+ l)x
2
Hence
2ab
X= ..,
a2 + 1 ·
The last formula. generates as many solutions as desired. Taking b = 4 as
in Diophantus' book, for a = 2 it follows that x = 16/5, y = 12/5, which
satisfies the given equation:
(
1_6)2 + (1_2)2 = .w_o =
16
.
o o 2o
Beside t he fame of bei ng the most prominent work on algebra in Greek
mathematics, Diophantus' A7'i.thmeti.ca is also famous beca.use of t he note
made in a copy of it by the renowned French ma.thematician Fermat in which
be states the impossibility of divi di ng a. cube into a sum of two cubes or, in
genera.!, any nth power (n > 2) into a sum of two nth powers. In the margin
of the 1621 edition of tltis book, Ferma.t wrote: "l Jwve r1 tt'uly marvel 01<.S
p1ooj of this p1oposiUon whi.ch this rnaryin is too nat'I'OW to contain." This
6
Diophantus did not employ this exact notation since negative numbers a.nd zero were
not known in his time.
WINE PROBLEM/ AMICABLE NUMBERS 45
note was discovered after Ferma.t's dea.th . It is believed toda;y tbat Ferrna.t
did not a.ctuaJiy have tbe con ec.t proof of this conjecture. Peter Bentley,
the author of The Book of Numbe1·s [16] said: "Today Fermat is ·remembe1·ed
most fo?' what he did not w1·ite down. "
Wine problem
P r oble m 3.4. * A man bought seveml lite1·s of two kinds of wines. He
was paying 8 dmchrna.s ( money) a liter of fine wine and 5 dmchmas a
liter of Q!·d·inM'!J ·wine. The tota.l sum of rnoney he paid ·is equal to the sq·ua1e
of a nat·um.l numbe•t and, added to 60, it g·ives the sqtAat'e of the total quantity
of the wine e:L'P?'essed in liters. The task is to find the quantities (in lite1·s)
of each kind of w·ine.
Tiibit i bn Qorra (826 901) p. 300)
The Arabian scientist Tab it ibn Qona (or Qurra, following V. Katz [113,
p. 249n, famous for his remarkable translations of Euclid (Elements) , A pol
ion ius, Archimedes, Ptolomy and Theodosius, wrote on elementary algebra,
conics aJld astronomy, but a.lso on fa nci ful topics such as magic squares and
amicable (or friendly) numbers.
Amicable numbers
The discovery of amicable or ft•iendly numbe1·s is ascribed to Greek mat h
em.ati cia.ns. It is said th.a.t two nun1bers are amicable if and only if th.e sum
of the proper divisors (the divisors excluding t he number itself) of each of
them is equal to t he other. Pythagoras is attributed to finding one such pair
220 and 284. Indeed, the proper clivisors of 220 a re 1, 2, 4, 5, 10, 11, 20,
22, 44, 55, 110, and their sum is 284, while the sum of t he proper divisors 1,
2, 4, 71, 142 of 284 is just 220. This wa.s t be only known pajr for some 2000
years. So, t his extraordinary property of the two numbers was t be ca.use of
a superstition that a pair of talismans bearing these numbers would ensure
a perfect friendship between the wearers.
Pythagoras set the amicable pa.ir (220,284) (the only one known in his
t ime) in t he context of a discussion of friendship sa;yiug that a friend is "one
who is the othe?' I such as are 220 and 284. " According to Beiler [14], there
was once an experiment performed by El Madsclnity, an Arab of the elevent h
7
Also Konah, see Beiler 114).
46 3. N UMBER THEORY
century, who tested tbe erotic effect of t he a.micable pa.ir (220,284) by giving
one person 220 special to ea.t, and himself eating 284 at the same time.
Unfortunately, El Madscbrity did not report the outcome of this experiment.
FIGURE 3.4. Amicable numbers 220 and 284
No advance in the field was made until the ninth century when Ta bi t ibn
Qorra undertook the study of t he following question:
Problem 3.5. State a oneparomete?· formula which genemtes amicable
numbe1·s.
As a result of ibn Qona's investigation, the following theorem was proved
(sta.ted here in modern nota.tion, see j32, p. 104J or [l l3, p. 2661):
Ib n Qorra's the01·e rn. Forn > 1, letq .. = 3·2' "  1, r .. = 9·2
2
"
1
 1. If
q,._
1
, q,. and 1·, are thr·ee prime numbe1·s, then A = 2"q,._
1
q, and B = 2"r,.
are amicable.
Qorra's rule for generating a.m.icable pa.irs was rediscovered by Fermat
(1636) and Descartes (1638) . The simplest case n = 2 gives primes q
1
= 5,
q
2
= 11, 1·
2
= 71 , and the resulta.nt pair of amicable numbers is (220,284),
which was already known to the Greeks. Despite the existence of such a fruit
ful formula, no new pair of amicable numbers was discovered until another
Islamic mathematician Kamal alDin a.JFarisi (died ca. 1320) announced
(17 ,296, 18,416) as a second pair. Three centmies later the grea.t French
AMICABLE NUMBERS
,17
01at bematician Pierre de Fermat rediscovered t he same pa.ir. Tbis pa.ir ca.u
be obtajnecl from ibn Qorra's formu la for n = 4. The next paj r of amicar
ble numbers generated by ibn Qorra's fo rmula is (9,363,584, 9,437,056),
which is obtained for n = 7.
Let us note that , after a systematic study of amicable numbers, Leonhard
Euler ga.ve (1747) a list of 30 pairs and later be extended it to 64 pairs (two
of which were shown later to be unfriendly). Euler sta.ted the following rule
fo r generating amicable pairs (Dickson [511):
If t hr·ee nat'!Wa.l number·s
p = 2'"' (2''m + 1)  1,
q = 2"(2"'m. + 1)  1,
·r = 2·, +m (2''1.m + 1)2  1
me <'ll prime f<w some posit·ive integer m satisfying 1 < m < n  1, then the
n•umber·s 2"pq and 2"7' a.re o:n amicabl e pai·t .
Euler's rule is a genera,Jiza,tion of ibn Qorra's formula (the case m =
n  1). The 6rst few pairs (m, n) which sa.t isfy Euler's rule are (m, n) =
(1, 2) , (3, 4) , (6, 7) , .. . , generat ing the a.micable pa.irs (220, 284) , (17,296,
18,416) , (9,363,584, 9,437,056) , the same ones found by ibn Qona's for
mula. Another , more powerful, generating formula. was discovered in 1972
by W. Borho [22].
Curiously enough, the above lists and other lists made up to 1866 do
not include the relatively small pair of amicable numbers, 1,184 and 1, 210.
This pair was discovered in 1866 by a sixteenyearold Italian boy, Niccolo
Paga.ni ni, not to be confused with the composer and violinist of t he sa.rne
name! This example, as well as many other examples, show that ibn Qorra's,
Euler's and Borho's formula do not generate all pairs of amicable numbers.
In recent years, the uum ber of known a.micabl.e numbers bas grown explo
sively t ha nks t,o powerful computer 01achines. For exaJuple, there a.re 1,427
amicable pairs less tha.n 10
10
iiJld 5,001 less tha.n 3.06 x 10
11
. Pomera.nce
[140] proved t hat
[amicable numbers< n] < nexp( [ln n]
1
1
3
)
for large enough n . In 2005 a.n improved bound is given by M. Kobayashi,
P. Pollack a.nd C. Pomerance [116]. h• 2005 P. Jobljng found t he largest
known a.micable pa.ir (at that time) each member of which has 24 073 decimal
digits.
Proble m 3.6. * Find the f0111ih am·ica.ble po.i1· p?·oduced by E11.le1·'s r ·u.le.
48 3. NUMBER THEORY
Bhiiskara (11141185) (+ p. 300)
Bbaskara. (or Bhiiska.ra.charya"Bhaskara. the Tea.cher"  as he is known
in India.) was the greatest India.n mathemat ician and astronomer of the
twel ft h century. He also worked in t he 11stronomical observatory a.t Ujjain
as his great predecessor Brahma.gupta had done. Bhaskara. wrote mainly on
arithmetic, algebra., mensuration and astronomy. He tried to clear up basic
arithmetic operations involving zero, the clifficult task solved partially by
Brahma.gupta a half century previously. Act ually, Brabma.gupta could not
understand what to do with division by zero; see [16]. Bhaska.ra. claimed
that, say, 7 : 0 is infinity
8
, an incorrect answer. The division of any number
by zero produces an undefined result. Poor Bhiiskara, one could comment,
but recall that some modern textbooks also assert that the result is infinity.
Bhaskara's work Liliivati (a woman's name meaning "lovely'' or "beau
tiful" ) is considered one of the most influential contributions of his time.
Indeed, mucb of our knowledge of Hindu aJ·itbmetic comes from this book.
There is a romantic myth connected with BhaskaJ·a's book Lilavati. Ac
cording to a story which appears in the work of Fyzi (1587) , a counselor
of t he Persia.n emperor Akba.J·, the astrologers predicted t hat BhaskMa's
daughter .Lilavat?. would never ma.rry. Bhaska.ra, however, bei ng ao expert
astronomer and astrologer, divined a. lucky moment for his daughter's mar
riage to fall at a certain hour on a. certain propitious day. On that day he
devised a. wa.ter clock by floating a cup in a vessel of wa.ter. At t he bottom
of the cup be pierced a. sma ll bole in such a. wa;y that water would t ri ckle in
a.nd sink the cup a.t the end of the hour. Shortly before the bour's end , as
curious Lilii.vati watched the rising water level sink the cup, a pearl from her
headdress a.ccidentally ch·opped into t he water clock and, stopping up the
hole in the cup, slowed the influx of water . Thus t he hour expired without
the cup sinkj ng. The lucky moment passed unnoticed aJld Lilavati was t bus
fated never to marry. To console his unhappy daughter, Bhaskara promised
to write a book, saying:
9
"l tuill tm'ite a book named in you!' hono1· that shall
la,.st until the end of time, for· she 11.1ho has <L good name obtains a second life
and this in tm·n .shall leo.d to etemal el:istence. "
How many soldiers?
P r oble m 3.7. An a1my consists of61 phalanxes each containing a square
numbe!' of soldiei'S, not counting the commande1. Dt!l'ing the battle this army
8
Today we denote infinity by the symbol oo; some people call it eight ." This
symbol was introduced by t he English mathemat.icia.n J ohn Wallis in 1655.
9D. E. Smith [1671 , Vol. I, p. 277.
HOW l'viANY SOLDIERS? 49
can 't'eat"tYJ,nge itself into a. solid sqnm·e, ·incltAding its cornma.nder. .Find the
m;inimmn number· of soldier'S in the army.
In mathematical terms, the equation 6ly
2
+ 1 = x
2
must be solved in the
smallest terms. This equation, written in a more familiar form
? 2
 61y = 1 (3.1)
is known as Pell's equation (see Appendix A). Bhaskara ga.ve the particular
solutions of equations of the form x
2
 py
2
= 1 for 1J = 8, 11, 32, 61, and
67. For solving the equat ion (3.1) Bhii$kara used a genera.! method (see [113,
pp. 223225]) and found t he solution
X= 1,776,319,049, y = 22,615,390.
The above task bas been included in Beiler's book [14, Ch. XXII) in the
form of a short story about t he Battle of Hasti ngs in 1066. In t hi s ba.ttle t he
Norm(lJ'I army led by Wi lliam the Conqueror, Duke of Normandy, defea.ted
King Harold's AngloSaxon army. After this victory the Normans occupied
England and \\lilliam became the first Norman king. \.lie present t his story
io ao adapted form below.
Problem 3.8, King Harold's men a·f'rayed ·themselve.s in theil' customary
fotma·t·ion of sixtyone squa1'es, each squate. containing the same number of
soldie·r·s. Any No·rman soldie·r who daTed to penetmte their· fot ·tifications
p·ttt hi.s life at great h.sk; one blow ft·orn a. Saxon battlea:ce would slwtter· a
N M'1n.rm. lmtce and .sl·ice tltt'01Lgh r1 coat of nw·il... . When H rLmld anrl h·is
men .foined for·ce.s with the other· Saxons, they entered 'the ba·ttle M one s·ingle
great squa·re .. . .
Can you find t he number of men in the Sa.xon horde? And don' t for one
moment thiok that t be Battle of Hastings led to Pell's equation.
As mentioned above, Bhaskara found that the solution of x
2
 6ly
2
= 1
in its smallest terms is
1,766,319,049
2
 61. 226,153,980
2
= 1.
Including Harold, the AngloSa.xon army must have consisted of
x
2
= (1,766,319,049)
2
= 3,119,882,982,860,264,<101
soldiers. Usi ng rough calculations and allowing for six soldiers per square
meter, t he solution would require a globe with a radius equal to the distance
from t he Ea.rth to t he Moon in order to accommodate the army on its surfa,ce.
50 3. N UMBER THEORY
Leonhard Euler (17071783) (4 p. 305)
In terms of the sheer volume of published papers, t he Swiss mathematician
Leonhard Euler ra nks as t he most prolific mat hematician of all times. Euler's
bibl iography, including posthumous items, contai ns 886 entries which could
fill some 80 largeformat volumes. Euler worked wit h amazing ease under
all sorts of condit ions, even in t he presence of all thirteen of his children (al
t hough only five survived to adulthood). He made remarkable cont ributions
in almost all branches of mathematics and also in ast ronomy, mechanics,
optics and many practical problems such as magnetism, cartography, fire
engines and ship building.
Leonhard Euler
1707 1783
In 1766, an illness at the age of 59 left Leonhard
Euler nearly blind. Yet t ha.nks to his remarkable
mental calculation skills and photographic mem
ory (for exa.mple, Euler could repea.t t he Aeneid of
Virgil from beginning to end without hesitation),
he continued his work on mathematics, optics, and
lunar motion for t he last 17 yea.rs of bis Ufe, thus
producing almost half of his total works. Asked af
ter an unsuccessful eye operation how he would con
t inue working, be answered: "At least now, nothing
will distmct my attention."
Not only did Leonha.rd Eu ler work in virtua.lly all a.rea.s of mathema tics,
he wa.s a lso greatly interested in recreational mathematics problems. His
research on this topic led to t he development of new methods as well as t he
development of new branches of mathematics.
Horses and bullsa Diophantine equation
If a, b and c are integers and ab =/= 0, then a linear equation of the form
ax+ by = c,
where unknowns x and y a.re aJso integers, is call ed a line<w Diophantine
eq·uation in two variables. Euler developed an effi cient method for solving
t hese types of equations, which consist of multiple applications of a very
simple procedure.
10
We illustrate the method in t he solution of the following
problem that Euler himself posed.
10
According to F. Cajori (32, p. 95), the famous Hindu ru;tronorner Aryabhata (born
4i6 A. D.) knew t his method, known by t he name pulverizer.
E ULER'S HORSES AND BULLS 51
Problem 3.9. .4 rnet'Cha:nt p·twchases a wurnbe!' of ho1·ses and b'ulis jo1'
the S"urn of 1,770 taler·s. He pays 31 tale1's j01· each b7All, and 21 tale'tS f01'
each hot·se. How many bulls and how many horses does the me1chant buy?
The linear Diophantine equation that corresponds to our problem reads
31x + 21y = 1,770,
where x andy stand for the number of bulls and horses, respectively. To solve
this equation, we apply Euler's method by first starting with the unknown
whose coefficient is smaller in magnitude, in t his case y. Using the equalities
31 = 1 · 21 + 10 and 1,770 = 84 · 21 + 6,
we obtain
 31x + 1,770 lO:e + 6
y = ,2:::1' =  x +
84
+ ::2:1 
Since x and :IJ are integers, then ( lOx+ 6)/ 21 should also be aJ1 integer.
Denote this integer with t and represent t he expression for t as a new Dio
phantine equation
2lt =  lOx+ 6,
which bas coefficients of smaller magni tude relative to t he original equat ion.
In fact, t he essence of Euler 's method is a, perrnaJ1ent decrease of coeffi cients
in Diophantine equations arising from the original equation. Repeating t he
described recursive procedtu·e, we solve the previous equation in x (due to
the smaller coefficient) a.nd find t hat
where we put
 2lt+6 t + 6
:1; = 10., =  2t + 10 =  2t + 'IL,
 t + 6
lO
Hence we again obtain the Diophantine equation
·t=  l0u + 6.
Taking 1t as a parameter, we ha.ve an array of solutions,
t =  10u + 6,
:c = 2t + u = 2ht  12,
y =  1: + 84 + t =  3lu + 102.
52 3. NUMBER THEORY
The la.st two equalities, where u. is a nonnegative integer, give all solutions
y) of Euler 's equation
3lx + 21y = 1,770.
First , for u = 0, one obtains x = 12, y = 102, which is pointless because
we need only positive solution$. Since y < 0 for u > 3, we consider only
those solutions obta.ined for u. = 1, 2, 3, and find
'U = 1, X= 9, y = 71;
u  2
 >
X= 30.
'
y = 40;
U = 3, X= 51.
'
y = 9.
Thus, the solution of Euler's equation not umque, and all three pairs
(9,71), (30,40), (51,9) satisfy thls equation.
Paul Dirac (19021984) (> p. 309)
The sailors, the coconuts, and t he monkey
In 1926 the Satur·day Evening Post printed a short story about some
sailors a.nd coconuts on a desert isla.nd that held a great dea.J of attraction
for its readers. Martin Gardner presented a full d:iscussion of a story similar
to it in the form of a problem in [71 ].
Proble m 3. 10. A shipuweck mamon.s five .9a'il01·s and a monkey on. a
desert island. To su1·v·ive, they spend each day collecting cocon·u.ts; at night
of co1wse, they sleep. During the ni.ght, one sailor wakes up and, do1•btjul
of !'eceiving his Jail' shar·e, he divides the coconuts into five equal piles; he
notices that one coconut 1'ern.ain.s. He g·ives this coconut to the monkey, hides
his .shMe and goes back to sleep. A little the second sail01· wake.s up,
and, having the same doubts, divides the l'emaining coconu·ts in·to .five equal
piles, notices that there ·is one left ove1·, which he gives to the monkey. The
second so.ilo1· hides his share and r·etums to sleep. This happens for· each
sailOI' in tun1.. In the moming, the sa.ilm·.s atuo.ke and shMe the ?'ernaining
coconut.s into five equal and see that the1e is one left over, which they
gi:ve to the monkey. O.f cou.1·se, all of the sailo!'S notice that the pile of
coconuts is smalle'l' than the prev·io11s day, but they each feel guilty and say
nothing. The questi.on is: What ·is the smallest nnmbe1· of coconuts that the
cottld ho.ve collected?
THE SAILORS, THE COCONUTS, Al\D THE MONKEY 53
Supposi ng that the sailors collected n coconuts, we must t hen solve the
following system of equations
n = 5nl + 1,
4n1 = 5n
2
+ 1,
4n2 = 5n
3
+ 1,
4n3 = 5n4 + 1,
4n4 = 5n5 + 1,
4n
5
= 5n6 + 1.
(3.2)
The un it added to each equation represents the single remaining coconut
that the sailors give to t he monkey each t ime after dividing the pile. (L11cky
monkey!) All the unknowns in this system aJ·e certainly positive integers.
FtCliRE 3 .5. Sailors, coconuts and a monkey
We can continue solving the problem using a. number of approaches. The
t hree methods that we describe each have interesting and instructive aspects.
54 3. NUMBER THEORY
Solution (I) . By t be process of elimina.tion, we reduce the above system
of equations to the single Diophantine equation
1,024n = 15,625n
6
+ 11,529.
To solve this equat ion we use Euler's method described on page 51. First we
find that
15,625n
6
+ 11,529
5
265ne + 265
5
n = _;...___..;_ _ __;__ = 1 n6 + 11 + = 1 ns + 11 +
1,024 1,024
where we put x = (265n6 + 165)/ 1,024. Hence we obtain a new Diophantine
equation
265n
6
+ 265 = 1,024x. (3.3)
After dividing (3.3) by 265 we find
229x
rte = 3X  1 + = 3X  1 +'II .
v 265 ., '
1J 229
with .:..._ =  .
X 265
Since t he numbers 229 and 265 have no common factors, we must take
y = 229k, x = 265k (kEN) ,
a.nd for k = 1 we obt;tin x = 265. Substituting this value into equa.tion (3.3)
we find n
6
= 1,023 so that the required number of coconuts is given by
n = 15n6 + 11 + x = 15 · 1,023 + 11 + 265 = 15,621.
Solution ( II). David Sha.rpe [160] u. ed congruences to solve the above
system. Vve recall t hat, if C£, b, care integers with c > () and C£  b is divisible
by c, then we can express this fact in the language of congruences as a. =
b (mod c) . In other words, we say that a. modulo c is equal to b. For example,
25 modulo 7 is equal to 4 (written a.s 25 = 4(mod 7)) since 25  4 is
by 7, or 4 is the remainder l:hat results when 25 is divided by 7.
From t he last equation of system (3.2) we see that 4ns  l is divisible by
5. Then
4ns + ns  ns 1 = 5ns (ns + 1)
is also divisible by 5; hence it follows that the second addend n
5
+ 1 must be
divisible by 5. Using congruence notation we write n
5
= 1 (mod 5). After
multiplying by 5 one obtains 5ns =  5 (mod 25). Since 4n
4
= 5n
5
+ 1, from
the last relation we find t hat
4n
4
=  4 (mod 25) .
THE SAILORS, THE COCONUTS, AND THE MONKEY 55
The numbers 4 and 25 aYe relative primes (that is, bavi11g oo common fac
tors) so that 4 can be caJ1celled to yield
n4 =  1 (mod 25) .
Using the same argumentation we are able to write the following congruence
relations:
5n4 = 5 (mod 125),
4n3 = 4 (mod 125),
n3 = 1 (mod 125),
5n3 = 5 (m.od 625) ,
4n
2
= 4 (mod 625),
n2 = 1 (mod 625),
5n2 = 5 (mod :{,125),
4n
1
= 4 (mod 3,125),
nt = 1 (mod 3,125),
5nt = 5 (mod 15,625) ,
n = 4 (mod 15,625).
From the last relation we see t hat the number n + 4 is divisible by 15,625.
Since we sea.rch for the smallest number with this property, we take n =
15,621. Therefore, the smallest number of coconuts that the sailors could
have collected is 15,621.
Solution (III). Certain references
11
attribute this fascinating solut ion
to the celebrated English physicist Paul Dine (19021984), with Erwin
Schrodinger, winner of the 193:{ Nobel Prize. Other sources (for example,
[62, p. 134]) suggest the key idea's crea.tor was Enrico Fenui (1901 1954),
a.not her Nobel Prizewinning physicist <1Jld the "father" of the atom bomb.
First, one should determine the smallest possible number lv/ ha.ving these
properties: (i) Nl is divisible by 5; (ii) the difference M M'/5 is also divisible
by 5; (iii) the described process can be repeated six times consecutively. One
can easily find t hat ]II[ = 5
6
= 15,625. Vo/e will obtain a set of solutions,
including the smallest one, by adding this number, as well as any multiple
p · 5(l (pEN), to ruw number sa.tisfying the problem's condit ions.
11
Jncluding t.he article Paul. Dime and ·three fishermen, published in the journal Kvar.t,
No. 8 (1982), issued by the Academy of Science of the (fo1·mer) USSR.
56 3. NUMBER THEORY
Dirac based his idea on manipulating the qua.ntity of coconuts ltSing nega.
t ive numbers(!), and determined that  4 coconuts yielded a. proper solution.
Although it seems rather surprising, this number satisfies, at least in theory,
all conditions of the problem. This is one of those "it doesn'tmakesense
butitworks" ideas. Checking the solution is simple, and we leave fw·ther
discussion to the reader. The number of coconuts is given by
n = 4 + p · 15,625.
Taking p = 1 we obtain the smallest number of coconuts n = 15,621.
Problem 3.10 can be generalized; see [72, Ch. 9]. If s is the
number of sailors <lJld m is the number of coconuts which a.re left over to
t he monkey (after each division}, then the number n of coconuts origina.lly
collected on a pile is given by
n =
1
 m(s  1), (3.4)
where k is a.n arbitrary integer . In particular (Problem 3.10) , for s = 5 and
m = 1 from (3.4) we obtain tbe smallest positive solution (ta.king k = 1)
n = 15,621.
Beiler's book [14] conta.ins a version of the coconuts problem in which the
pile of coconuts remaining after five consecutive nights of reallocations, gets
divided into five exactly equa.l piles, and the mon key goes without his share
of coconuts. The least number of coconuts equals :1,121.
Srinivasa Ramanujan (1887 1920) (+ p. 308)
The life and work of the Indian selftaught genius Srinivasa R.amanujan
certainly provides the history of mathematics with one of its most romantic
Srinivasa Ra1nauuja.n
1887 1920
and most spectacular stories. Although R.amanuj an
had no university educfl.tion, !tis except ional C<\pac
ity in mathematics was known to IndiaJl matbema.ti
cians. The famous British number t heorist G. H. Har
dy (1877 1947) observed his uncanny intuitive rea
soning a.nd incredible facility to state very deep and
complicated number relations and brought Ramanu
j an to England. Despite R.ama.nujan's delicate health,
they jointly authored several 1·cmarkable papers be
fore R.arnanujan's death at the young age of 33.
U NKNOWN ADDRESSA PELL'S EQUATION 57
Io bis book Ramanujan (1940) Hardy described au ioterestiJ,g story.
Wben Ha.rdy went to the hospital to visit Ramaoujan who was lying ill,
he told him that he bad arrived in taxicab No. 1,729, and remarked that
the number seemed to him a rather dull one, qui te an unfavorable omen.
"No", Ra.manujan answered immediately, "it is a ve?'!} inter·esting numbe1·;
·it is the smallest exp1essible as the sum of t'IJ.JO cubes in two different
ways, 1,729 = 1
3
+ 12
3
= 9
3
+ 10
3
."
Let us allow a short digression. The above splitting of the number 1, 729
into the sum of two cubes resembles very much a problem by Henry Dudeney
posed in his famous book, • .P'uzzles (1907) . He asked for t be
number 9 to be expressed as the sum of two cubes of rationaJ numbers iu
two different ways. One solution is pret ty obvious: 9 = 1
3
+ 2:!. The other
is extremely difficult:
415,280,564,497
348,671,682,660
d
676,702,467,503
<IJ1
348 671 682 660
' , '
(found by Dudeney). Truly mindboggling results! Bearing in mind t hat
Dudeney did not have any modern calculating devices, his solution arouses
admiration. "Thus did Dudeney."
It is a high time to give the next intriguing problem.
Unknown address
P r oble m 3.11. The houses w·ith numbers 1 t hr·ough N a·te ·in a
1·ow only on one side of a st!·eet. Find the add1ess (house) numbe1ed by n
su.ch that the hmtse rmrnbe1·s on one side of the addr·ess n (that is, ft·orn l to
n  1) add ·up exactly to the .same .sum as aLl nu·mbe1·s (.{1YJm n + 1 to N) on
the othe·r side of the ruid1Wi.S.
According to t he story presented by Robert Ka.nigel in his book The
Ma.n Who I<new Infinity [l09J, Ramanuja.n answered t he "unknown a.ddress"
problem in his bead communica.t ing t he solut ion in the form of a. continued
fraction to his friend. Paul Weidlinger in 1184] gives l:he solution to t he
problem and assumes t hat it coincides with Ramanujan's.
From t he conditions of the problem, one obtains
1 + 2 + · · · + (n l ) = (n + 1) + · · · + N.
By adding the sum 1 + 2 + · · · + n to both sides we find t hat
2( 1 + 2 + .. · + n  l ) + n = l + 2 + · .. + N,
58 3. NUMBER THEORY
which gives
2
. n(n  l) + n = N(N + l )
2 2
(3.5)
or
(3.6)
The subscript index k is introduced to emphasize tha.t relation (3.5) has
integer solutions only for some specific numbers nk and Nk . Obviously, (3.6)
is a Diophantine equation tha.t defines the squ.a.re of triaJ\gular nurnbers (for
triangular numbers see page 40).
Solving the quadratic equation (3.6) in Nk> we find positive solutions for
Nk :
Nk =  1 + jl + 8nl.
2
The expression 1 + 8n% must be a. perfect square, tba.t is,
1 + 8
2 2 ? 8? 1
nk = Pk or P'k  = ,
which is a Pell equation (see Appendix A) .
(3.7)
It is easy to see t hat the least solutions of the last Pell equation
 8y
2
=
1 are x = 3 and y = 1. From the discussion presented in Appendix A and t he
form of difference equation (A.6) given there, we conclude that t he difference
equation corresponding to the Pell equa.tion above bas the form
(3.8)
Since n
0
= N
0
= 0 and n
1
= N
1
= 1 for obvious reasons, using these initial
values we can find from (3.8), and hence Nk given by (3.7).
From tbe difference equat ion (3.8) we have
Hence, by a successive continuation, we come to the continued fraction
l
6,..
l
6;
6 l
6  ...
(3.9)
This means that ao = a
1
= · · · = a.k = · · · = 6 and b
1
= b2 = · · · =
bk = · · · = 1 and (3.9) can be written in the form [6; 'lf, .:if, · ·.J. At
UNKNOWN ADDRESS A PELL'S EQUATION 59
the same time, tile difference equation (A..3) from Appendix A becomes
Yk  6Yk1 + Yk 2 = 0, which coincides wi t h (3.8). Jn pa rticular, Euler's
formulae (A.2) become
Pk = 6Pk t Pk 2,
Qk = 6Qk l  Qk  2:
and, therefore, satisfy the previous difference equation. Since Qk also sa.tis
fies the ini tial conditions Q_
1
= 0, Qo = 1, the values of Qk coincide with
nk required in (3.6) and (3.8) , a.nd botb of tbem give t be solution to tbe
problem.
Therefore, expression (3.9) is the continued fraction which Ramanuj an
most likely had in mind. Depending on the number of terms taken in the
continued fraction (3.9), particular sol utions can be obtained from (3.8) tak
ing no = 0 and n
1
= l. Numerical values are given in the following table.
k 0 1 2 3 4 5 6
nk 0 1 6 35 204 1,189 6,930
Nk 0 1 8 49 288 1,681 9,800
For example, for nk = 6 we have N k = 8 a.nd the following anangernent of
houses with the sum equal to 15:
1234s@Ju
15 15
The value of nk can be found by solving the difference equation (3.8) .
Bearing in mind the initial conditions no = 0, n
1
= 1, formula (A.5) (Ap
pendix A) yields the required solution (wit h p = 3, q = 1) a.nd thus reads
nk = (k = O,l, ... ).
4 2
Since 132J21 0.172 is less than 1, then (3 2J2)k becomes exponentially
small when k increases, and its effect is a.!most negligible. For tllis reason
nk can be calculated as (see page 13)
where l a J presents the greatest integer Jess than or equal to a number a.
12
For example,
12
The jloodunction l x J W<lS introduced by Kenneth E. Iverson early in the 1960s.
60 3. NUMBER THEORY
Ferdinand Georg Frobenius (18491917) ( f p. 307)
James Joseph Sylvester (18141897) (f p. 307)
We end section with an interesting task known in the li terature as
the Frobenius' coin proulem or Sylvester's stamp problem, or sometimes
the moneychanging problem. Its first version has a puzzle character , but its
later generalizations led to numerous challenging problems in number theory
that have appeared as the subject of many papers even today.
Georg Frobenius, a professor at the University of Berlin, was one of the
leading mathematicians of his da.y. He continuously endeavored to preserve
very high standards in sciences and education at the university. To carry
out his pla.ns, he was occasionally unpleasant, choleric a.nd quar relsome.
He pa.id attention only to pme mathematics and had a.n aversion to applied
mathematical disciplines.
13
Despi te his primary orientation to serious math
ematics, Frobenius' work finds a place in this book thanks to his research on
t he coin problem belonging to number theory which bears his name.
J ames Joseph Sylvester, one of Britain's greatest mathematicians of
t he nineteenthcentury, was a genius in mathematical investigation, but his
absentmindedness often complicated for him. Sylvester not only en
James J. Sylvester
18141897
countered great difficulties in memoriziug other math
ematicians' results, but he also had troubles remem
bering his own. Once he even denied the tmth of
a theorem that he himself ha.d formulated. Due to
his perpet ual absentmindedness, his lect ures did not
enjoy great popularity, concentrating, as they did,
mainly on his own wor k and its results. Consequently,
unsolved problems or unclear details from Sylvester's
unpublished manuscripts inevitably caused delays
sometimes lasting for weeks or even perma nently di
verting him from his origina] subject.
Sylvester entertained a. great deal of interest in many bra.nches of mathe
ma.tics, yet despite devoting immense activity to solving serious mathemat
ical problems,
14
he managed to find a little time to spare for mathematical
13
Jt sou nds paradoxical, but the representation theory o f finite groups, developed by
i='robenius the man who loved only pure mat hmnatics later found i mportant application
in quantuw mechanics.
14
tvloreover, Sylvester was also interested in poetry and music as an amateur performer.
Sometimes, the famous f)·ench composer Charles Gounod gave him singing lessons.
SYLVESTER'S STAMP COMBINATIONS 61
a.musements. In this book we present severaJ of his problems, the first of
which is given below.
Stamp combinations
Sylvester submitted tbe following simple but interesting cont ribution to
the Edt•cational Times ( 1884) . A similar problem was considered by Georg
Frobenius.
P r oble m 3.12. A man possesses a large quantity of stamps of only
t·wo 5cent sta.rrws and 17 cent stam]JS. What is the la1yest
(finite) amotl'n.t of cents wh·ich the man c<mnot make u.p 1oith a com.bin<Lti.on
of these stamps?
Clea.rly, we assu01e that very large amounts of money (tbeoreticaJly, in
fini tely large amounts) are not ta.ken into account si nce they could not be
paid out for Jack of a sufficient supply of stamps.
Let z be the amount that should be paid off by a combination of stamps
which are 5 ilJ1d 17 pounds worth. Then
z = 5o.+ Hb, (3.10)
and this is a linear Diophantine equation. The amount z is a nat ural number
and a and b are nonnega.tive integers. We need to determine the grea.test
number zo which cannot be represented in the form (3.10).
Instead of the descri bed pa.rticular problem we wiU consider a more gen.
era.! case, namely, we will prove the follow·ing assert ion:
If p and q are relat·ive prime natu·ml nmnbei'S,
15
then pq  p  q ·is the
gl'ea·test intege1· which cannot be ·represente(l in the .foim pa + qb, a, b E N
0
.
To solve this problem, we will prove: 1° the number pq p q cannot be
represented in the ment ioned form; 2° every number n > pq p q can be
represented in t he form pa + qiJ.
1° Let us contrary to our proposition, that there exist numbers
a, b E No, such that pq p q = pa + qb. Since p and q are relatively prime,
it follows that p divides b + 1 and q divides a+ 1. Thus, it must be b + 1 =J p,
1
"T<vo na.tmal numbers p and q are relat ively prime if t hey have no cornrnon positive
divisors except 1, t hat is, if the ffl'e«test common diviscw (gcd) of p and q is 1, brie8y
gcd(p, q) = 1.
62 3. N UMBER THEORY
otherwise a < 0. SimilaYly, it must be a + 1 i= q. Therefore, p < b + 1 and
q < a + 1, that is, b > p  1 and a > q  1, so t ha.t
pq p q = pa + qb > p(q 1) + g(p 1) = 2pq p q.
Hence, pg > 2pg, which is impossible. The contradiction proves t he sta.te
ment 1° .
2° Let n > pq  p  g and let (a
0
, b
0
) be an arbi trary integer solution of
the Diophantine equation pa + qb = n + p + q. Since p and q are relatively
prime, i .. e. gcd{p, q) = 1, t his solution exists according to the theorem of
the existence of solut ions of linea.r Diophantine equations (gcd{p, q) divides
the right side of equation). The general solution of the above Diophantine
equation is given by
a = a
0
+ qt, b = b
0
 pt, t E Z.
q  ao
Let us choose t so tha.t 0 < a < q. Then t < · and
. q
b b
q  ao aop + boq  pq n  (11q  P  q)
0 > o  P = = > ·
q q q
We have proved that the number n can be represented in t he descri bed
manner. Indeed, from the Diophantine equation we haven = p(a  1) +
q(b 1) = pa' + qb' (a' , b' E No).
In the special case (Sylvester 's problem) , taking p = 5 a.nd q = 17, we
find tha.t the grea.test number (amount) which ca.nnot be obtajned by a
linear combination of the numbers 5 a.nd 17 is equal to zo = pq  p  q =
5 · 17  5  17 = 63, and this is the solution of Sylvester's problem.
The a.bove puzzle just begs to be genera lized. Let a
1
, a
2
, .•. , a .. ,. ( n > 2)
be given mutua.lly relatively prime natural numbers such t hat 0 < a
1
< a2 <
· · · < a,. . Let us assume that the values a; represent t he denomination of n
different coins and introduce the function
where x, <IJ'e unknown oon.oegative integers. Then the foUowiog question is
very iotriguing.
Problem 3.13. Find the laryest value :F,. of the function g(a1, a.
2
, .. . , a., )
.{o1· which the equat·ion (sometimes called Frobenius equation)
/u,s no solu·t·ion in ·te!'ms o.f nonnega·t·ive in·tege·rs xi .
FROBENIUS NUMBER 63
The solution :F,., if it ex.ists, is ca.Jied t be Pmben·iu.s number·. Problem
3.13 can be appropriately interpreted in terms of coins of deno1uinations
a
1
, , ., , a.,.,; the Frobeni us number is simply t he largest amount of money
which cannot be collected using these coins.
As shown above, Sylvester found
and, in p11rticular, for a
1
= 5 and a2 = 17, one obtains :F2 = 63. This t heory
cries out for a practical example as follows: A ga.mbler ·in a local casino
in Nevada won 3"75 dolla·rs. The cr'Oupie·r can take the money by pltttin_g
chips wo·rth 12 and 35 dollar·s into an automatic moneymachine. Can he
pay ofJ the _gambled Sylvester's results to the answer. The largest
amount of money which t he croupier cannot off is :F
2
= g( 12, 35) =
(12  1)(35  1)  1 = 373 dollars. Therefore, the required payment of $375
is feasible: 9 chips of $35 and 5 chips of 812 are needed.
Is it possible to fi nd the Frobenius number :F,. for n > 3? There a re
many papers that consider this question; see, e._g. , [4], [89], [91], [151], [158].
Explicit formulae for n > 3 have not yet been stated. However, Seimer and
Beyer [159] came to a sol ution expressed by a cont.inued fraction algorithm for
n = 3. Their resul t was simplified by Rodseth [1511 and later by Greenberg
[89]. Davison 146] derived the relatively sharp lower bound
(3.11)
A refi ned upper bound is given by Beck and Zacks [12].
However, no general formula is known for n > 4; there a.re only
t ively) fast algorithms tha.t can solve higher order cases. Nevertheless, these
a.lgori thms become more complicated a.od slower as n increases, so t ba.t. even
the most powerful computers cannot find t he result within a reasonable t ime
for large n.
You are probably hungry after intriguing stories a.bout Frobenius' coins
and Sylvester's stamps and t his makes a good excuse to visit a McDonald's
resta.urant and buy some boxes of McDonaJd's Chicken i\'lcNuggets.
16
We
wi ll find there that the boxes contain 6, 9 or 20 nugget.s. If you take many
friends with you, you will wa.nt a lot of nuggets. There is no problem at a ll
wit h the fulfilling this requirement, as according to Schur 's t heorem any suf
6cient ly la.rge number can be expressed as a linear combination of relatively
16
Chicken lV!cNuggets are a fast food product available in t he restaurant chain
McDonald's.
64 3. N UMBER. THEORY
prime numbers, a.nd 6, 9 a.od 20 a.re relatively prime. Now we come to tbe
problem of Frobenius' type.
P roblem 3.14. * Determ·ine the laryes·t (fin·i·te) n·umber o.f nuggets which
cannot be delive?>ed using the boxes o.f G, 9 and 20 nuggets.
Answers to Problems
3.2. vVe have to solve the Diophantine equa.tion S,. = T.,., that is,
n 2 _ _m...: (c.. m.,.+ ..:..._l.:.. )
 2 .
Hence we obtain the quadratic equation m
2
+ m  2n
2
= 0 whose positive
solution is
 l + Jl+8n
2
m =
2
The number ·m will be a oa.tural number if 1 +8n
2
is a perfect squa.re, say,
1 + 8n
2
= 1·
2
, or .,.
2
 8n
2
= 1, which is, surprisingly, t he same Pell equation
that a.ppears in the solution of R.amanujan's Problem 3. 11. This equation
ca.n be solved using the facts given in Appendix A, but we use the solution
of Problem 3.11 tha.t reads thus:
(3.12)
(see page 59). The superscript index k indicates that there are infinitely ma.ny
solutions of the considered Pell equa.tion. It remajns to find n%. Squlning
(3.12), we find the required formula for the kth squ.a.re t ria.ngula.r number:
=
(17 + 12.J2)k + (17 12J2) k  2
32
(k = 1, 2, . . . ).
Hence we obtah1 the infinite series: 1, 36, 1,225, 41,616, 1,413,721, . . .
3.4. Let x and y denote t he quantities of wine expressed in liters. Then
we can form t he following system of equa.tions:
0
5x + 8y = n ,
0 •)
n + 60 = z,
Z = X + y,
A NSWERS TO PROBLEMS 65
which reduces to the Diophantine equation
z
2
 5;; 60 = 3y.
Vve have to determine integer solutions z and y of t he last equation.
Since y < ;; we have
z
2
 5z  60 < 3z , that is, z
2
 8z 60 < 0,
wherefrom we find that z must sa.tisfy z < 12.717 .... The lower bound follows
from the inequa.li ty
z
2
 5z  60 > 3 · 1, tha.t is, z
2
 5z  63 > 0,
which gives;;> 10.821.. . . The only integers in the interval [10.821, 12.717]
<'He z = 11 a.nd;; = 12. For these values of z , we find
y = 8, x = 4 and y = 2, :c = 9.
Therefore, t here are two pairs of solutions to the wine problem.
3.6. The fourth amicable pai r genera.ted by Euler's rule is obta.ined for
m = 1 and n = 8. We first ca.lculate p = 257, q = 33, 023 a.nd r = 8, 520, 191
and then find the amicable pa.ir (2, 172,649,216, 2,181, 168,896) .
3. 14. To short,en our solution procedure, we use Da.vison's lower bound
(3.11) and find
F3 > /3 · 6 · 9 · 20  6  9  20 21.92 > 21.
Therefore, we will search for candida.tes only among numbers greater than
21.
A gr aphical approach is convenient for finding F.
3
. Let x be a ny positive
multiple of 20 and let y (> 21) be any positive multiple of 3 (excepting 3
itself). Obviously, y can be represented as a linear combination of 6 and 9
for y > 6. Now we form the grid of points in the xy coordina.te pla.ne with the
coordinates (x, y) . Ea.ch straight line :x; + y = k represents a tota.! number of
k nuggets; see Figure 3.6. A full line pa.sses t hrough at least one grid point,
sa.y (x•, y• ), indicating that k = x• + y• is the number of nuggets that can
be delivered. On the other hand, a dashed line does not go through any grid
point so tha.t the corresponding number k of nuggets cannot be delivered.
66 3. NUMBER THEORY
From Figure 3.6 we observe tha.t the "highest" dashed line is x + y = 43, so
that the number 43 is a. ca.ndidate for F
3
.
y
48
45
42
39
36
33
30
27
24
21
20
40
X
FIGURE 3.6. Graphical sol ution of t he Chicken McNuggets probl em
It remains to check some numbers greater than 43. Let A
1
= { 44, 45, 46, 4 7,
48, 49} be the first group of six consecutive numbers. The following linear
combinat ions of 6, 9 and 20 are possible (not necessarily uniquely):
44 = 6 + 9 + 9 + 20,
45 = 9 + 9 + 9 + 9 + 9,
46 = 6 + 20 + 20,
47=9+9+9+20,
48 = 6 + 6 + 9 + 9 + 9,
49 = 9 + 20 + 20.
Evidently, the elements of the next group A
2
= {50, 51, 52, 53, 54, 55} can be
obtained by adding 6 to the corresponding numbers from A
1
, the group A
3
ca.n be formed in the same way from A2, and so on. Therefore, the number
43 is the largest number (= Frobenius number) of nuggets thM can indeed
not be delivered.
Chapter 4 GEOMETRY
Natu·re is an ·infinite sphe1·e
who,,e cente1' is eve1'y?uhe1'e (!rid
whose ci?·cumfe·l'ence i.s nowher·e.
Blaise P ascal
ar·e just the bo'T'ing ]Jalt of mathematics.
I attemp·t ·to see things i.n ·terms of geometry.
Stephen Hawking
Elementa.ry geometry that we lea.rn in the primary aJld high school is
essentia.Jly Euclidean geoo1etry a.x.ioma.tized io Eucli d's masterpiece the Ele
ments written ca. 300 B. C. It is interesting to note that Euclid did not use t he
word "geometry" in his treatise to keep his distance from problems related to
la.nd measure. Namely, the term geometry b€WfJ.€rpia in Ancient Greek) is
combined of t he Greek words geo="eartb" and met?"ia="mea.sure'' Another
curiosity is that Euclid's Elemen·ts was the first printed mathematical book
ever, published in Venice in 1482.
Geometry, one of the oldest sciences, studies problems concerned with
size, shape, and relative position of li nes, circles, triangles and polygons
(plane geometry) as well as spheres and polyhedrons (solid geometry) and
with properties of space. Among the oldest recrea.tional problems !He those
which belong to plane and solid geometry. In this chapter we present a.
diverse set of geometrical puzzles and paradoxes posed and/or solved by
mathematicians from Archimedes' t ime to t he present
Most of t he presented problems require merely the knowledge of elemen
ta.ry geometry and arithmetic. We did not include puzzles involving advance
mat hematics or contemporary geometry t ha.t studies o1ore abstra.ct spaces
t han the famili ar Euclidean space. Geometrical faJiacies are also excluded
since their origin is unknown, a.lthough some historians of mathematics be
lieve t hat Euclid prepared a. collection of fallacies.
This chapter starts with the famous Archimedes' figure known as "shoe
maker 's knife" or aT'belos. One of the related problems is Pappus' task on
arbelos. In order to present its solution in an elegant and concise form, a geo
metric t ransformation called inversion is used. For the rea.der's convenience,
67
68 4. GEOMETRY
some ba.sic properties of the geometric inversion are given in Appendix B.
Heron's problem on minimal dista.nce demonstrates the law of refl ection, es
tablished sixteen centuries later by Fermat and SnelL Heron's principle can
be applied for solving Steiner 's problem on the minima.! sum of distances in
a triangle, given later in this chapter. This problem was solved earlier by
Ferma.t, Torricelli and Cavalieri.
You will also find several challenging problems of medieval mathemati
cians Brahmagupta, Mahavira, Tab it ibn Qorra, Abu'!\.Vafa (dissection of
squa.res and triangles), Alhazen (circular billiard problem) , Regiomontanus
(dista.nce of optimal viewpoint) and Kepler. Famous Dido's extremal prob
lem or t he classical isoperirnetric problem, described by Rome's poet Virgil ,
is regarded as a forerunner of the much later established calculus of varia
tions. We present Steiner's elegant solution of this problem. The geometric
puzzle, popularly called "kissing circles", that attracted the attention of
Descartes, Kowa., Soddy and Coxeter, is shown together with Coxeter's so
lut ion. Finally, we give P6lya's problem on the bisection of the area. of a.
given planar region.
*
* *
Archimedes (280 a.c.220 B.c.) ( p. 299)
Arbelos probl em
The following interesting elementary problem may be found in Archimedes'
Book of Lemmas (see, e.g. , [61, p. 167]) .
Problem 4. 1. The "shoernake·r's knife" or· arbelos is the 1egion bounded
by the th?'ee semicircles that touch each othe?'. The task is to find the mea
which lies inside the largest sem.ici?cle and 01Ltside the two smallest ( Figu?e
4.1, shaded po1·tion).
A
, 
,
/
/
I
I
' I
\
\
'
'
c
/
/
,;
FIGURE 4.1. Arbelos problem
B
ARBELOS PROBLEM 69
In the abovementioned book, Archimedes demonstrated in Proposition 4
that if CD is perpendicula.r to AB, t hen the area. of the circle with diameter
CD is equal to the area of the arbelos.
This assertion is easy to prove. The triangle AB D is rightangled since t he
angle a.t D is 90° (as a peripheral angle which corresponds to the diameter
AB) . Then
(IACI + ICBI)
2
= IADI
2
+ IDBI
2
= IACI
2
+ IDCI
2
+ ICBI
2
+ IDCI
2
,
wherefrom IDCI
2
= IACI · ICBI, which is the wellknown result related to
the geomet rical mean. Here I · I denotes the length of a segment .
Let and P(Q) be the areas of t he arbelos a nd the circle with the
diameter CD. According to the above relat ion we obtain
=
8 8 8
= ((IACI + ICBI)
2
I ACI
2
ICBI
2
)
= 1i IACI ' ICBI = 1i ICDI
2
= P(Q ).
4 4
Many amazing a nd beautiful geometric properties of the aJ' belos ( 6p{31JAO(
in Greek) a.nd its va.ria nts have fascinated mat hematicians over t he cent uries.
There is a vast literature concerning this subject; see, e.g. , [78], [173], as
well as t he papers by Bankoff [8], [9], Boas [21] and Dodge et al. [53], and
references cited t here. In t his chapter we give some a.rbeloslike problems.
T he next problem introduces circles called Archirnedean circl es or Ar'Citi
medean twins.
Problem 4.2. * Let u.9 inscribe the ci1·cles I<
1
and K
2
in the shaded l'e
gions ACD and CDB, 1·espectively, whe1•e CD is pe1'/)endiculm· to AB; see
Pigtwe 4.2. Pmve that the ci1·cles I<
1
and I<
2
have the same mdii.
A
FIGURE 4. 2. Archimeclean twins
70 4. GEOMETRY
There a.re another amazing properties of Archimedean twins. We select
the following one:
Problem 4.3. * Let/( be the smallest circumcircle of A1'Chimedean twins
[(
1
and K2 , as shown in 4.3. Prove that the area of [( i$ equal to the
of the a1·belos ( o1·, accor·ding to Problem 4.1, the diameter of J( is equal
to ICDI).
A c B
F JGUilE 4.3. A variant of arbelos problem
We lea.ve to the rea.der the pleasa.nt work of finding the proof.
The well known book Synagoge (Collection) , written by Pappus of Alexan
dria who lived during the reign of Dioclet ian (284 305) , contains another task
on arbelos.
Problem 4.4. Let the circles k1, k2 , . . . , k.,, .. . be insc1'ibed S"!lcces
sively as in Figure 4.4 so that they me all tangent to the semici1·cles ove1·
AB and AC, and successively to each other. Find the perpendicula1· distance
from the cente1· of the nth ci1·cle k,. to the base line AC.
?
A B c
FIGURE 4.4. Pappus' arbeloslike problem
PAPPUS' ARBELOSLIKE PROBLEM 71
Pa.ppus offered a. proof t bat is too long t.o be presented bere. Leon Ba.nkoff,
a mathema.ticiaJ1 wbo wrote many 01arvelous articles about the a rbelos and
its variants, gave a discussion of how Pappus proved t h:is results in his paper ,
How did Pappus do it? [10]. The arbelos problem was considered in short by
R. A. Johnson.
1
Thanks to a new geometric transformation called inve1·sion,
introduced by J . Steiner in 1824
2
and [,. J . Magnus in 1831, we a.re able
to demonstrate a very short and concise proof. The review of the basic
properties of t he geometric inversion, necessary for our proof, is given in
Appendix B. For more details see, e.g. , Chapter 6 of H. S. M. Coxeter's
book IntnJduction to Geornem··y [43].
To solve t he a rbelos problem above, we use the properties (1)(6) of t he
inversion given in Appendix B. Since the ciTcles p and q pass through the
same point A (see Figure 4.5), tbis point will be chosen for t he center of
inversion. We take the radius p of t he circle of inversion k in such a way
that t he nth circle k.,. stays fixed. To do this, it is sufficient to choose
the ci!'cle of inversion k to be orthogona.l to the circle k, (according to the
property (2)) .
k
p' q'
A
C' B
c
FIGURE 4.5. Sol ut ion of arbelos pl·oblem by inversion
For clarity, t he idea of the proof will be demonstrated through a special
example where n = 3 (Figure 4.5). The presented proof is, in essence, the
same for :ubitrary n.
1
Modern Geometry, New York, Houghton 'Mifflin, 1929, p. 117.
2
Steiner never published his idea on inversion, and its transformation was discovered
independently by other cont ributors, among them the physicist \:Villiam T homson (Lord
Kelvi n) and the geometer Luigi Cremona (who gave a more general trt>nsfo1·ma.tion) .
72 4. GEOMET RY
Since t be circles passing through t be center of inversion invert into str aight
Lines (property (4)), circles p a nd q wiU be transformed into stra.igbt lines
that pass through the intersecting points of these cir cles with the cir cle of
inversion k. Besides, both circles p and q touch the circle k3 and they are
orthogonal to t he stra.ight line AB. With regard to the property (6) it follows
t hat t hese ci rcles invert into t he stra.ight Jjnes tha.t touch simultaneously t be
fixed circle k
3
• In addition, these lines are orthogona.l to t he straight line
AB (that inverts into itself because of the property (1)). Hence we conclude
that the ci rcles p and q are transformed into the straight lines p' and q' as
in Figure 4.5. \\ie note that the points B and C are transformed into the
points B' a.nd C'.
Furtbermore, the circles k
2
, k
1
iiJld k
0
touch t be circles p and q so that,
according to the property ( 6) , they invert into the circles k2, a.nd k
0
touching the lines p' and q'. In this way we find the image of the circle
k
2
, th.a.t must touch k; a.nd has the Jines 1/ a.nd. q' as ta.ngents. Simila.rly,
t he circle touches k; a.od k
0
touches Their joint ta.ngents p' and q'
are parallel so that r
3
= 1'z = = 1·
0
, where Tm. and 1·;,. denote the radii of
the circle k,. and its inverse cir cle k:,.. . (In general, 1·,. = 1";,_
1
= ... = 1'2 =
= 1·
0
). Therefore, the distance of the center 0 3 of the ci rcle k3 from the
straight line AC is
Following the same technique, for arbi trary nth circle k ,.. we can apply
the inversion that leaves t his circle fixed and inverts the circles ko, kJ, k2, ... ,
k, _
1
into circles of the same radius, arranged vertically under the ntb circle
k.,. Hence, the desired distM•ce is
d,, = r,. + 21";, _
1
+ · · · + + = 2m·,. .
It is interesting to note tha.t a similar problem of ta.ngent circles appeared
in a manuscript by Iwa.saki Toshibisa (ca .. 1775); see (167, VoL II, p. 537].
ArbelosJike problems ba.ve a.ttra.cted the at.tention of ma.tbema.ticia.ns
from the time of early Greeks to the present; see Boas' paper [211. George
P6lya cliscussecl the following va.riant in [142, pp. 42 <141 .
Problem 4. 5. * T'wo disjoint srnaller ci1'Cles lie inside a thit·d, larger ci?'
cle. Each of the th1·ee circles ·is ·tangent ·to the othe!' two and ·thei1' cen·te!'S
M'e along the same straight line. A chon:i of the larye1· ci1·cle is drawn to
tangent both of the .sma.ller circles. lf the length of this chor·d is t, find the
Meo. inside the lMge1· ci1'Cle but o·u.tside the two srnalle1· ones.
H ERON'S PROBLEM OF MINIMAL DISTANCE 73
At the end of this story of a.rbelos, we give a. simple but challenging
problem which resembles the arbelos, posed a.nd solved by Li C. Tien in The
Mathematical Intelligencer 11751.
Problem 4.6. * The centers of two small sernici1·cles K3 and K
4
of equal
size lie on the diarnete1· of a lmge1· semicircle [(. Two other ci1·cles K
1
and
K
2
with diameters d
1
and d
2
touch each other, both tangent to the big
semicircle J( and to one of the smaller circles K
3
and K
4
(see Figure 4.6) .
Prove that d
1
+ d2 = const.
F IGURE 4.6. d
1
+ d2 = constant
Heron of Alexandria (ca. 65 A.D.ca. 125 A. D.) p. 299)
Minimal distance
Using a simple geometrical argument , the outstanding mathema.tician
Heron of Alexandria demonst rated the law of reAection (known earlier to
Eucl id and Aristotle) in the wor k Catoptrica (ReAection). Thjs book was
written most likely in t he fi rst century A.D. (no sample of t his book was
kept). Heron showed that the quality of the angles of incidence and reflec
t ion is a consequence of the Aristotelia.n principle that "nature does nothing
in vain,"
3
i.e., that the path of the Light ray from its source via the mirror
to t he eye must be the shortest possible. Heron considered the following
problem which can be found today in almost any geometry textbook.
Problem 4.7. A and B are two given points on the same side o.f a
straight line k . Find the point C on k such that the sum of the distances
from A to C and from C to B is minimal.
3
1. Thorna.s, Selectio11s Illustrating the Histary of Greek Mathematics, Harvard Uni
versity Press, Cambridge 1941, p. 497.
74 4. GEOMETRY
A geometrical solution of Heron's problem is as follows (see Figure 4.7).
B
k
'
'
'
'
'
'
'
'
'
'
'
'
'
'
'
'
'
A







F IGU ilE '1. 7. Hewn' s problem
Let A' be the point symmetric to A with respect to the straight line k,
and let C be an a rbitrary point on the line k. J oin B to A' and denote wi th
Co the intersecting point of the straight line BA' and the straight line k.
Since the triangle 6CAA' is isosceles, we have
IBCI + ICAI = IBCI + IC.4'1
Then
IBCI + ICAI = IBCI + ICA' I > IBA'I = IBCol + ICoAI ,
where t he equality holds if C coincides with Co.
The a bove relation expresses t he sol ution of Heron's problem. The re
qu.irecl point that provides the minimal sum of dist ances is the intersection
of t he given straight line k and the straight line drawn through the given
point B and the point A' symmetrical to tbe second point A with respect to
t he straight line k .
In his book On mi1'ro1'S Heron investiga.ted the laws of reflection of light
and applied Ius conclusions to problems related to the properties of mirrors.
Consider a physical situation t hat illustrates Heron's problem. Let A. be a
light source, B a. light recei ver (for insta.nce, t he observer's eye), and the line
k an intersection of a. plane containing the points A and B and perpendicular
plane of a mirror that serves as a reflecting surface. A light ray from A. re
fl ects and t ravels to t he receiver B, but also seems to originate from t he
point A', symmetric to the point A. wi th respect to t he line k (the mirror
image).
Heron confirmed in fact that a light ray reflects from a mirror in such a
way th<\t its path between <\ light source and a. light receiver is the shortest
H ERON'S PROBLEM OF MINIMAL DISTANCE 75
dista.nce possible. The required point Co in Heron's probleo1 has t he property
t hat angle 0
1
is equal to angle 0
2
. Moreover, angle o: is equal to angle /3, or ,
as is usually said, the angle of ·incidence is equal to the angle of 1ejlection.
This property is, in fact, Fer·mat's p!'inciple of minimal time or the law of
1·efmction of light (established earlier experimentally by Dutch physicist and
mathematician wmebrord Snell ( 1580 1626)). Historians of science consider
that Heron's problem and its solution constit uted t he fi rst application of
the ext·reme pl'inciple in describing natru·a.l phenomena (see, for instance,
Hi ldebrandt's book [102]) .
Note that some modern textbooks cast Heron's problem as a practical
problem. For example, the st ra.ight line k is turned into a rectilinea.r section
of a railroad tra.ck, poi nts A and B become towns, poi nt C is ca.llecl a railroad
platform and the question is: Whe1e sho1lld one build the platfonn so that
the combined length of the 1ectilinem· ·roads linkin_g the towns ·is minimal?
In connection with Heron's problem, we present another geodesic problem
posed by Henry E. Dudeney in his book Moden'b .P'uzzles (1926).
Problem 4.8 . .4 fly sits on the 01ttside su1jace of a cylind1'ical drinking
glass. It must cr·a:wl to a d1'0p of honey situated inside the glass. Find the
sho1·test path possibie (disregarding the thickness of t he glass).
Denote t he position of the fly !IJ1d the drop of honey wi th points A and 8.
If these points lie Oil t he same generatrix, the solution is obvious. Assume
that this is not the case. Vve can "umoll" the smface of the glass to get a
recta.ngle (see Figure 4.8(a)).
B
A
a.)
FIGURE 4.8. A fl y and a dl'OP of honey
c
'
A
'
.
B
.... ... ....
b)
The problem now reduces to t he determination of the shortest path ACE,
where C is the point on the edge of the glass. Actually, this is Heron's
76 4. GEOMETRY
problem and the solution uses a point B' symmetric to B with respect to
the edge of the glass. The angle of incidence a is equal to the angle of
reflection /3 ( = /3') . The fly will crawl over the surface of the glass along two
arcs of a cylindrical spiraJ (Figure 4.8(b)), crossing t he edge of the glass at
point C.
Heron's reflection principle can be successfully applied to find t he shortest
tour in the following scenario.
Problem 4.9. * A young adventu1·e1·, fed up with the big city 1'1tsh and TV
soap operas, in his seMY.:h for a peaceful and quite place went to spend Ms
vacation in Africa. After a shott time wandedng a1vrmd, he found a beav.tiful
place just in the spot where two 1'ive1'S met each other forming a peninsula
in the shape of an acute angle and built a little cottage there. Eve?'!} day the
adventv:te1· leaves his humble cottage C, goes to the 1"ive1· ban/;; A to watch a
waterpolo game &etween local t1"ibes, then goes to the othe1· bank B to pic/;;
up some lotus jiowe!'S and spend a sho1·t time petting his favol"ite hippo. and
then he 1·etums to his cottage C (see Figu1e 4.9).
Which tou1· shottld the adventtl!'€1' take so that the total tmversed distance
C ABC wotlld be the shO?ie.st po.ssi&le, asst1.ming that each of his rvutes is
·rectilinea·r?
FLGURE 4.9. Adventurer on the peninsula
THE SAME DISTANCE OF TRAVERSED PATHS 77
Brahmagupta (ca. 598ca .. 670) (+ p. 299)
The most influential Indian mathematician and astronomer of the seventh
century was Brahma.gupta, who lived and worked in t he town Ujjain (or
Ujjai)'i nT), the great astronomical center of Hindu science. Among many
important results from astronomy, arithmetic and algebra, let us note his
formula for the area P of a cyclic quadrilateral having sides a, b, c, d and
semiperimeter s,
.P = J(s  a)(s b)(s  c)(s  d),
which is a remarka.ble extension of Heron's wellknown formula for the area
of a t rhmgle.
The first recorded research of zero in history is attributed to Brahmagupta.
(628 A.D.) who defined zen! as the result of subtracting a number from
itsel f (see Bentley [161) . Another of his great cont ributions was the study of
indeterminate equations of t he form x
2
 Ay
2
= 1, known as Pell's equations
(see Appendix A) . His defini tion of a mathematician is worth citing: "A
mathernat·ici.an is a person who can solve the equation x
2
 92y
2
= 1 with.·in
a year. " See Beiler [14, Ch. XXII]. Brahma.gupta is credited wit h being
the first person to solve a linear Diophantine equation in a. general form
ax + by = c, where 11, b, c a re integers.
Now let us ta.ke a close look at recreational ma.themati cs of Brahma.gupta ..
The following two fanciful problems of Brahmagupta can be found in Smith's
book Histo1y of Mathematics [167, Vol. I, p. 159].
The same distance of traversed paths
Problem 4.10. On a cl·iff of height h, lived t1110 ascetics. One day one
of them descended the cliff and walked to the 'tJi.llage ·i.rm which wa.s distance
d f1·om the base of the cliff. The othe1·, being a wiza1'd, ji1·st fl ew up height x
and then flew in a straight line to the village inn. If they both tmve1·sed the
same distance, what is x?
Solution. Let h = IABI, where h is t he height of '" cl iff (Figure 4.10,
right). From this figure, one can easily derive the equation
After squa.ring and arranging the equation, one obta,ins 2hd  2dx  2h:7; =
2hx, wherefrom
hd
X = :: 2 h:+: d .
78 4. GEOMETRY
FIGURE: 4.10. Two ascetics' paths
Broken bamboo
"
l': x·
' .
' .
' .
' .
/, , B
//
'
'
'
'
'
I
'
'
'
'
'
'
'
I
h
,/ ,,
.....__.;;;.._____. A
Problem 4. 11. * A barnboo 18 C11.bits high by the wind. Its
top tottched the g1·ound 6 cubits j!'om the mot. DetemLine the lengths of the
bamboo segments.
4
Mahiivira (ca. 800ca. 870) H p. 300)
Height of a suspended string
This old problem can be found in ID<lJlY books, even recent ones discussing
recreational mathematics and teaching.
Problem 4.12. Two ver·tical pilla1·s ar·e of a known height, say a and b.
Two st1·ings am tied, each of them fmm the top of one pillar to the bottom
o.f the othe1·, as shown in Figure 4 .11. Fmm the point wher·e the two strings
meet, anoth.ey· string is .suspended vertically till it touches the ground. The
4
There is an older Chinese version of t his problem, given about 176 B.C. by Oh' ang
Ts'ang in his K
1
iU·ch'ang Suan·shu (Arithmetic in Nine Sections) i see, also, Y.
The Development of Matilenwtics in China and Japan (1913), p. 23.
HEIGHT OF A SUSPENDED STRJNG 79
distance bet1veen the pilta.r·s i.s not kno·wn. It ·is r'equ.i1'€d to det erm.ine the
height of thi.s snspendef.l st'l'ing.
a
b
X
p
q
F IGURE 4.11. The height of suspeoded string
Solution. Let p Md q be t he lengths of distances obtained after div;ding
t he horizOntal distance between piUars by t he suspended string. Let x be
the unknown height of suspended string. From Figure 4.11 we have
p p + q q p + q
 =  =
X b X a
Hence
1 1 + qj p 1 1 +pfq
;!;
b X a
or
b q (t p
x l= P,
  1 =  .
X q
After multiplying these two relations, we obtain
which reduces to
Hence we find the sought height
x =
ab
a+b
(4.1)
As ca.n be seen from the solution, the height does not depend on the
dista.nce between the pilla.rs. Wi th this wtlue of 1: i t is easy to find from
80 4. GEOMETRY
(4.1) t ll a.t qfp = b/a, which roeans tba.t the horizontal distance between t be
pillars is div;ded by tbe point at whicb t be suspended st ring touches the
ground in the ratio of their heights.
Tabit i bn Qorra (826 901) (t p. 300)
The diameter of the material sphere
The A ra.bia.n m.a.them.aticia.us were interested io constructioos on a spheri
cal stuface. The following problem is sometimes ascribed to Ta.bit ibn Qona,
the same fellow who gave a formula. for generating amica.ble numbers (see
Chapter 2).
Proble m 4. 13. Using Buclidectn tools (st1·a·ightedge a.nd compass) find
the of a given mate·l'ial sphere.
/
/
/
u
/
B
/
/ 4+
 
I 
;.; s ',
,..,. r I '
v +
\ I
I
\ :d
'
'
'
'
'
'
'
'
' I
' I
'
T
FIGURE 4.12. Fiudi.ng the diameter of a mater ial sphere
Solution. Usi ng tbe compass fixed at ao a rbi trary point U on the sphere,
draw a circle r on t he sphere. Mark any three points .4, B, C on t he
circumference of r and const ruct a. triangle on a plane (using a separate
sheet) congruent to the tria.ngle !:::.ABC. Obviously, this constr uction can
be ea.sily performed tra.nslati ng the AB, BC, CA measured by
D ISSECTION OF THREE SQUARES 81
t he compass. Tben construct the circle describing t il e tria.ngle /:::,.ABC. This
circle has tbe same radius, say ·r, as the circle r drawn on the sphere.
Now we const ruct a. right triangle !:::,.UVT which has the radius r as an alti
tude and the diameter d = I UTI as hypotenuse (see Figure 4.12) . The length
q of the leg U \f of this right triangle can be measured by the com pass it is
the same opening used in drawing the circle r at the first step.
Knowing q and ·r, from the right triangle /:::,.UVT we find by proportion
1· Jct2  q
2
 = ....:..._____,___::..._
q d
therefore the diameter of the rna.terial sphere is
Mohammad Abu'l Wafa alBuzjani (940 998)
(tp. 300)
Abu'l\.Vafa., probably t he most prominent Islamic mathematicirul of the
tenth century, together with Omar Khayyam (1048 1131) and Nasir al
Oin (12021274), all of them being born in the Persian mountain region
Khorasii.n, made the famous "Khorasan trio.'' Apa.rt from significant contri
butions on a number of mathematical topics, Abu 'l\.Vafa is also remembered
today as a creator of n1any amusing dissection puzzles.
Dissection of three squares
\.Vafa's weU.knowu dissection of squares reads:
Proble m 4 . 14. Di.9.sect tluee identical squa1es ·into nine parl.9 a.nd com
pose a la:rye1· squ.a:re from these parts.
Abu'lvVafa's sol u.tiou is given in Figure 4.13. Two squares a.re cut along
their diagonals and then the four resulting t ria.ngles are arranged around
one uncut square. The dashed lines show how to perform four additional
cuttiugs and insert them to make a large square (see the marked ma.ps of
congruent pa.rts).
82 4. GEOMETRY
FrGURE 4.13. Solution to Abu' lWafa d issection problem
However, the g1·ea.test Et1glisb creator of mathematical puzzles and games
Henry E. Dudeney sol ved Abu' !Wafa's problen1 using only sL'< cuts. His
amazing solut ion is shown in Figure 4.14. Point B is t he intersection of t he
straight line through C and G and the arc with t he center at A and the radius
[AD[. T he points E and F are determined so that IBCI = [DEl = [FG[.
The desi red square can be composed from the parts 1, 2, 3, 4, 5 a.nd 6; parts
1 and 4 (joined) slide right down along HE, below parts 5 and 6, and parts
2 and 3 (joined) fill the gap.
B
1
4
D E A c
FlGURE 4.14. Dudeney's solut ion to Abu'lWafa dissection problem
As mentioned in [186], Wa.fa's idea can be a.lso applied if among three
squares two larger squares are identica,] while the third one is smaller in size.
As in the solution presented in Figure 4.13, t he !a.rger squares are bisected
and their pieces are pla.ced symmetrically around the smaller square. The
four small pieces, lying outside the square drawn by t he dotted lines, fit t he
spaces inside its bounda.ry exactly.
DISSECTION OF FOUR TRIANGLES/BILLIARD PROBLEM 83
Dissection of four triangles
Problem 4.15. * H01v wn three identical triangles and one smaller·
gte, s·imitar· to them in shape, be dissected into .seven pieces 1uhich fit together·
to make one ( lmger·) tl'iangle?
Ibn alHaytham (A lhazen) (9651039) (+ p. 300)
Although born in the southern Iraqi city of Basra, the Islamic physicist
and ma.thema.ticia.n Ibn alHaytham, better known in Europe as Alhazen,
spent the greater part of his life in Egypt. He traveled to Cairo a.t the
invita.tion of t he cali ph alHa.kim to dernonstra.te his ideas on a. floodcontrol
project for the Nile. In the version presented by H. Eves [61, p. 194), Alhazen
received the invitation owing to his boast that he could construct a ma.chine
that would successfully regulate the annual flooding of t he Nile. Although
Alha.zen arrived in Cairo, he soon experienced misgivings concerning the
success of his pla.n in practice. Fearing alHakirn's anger, he feigned madness
knowing t hat the insane received special t reat ment and protection. Alha.zen
simulated insanity so perfectly that he managed to keep 8Jl)' t rouble at bay
until Hakim's dea.th in 1021. Alha.zen did not, however, spend his time in
Egypt in vain; while there he wrote his great scientific work, Optics, and
attained fame.
A !hazen's fame as a mathematician also derives from his investigat ion of
problems named for him concerning the points obtained in certain reflecting
processes associa.ted with a variety of reflecting surfaces ("Alha.zen's prob
lems") . Eminent mathema.ticians who studied these problems after Alhazen,
incl uded Huygens, Barrow, de L'Hospital, Riccati, and Quetelet. Solutions
to these problems can be found in the works of E. Callandreau [33, pp.
305308], H. Dorrie [54, pp. 197 200] and J. S. Ma.dachy [127, pp. 231 241] .
Here we present one of Alhazeo's problems, as posed and solved by him.
Billiard problem
P roble m 4.16. How doe.s one st!'ike a ball ly'ing on a. ci·tcular billiard
table in such a way that ajte1· stl'iking the C118hion tw·ice, the ball 1etur•ns to
its original posit·ion?
Solution. Let us represent t he billiard table as a circle in the plane with
the radius rand the center C (Figure 4. 15(b)). We denote the initial position
of the ba.ll by P, and assume tba.t the dist<tnce ICPI = c is known. Let the
ball first strike the edge of the circle a.t point A, make a ricochet, cross the
84 4. GEOMETRY
extension of .PC ( diaJueter of t be circle) at a rigbt <IJ,gle to tbe line .PC a.t
S, then strike the circle at 8 and return to .P. K oowing tba.t tbe angle of
incidence a:nd the a.ngle of reflection must be equa.l, we haNe
y
X
c
0:
2
L.PAC = LCAS = L.PBC = LCBS.
A..
z
p
s
y
c
B
a) b)
FIGURE 4.15. BilUard problem
Let us recall the angle bisector theorem as we continue solving the prob
lem. If s the bisector of the angle LACB = o: (see Figure 4.15(a)), then
applying the sine t heorem we obtain
s c s
sin ;3 sin(o:/2)
a.nd
sin 'Y  sin( o:/2) ·
Hence
x sin'"(
c= sin.8 "
From the tria.ngle !::.ABC (Figure 4.15(<\)) we have
y z
si n 1  sin ,8'
that is,
y
::; = sin.8 ·
Therefore, it follows that
y :c
 = 
z c
Let us return to Figure 4.15(b). Setting
lCSl = x, lSAI = y, IAPI = z
(4.2)
BILLIARD PROBLEM 85
a.nd a.pplying t he f!J\gle bisector theorem, we obtajn just (4.2). In rega.rd to
t he Pythagorean theorem,
(4.3)
Eliminating y t'l.nd z from (4.2) and (4.3) we obtain the quadratic equation
for the unh"llown x . In the sequel we will show how to construct x (= [CSI)
knowing t he values of r and c.
c
1'
b
1'
b A
a D 2c B
a) b)
Q ..........  ......... R
.. .....
' '
' '
' '
' '
' '
' '
' '
' .
' .
' .
. '
' '
' '
• •
. '
\ '
'
'
'
•
'
c)
L M
FIGURE 4.16. Geometric solution of the quad1·atic equat ion
Vve rewri te the qua.dra tic equation in the form
1'2
where a = 
2c'
1'
b = 17i '
v2
( 4.4)
From Figure 4.16(a.) we see how to find b; it is the side of a square 'A'ith the
diagonal 1·. With the sides 2c w•d 1· we construct the right t riaJ•gle b:,DBC
and draw a line through t he vertex C perpendicula.r to CB to find the
intersecting point A \\'ith the line through DB. Then the line segment AD
gives a; indeed, we haver = Ja · 2c (Figure 4.16(b)).
Now we will a.pply Descartes' method to construct the solution of t he
quadratic equation x
2
=  ax+ b
2
(see, e.g., Katz [113, pp. 437438]). First,
we construct a right triangle b:,N Llv/ with ILMI = band ILNI = !a (Figure
4.16(c)) . Then we constr uct<\ circle centered at N with radius INL[. Let P
86 4 . G EOMETRY
be the intersection of t his circle wi t h the hypotenuse IN Ll, t hen IN/ PI is t he
required va lue x . Indeed,
IMPI = IMNI  IPNI = .JILMF + ILNI
2
 ILNI =
which is exactly the value x found from (4.4).
l
2
• a
a + b·  
4 2 '
Johann Muller (Regiomontanus) (14361476)
(7 p. 301)
Distance of the optimal viewpoint
Often when we view a n object such as a paint ing or'' stat ue in a gallery,
or a monument (as in Figure 4.17), we notice, whether consciously or uncon
sciously, that the obj ect appears at its best when viewed from a part icular
distance . .Johann Mi.iller, the fifteenthcent ury German mathematicia n and
ast ronomer known as Regiomontanus, found this phenomenon to be of grea t
signifi cance. In 1471, he presented t he problem to Christia.n Roder, a. profes
sor from the city of Erfurt. Many historians of mathemat ics regard Muller's
work in the field of opt imization as being the first such work done since
antiquity.
.. ..
FIGURE 4.17. The best view of t he Statue of Liberty
DISTANCE OF THE OPTIMAL VIEWPOINT 87
V•le present Regiomoota.nus' ma:xio1UJ'O probleo1 io an abstract geo1uetric
foro1 with these restri ctions: t be for mulation of t be problem is restricted to
a:n imaginary pict ure plane, and ou:r object, in this case a. rod, is understood
as a vertical line segment.
Problem 4.17. A 1od of length dis IYlLSpended vertically at height h /Torn
an observe1·'s eye level, Hnd the ho?·izontiLl di$t ance fmm the ·rod hanging
verticall:y to the eye in such a way to see the rorl the best.
Solution. We present a solution constructed entirely in the picture plane.
The solution is similar to that published in Zeitsch1ift jii1· nnd
Physik by Ad. Lorsch.
V•le assume that the optimal viewing distance for the obj ect corresponds
to the ma.ximum viewing aogle L BC A from t be observer's eye (presented
by the point C) towards the rod AB (with IABI = d) ; see Figure •US. The
straight line p, perpendicular to the vertical line (of hanging) 0 AB, denotes
the viewing leveL
B jj··... .
d .......... s
...
A · ·
h
0 C*
p
c
F IGURE 4.18. Dist a nce of the best view
d
A
h
:h
.
.
.
.
.
A'
F IGURE: 4.19.
Let us draw a family of circles, al l of them pll$Sing through the points
A and B. We observe the rod AB from a point in the plane that results
io a viewing angle which is t he same for all points that lie on a fixed circle
belonging to this family (since the peripheral angles corresponding to a fixed
chord of a given circle are the same). Evidently, the value of these angles will
be larger if the radius of the circle is smt'i.ller. However , we Me interested
only in t hose points tha.t lie on t he straight line p (at the observer's eye
88 4 . GEOMETRY
level). T herefore, the solution .i s tha.t point wbich lies both oo t he straight
line p a.nd oo a. circle t hrough .4 a.nd B wi t h the radius as small as possible.
This point is the point c· of t he tangency of the circle through A a.nd B
and the straight line p. Therefore, the point of tangency c· is the desired
point, and x = I OC* I is the distance aJfordiJlg the most desirable view.
How does one find the distaJace x = IOC' I? Denoting h = IOAI and
recalling that IABI = d, we find
X= IOC*I = IDSI = J I.4SI
2
 IDAI
2
= J ISC•I
2
IDAI
2
= , ! (h. + _ = J(h+d)h.
Therefore, t he optimal viewing distance is the geometric mean of t he dis
tances of the upper and lower ends of the rod from the viewi ng level. The
crit ical point c· can be fo und by the geometrical construction shown on
Figure 4.19, where [A'OI = [OA[ = h and A' C* B t he semici rcle wi t h the
diameter lA' Bl = 2h + d.
More details about "ext reme viewpoi nt problem" may be found in [7] ,
[541, [121], 1134], [1411 and [1901 . Lester G. Lange considered in [1211 a more
general problem in which the picture is tilted out from t he wall. David Wells
[186] considered the following variant of the "bestview problem" of practical
interest.
Pigure 4.20 shows pa.rt of a. rugby union footba.ll fi eld with the goal line
passing t hrough the goal posts marked by little black circles. According to
the rules of the game, a.n attempt at a conversion must be taken on a line
extending ba.ckwaJ·ds from t he point of touchdown, perpendicular to t he goa.l
Hne. Fi nd t he point Ton this line from which the conversion should be taken
so that the angle subtended by the goal posts is the largest . This problem
applies only when the at tempt is not scored between t he posts.
goal line
T
FIGURE 4 .20. Rugby problem
SAT URN PROBLEM 89
Obviously, tbe solution to the rugby conversion problem bears a grea.t
simila.rity to t he solution of Regiomontanus' "bestview problem" . Since the
peripheral angles corresponding to a fixed chord of a given circle are the
same, the same angle will be subtended by the goal posts at any point on
t his circle; the choice of any point outside it will subtend a smaller angle
and any point inside it, a. la.rger angle. Choosing the circle to toucb the line
exactly at point T implies that all other points of the line are outs·ide the
circle. Therefore, the conversion should be taken from the touching point T,
as shown in Figure 4.20.
The Saturn p1·oblem is an interesting spacevariant of Regiomontanus'
problem.
Problem 4.18. At wha·t latitude does Sa·tttrn's rmg system appea1·
widest?
\Ve recall that latitude is the distance on the sphere surface toward or
away from the equa.tor expressed as an arc of meridian. Hermann MaJ·tus
was proba.bly the first to pose t his problem, a.nd it ca.n be found in Heinricb
Dorie's book, 100 Great Pmblerns of Elernenta?IJ Mathematics [54, pp. 370
371] . vVe give here the outline of t he solution to the Saturn problem; for
more details, see Dorrie's book [54].
FIGURE 4.21. The widest view of Saturn's ring
90 4. GEOMETRY
To solve this problem. we assurne that Saturn is a sphere witll tbe radius
of 56,900 km, aJld that Saturn's ring system lies in its equatoria,J plane, with
a:n inner radius of 88,500 km and a:n outer radius of 138,800 km.
Figures 4.21 and 4.22 a,id liS in viSllalizing this situa.tion. The a.rc m
represents a meridian, ]'.{ is the midpoint of Saturn, IABI the width of the
ring, IM. AI = a being the outer radius, and IM Bl = b the inner radius of the
ring. Now, let IM Cl = 7' be t he equatoria l radius of Saturn on !\II A and let
0 be the point si tuated at the la.titude 'P = LCMO at which t he ring width
appeaJ"s largest, so that LAO B = 1/J is maximal.
Using Figure 4.22 we will find the solution. First we draw the ci rcle !1
that passes through points A and B and which is tangent to the meridian
m. Then the point of tangency 0 is the point from which the ring appeaJ"s
to be greatest.
m
M
z
•
\
'
' •
'
' •
'
' •
'
\
'
F
\
' •
'
' •,
' •
'
' •
FIGURE: 4.22. The widest view of Saturn's ri.ng
The latitude 'P of 0 and the maximum 'if; , we will calcula.te from the right
triangles £::,.]'.1ZF and l::;.AZF, where Z is the center of the circle .!1 a.nd F
the middle of .4B. Denoting the radius of !1 by p, we obtain therefrom
COS<p =
sin 'tP =
IMFI a+b
IMZI  2(7·+p)'
IAFI
IAZI
ab
2p
It can be shown that the value of p is given by
p =
J'VliNIJ\·IAL SUM OF DISTANCES IN A TRIANGLE
(see [54, p. 371]), so that. we finally obtain
(a+ b)T
cos <p = ..:...,_...:..,...
ab + r
2
'
(a b)1·
sin 'if; = ..:...,_7.
ab  r·
2
·
Hence, for the specific values of a, b, and r, it follows
<p 33° 33' 54" > 'if; 18° 26' 40".
91
According to Smart [165], Saturn is considerably deformed from the ideal
sphere on which the above derivation is based, having an equatorial radius
of 59,650 krn a.nd a polar radius of 53,850 krn. The solution in t his rea.l case
was given by .John Trainin (Granada, Spain) in The Mathematical Gazette.
Assuming that t he crosssection of Saturn t hrough its poles is an ellipse with
semimajor and minor axes p and q, respectively, the relevant geocentric
latitude is found from t he cubic equation
where tan <p = (q/p) tan t . This yields 29° 39' 10" as an approximate val ue for
<p. Note how this solution reverts to that mentioned earlier when p = q = r·.
Jacob Steiner (1796 1867) (t p. 306)
Pierre de Fer mat (1601 1665) (t p. 303)
Evangelista Torricelli (1608 1647) ( T p. 303)
Bonaventura Cavalieri (1598 1647) (t p. 302)
Evangelista. Tonicelli and Bonaventura Cavalieri were very influential
seventeenthcentury Italian scientists. Toricelli won fame for his discover
ies in physics, while Ca;valieri was successful in optics and astronomy. Both
colla.borated with Galileo; both were forerunners of infinitesimal methods,
and finally, they both studied the challengi ng problem that follows.
The minimal sum of distances in a triangle
The fonuula.tion of this wellknown problem is very simple:
P r oblem 4.19. In the plane of <! triangle, find the po·int 'Whose S'<Lm of
distances fi'Orn the vertices of the tl'ia.ngle is minimal .
92 4. GEOMETRY
The point with this property is now known as the i.sogonic centei'Of the tr i.
a.ngle. This problen1 frequently appears in n:JaJ1Y mathematics books, recre
ationa.l and courserela,ted, that include challenging optimization tasks such
as:
Three villages A, B, and C ag1·ee to build a joint p1o_ject, fo1· example, a
depm·tment a wa1·ehouse, an oil pipeline, o1· a ca.sino. Find the loca.
tion D of this joint vent1we S'!!Ch that the inhabitants of these th1·ee villages
tnwe·1·se a m:in·i·mal route. In other· 1uor·ds, determ·i.ne t he m·inimal combined
lengths of the rectilineM' roads linking the common po·int D to A, B, and C.
Obviously, problems of this type are not restricted to ma.thema.tical recre
ation only, but more important ly, they provide models of rea.llHe
situations, and their optimal solutions have a direct economic impact.
The problem posed at the beginning of this section has a long history.
According to some historians of mathematics, the grea.t French mathemati
cian Pierre de Fermat was interested i.n it, and, ro.oreover , be chal lenged
t he eminent Ita.Uan physicist and rnathematician Evangelista TorricelU witb
this very problem. Torricelli's student Vincenzo Vivian:i (1622 1703) pub
lished his solution in proba.bly the first work on this subject, On ma:t'imal
and minima.l •ualne.s (1659). For these reasons, the point where the required
minimum is attajned is often called the Torricelli po·int or, sometimes, the
Fennat po·int. Bonaventura Cavalieri, a.nother great Italian mathematician,
also studied this problem.
In the nineteenth century Jacob Steiner, the famous GermanSwiss geo
metrician, considered the above problem and a series of similar problems
in detail. For this reason they are frequently called Steiner's problems. In
the sequel, we wi ll present t he wellknown geometric solution of Steiner's
problem of the min:imal sum of distances for t riangles whose angles do not
exceed 120° . Otherwise, knowing that obtuse angles exceed 120°, the isogonic
center just coincides with the vertex of the obtuse angle.
Assume that the <\ngle L.C is> 60° (Figure 4.23). LetT be a point inside
L:::.ABC (a candidate for the isogonic center), and connect T witb vertices
A, B, and C. Rotate L:::.ABC about C through 60° into the position A' B'C.
Let T' be the image ofT under the performed rota.tion. By construction,
we observe that L:::.CTT' is equilateral, ICTI = ICT'I = ITT'I, and IATI =
IA'T'I Then the sum of lengths IATI + IBTI + ICTI is equal to the sum
IA'T'I + ICTI + IBTI = IA'T' I + iT'TI + iBTI. The last sum is the length of
the polygonal line ,4'T'T B and it is not shorter than the straight line A' B.
Hence we conclude that the length IA'T'TBI will rea.ch its minimum if the
points A', T' , T, B are coUnea.r. Therefore, the isogonic center, denoted by
r·, lies on the straight line A' B. Furthermore, using the symmetry a.nd the
J'VliNIJ\·IAL SUM OF DISTANCES IN A TRIANGLE 93
equality of crossing angles rela.ted to T', it is easy to show that all sides of
t he triangle ABC are seen at tbe angle of 120°. This property gives us an
idea a.bout the location of T• (see Figure 4.24) .
A
B
•
'•
' .
' .
' .
:.
. '
' '
' '
' '
' '
' ' . '
. '
I '
' ' ' .
T ' '
' :
.
•
•
'
•
'
• •
•
'
•
' • •
T'4
.
•
•
• .
•
•
'
'
A'
8
o,
c A
Oz
Frc;URE 4. 23. Minimal sun:> of distances Frc;URE 4.24. Locatioo of Torricelli' s
inatriugle poiM
First, we draw str aight lioes under the angle of 30° related to two sides of
6l1.BC, say BC and CA, and find the points 0
1
a.nd 0
2
. Then we draw two
arcs with the radii I01 Bl and IOzCI taking 0 1 and 0 2 as the centers; t he
intersection of t hese arcs gives the desired isogonic center T* . The discussion
of this construction is left to the reader.
P r oblem 4 .20. * Find the isogonic cente1· (T01ricelli point) 11Smg the
H enm pl'in.ci.ple.
Hint: See Problem 4.7.
Johannes K epler (1571 1630) (+ p. 302)
The great German astronomer and matbematiciao Johan I<epler is best
known for his discovery of t he three mathematical laws of planetary motion.
Vlha.t is most surprising, but also very impressive, is that he was not aware
that the came of the motion of the planets is gravity, a fact explained a few
deca.des later by Newton in his monumental work Philosophiae Na.t·u.mli.s
94 4. GEOMETRY
Princ·ip·ia Mathematica (1687). In t he next chapter we will see that I<epler
dealt wi t h some problems which could be considered today as recreationa l
mathematics. So it is not strange that this inquisitive and imaginative man
was the author of probably the Jllst ever science fiction story, called Somnium
(The Dream).
Johannes Kepler
1571 1639
Kepler's persona.! life, however, was plagued
by misfortune. Kepler's favorite child died of
smallpox at the age of seven; his mother was
tried and sentenced for practicing witchcraft;
and his first wife Barbara went mad and clied.
Kepler himself was accused of heterodoxy since
he was a profound Lutheran. He a.nd his chil
dren found themselves forced to leave Prague
because the Emperor Matthias clid not tolerate
Protestantism. Kepler lived a great deal of his
life in poverty and while on a trip apparent ly to
recover his permanently unpaid salary, he clied.
Volumes of cylinders and spheres
In his book New solid geometry of wine ba?·rels, Joha.nnes Kepler described
t he methods for simple measurement of the volumes of banels of different
shape; see [161]. Kepler advanced new ideas for the solution of ma.ximum
a.nd minimum problems t,o clarify the basis of his methods, wbkh in turn
have touched upon the essence of differential and integral calculus. Theorem
V is one of the results contained in Kepler's book: "Of all cylinde?'S with the
same diagonal, the largest and most capacious is that in which the mtio of
the base diameter to the he·iyht ·i.s ../2. " In other words, this theorem gives
the solution of the following problem:
Problem 4. 21. J'nsc?'ibe a cylinde?' of maximal volume in a given sphe1'e.
This problem ca.n be solved elementary ma.thema.tics. Let R be the
ra.dius of the spbere a.nd let x be half tbe beight h of the cyUnder. Then tbe
restriction 0 ::::; x ::::; R is obvious (see Figure 4.25). The base radius of the
cylinder is JR
2
 x
2
and its volume is
(4.5)
The aim is to find x that provides maximal volume \fc of the cylinder.
VOLUMES OF CYLINDERS AND SPHERES
"'=x
2
f' IGURE 4.25. Largest cyliudet in a sphere
95
·r I
•
R
The problem can be easily solved by using differential calculus. Here we
use the suitable elementary manipulations to avoid clifferential ca.lculus. For
our purposes, it is sufficient to consider the function
appeariug in (4.5). Fi rst we factor f(x) in the following way:
We note that the function f reaches its ma:dmum when the first term van
ishes, that is, when x = R/ ../3. For this value of x the height ami the base
ra.dius of the cylinder are
lIenee we see that the ratio of the base diameter of the extreme cylinder to
t he height is ...}2, a fact established by Kepler.
Jacob St einer (17961863) (t p. 306)
Although he did not learn to read or to write until the age of 14, J acob
Steiner later became a professor at the University of Berlin and one of the
96 4. GEOMETRY
greatest geometers ever. PonceletSteiner's theorem, one of his rerna.rkable
results, asserts t ba.t a.IJ Euclidean constructions can be carried out witb a
straightedge alone in the presence of one cir cle and its center drawn on the
plane of the construction.
5
Mathema.tical recrea.tion problems often make
use of constructions of thls sort a.nd va.ria.tions on them.
6
Dido's problem
Virgi l, one of ancient Rome's greatest poets, describes in the Aeneid the
aventure of the legendary Phoenician princess Dido (al. o known as Elissa)
and her role in the founding of the city of Carthage.
As D·ido fled ft'Om per.secu.tion by her b?'Othe1·, .she followed the Medite·t
1anean coa.9Uine. Once she had put en07Agh di.9tance between them to assn1e
he1· safety, she endeavor·ed to find a suitable plot of land on which to settle.
Howeve1·, the local 7ule1·, was not willing to sell he1· the land. Nevei·
theless Dido, being a capable negotiato1·, managed to pe1·suade Ya1·b to fulfill
a "mode.st" wish: to sell he1· a.9 m?ACh land as cott.ld be "enci?cled with a.
b·ull's hide." Cleuer D·ido then c·ut a btAll's hide into nalt'I'O'w st1'ips, tied thern
togethe1·, and in that way enclosed a la1ge tmct of land. She built a
on land next to what is today named the Bay of T1mis, and it, she b1•ilt
the city of Carthage.
This prompts one to ask: How 7n1ACh land can a bull's h·ide enclose? Using
the terms of modern mathematics, let us consider the problem as follows:
Problem 4.22. Among all clo8ed plane cur"ves of (L gi.ven length, find the
one that encloses the laryest area.
This question is known as Dido's pmblem, or the classical isope1'imetl'ic
Jn'Oblern.
7
Today we understand that the desired curve is a circle, and many
bistol'ians a.re of the opinion tha.t this was the first discussion in litera.ture
of an extrema.) problem
8
The literature devoted to Dido's problem is vast;
some ltistorical references can be found in the book Kl'eis und Kugel (Circle
and Sphere) (Leipzig 1916) of the German geometer vV. Blaschke.
9
One of
the most ingenious proofs is clue to the great GermanSwiss geometer J acob
6[n 1904 t he [talian Francesco Seveti showed that au a1·c {of arbitrary size) a.nd its
center are sufficient to make )>ossible all Euclidean constructions with a straightedge alone
161, p. 981.
6
See, for instance, Abu'J. Wafa's problems in this book.
7
lsoperimetric figures are figures having the same perimeter.
8
S. Hildebrandt, Variati011srechung heute, RheiuischWestfiilische Academie der Wis
senschaften, 1986.
9
Repl'inted by Aufl age, DeGruyter, Berlin 1956.
DIDO'S PROBLEM 97
Steiner. Steiner, however, failed t.o prove t he a.ctuaJ existence of a rna.x.i rnum;
be assumed the existence of a. curve t hat would solve the isoperin1etric prob
lem. Weierstrass later gave a rigorous proof.
10
We present Steiner 's proof
below as it appears in V. M. Tikhomirov's book (176]. Steiner's solution of
the isoperimetric problem follows from the three auxilia.ry assertions (Lem
mas (I) , (II) and (IJI)).
c
a) b) c)
FtGUA.E
1
!.26. Steiner's solut ion of Dido's problem
(I) The extrmnr1l c·,wue ·i.s com;ea:.
11
Proof. Suppose that the desired curve is not convex. In that case, it
contai ns two points A a.nd B such that both a.rcs AaB and A/3 8 joining
A and B lie on the same side of the straight line through A a.nd B (see
Figure 4.26(a)). By replacing one of these arcs, say Aa:B, with its image
Aa 'B under reflection in AB, one obtains a new curve Aa' B/3A of the same
length that encloses a. larger a.rea than Acx8f3 A.
(II) If points A and B hal·ve the pe1'1mete1· of the extremal curve into equal
lengths, then the ch01Yi AB halves the Mea of this c•urve into eqnal
Proof. Assume that the chord AB divides the area. into unequal parts
S1, S2 , area St <area S2, both with the same length. But then we take the
of the Ia.rger pa.rt S2 under reflection in the diameter AB instead of
the smaller pa.rt S
1
, and add it up to S
2
(which has the same length as S
1
) .
In this way we would obtain a figure with the same length but the larger
area (Figure 4.26(b)).
(III) Suppose ·that po·ints ;! and B halve ·the extremal cu1·ue. If C is any
point on the curve, then the angle AC B is a 1'ight angle.
10
W. Blaschke, I<reis und I<u.gel, Leipzig 1916, pp. 1 42.
11
A convex region U is one with the prope rty t hat if any pair of point.5 (P, Q) lies
inside U, then the tine segment PQ connecting P and Q lies inside U.
98 4. GEOMET RY
P1·oof. Assume there is a. poi nt C such t hat ACE is not a right a.ngle.
The a.rea SABC bounded by the aJ·c ACB a.nd t he dia.rneter AB splits into
three parts: the triangle ABC a:nd the segments adjacent to the sides AC
and CB with the a reas SAc and SBc (see Figure 4.26(c)).
Now, rotate segment Sc B around point C unt il point B arrives at position
B' in such a. way that ACE' is a right angle, as shown in Figure 4.26(c) .
Since
SAac = SAc+ Se a+ Se; ABC = SAc+ Sea+ sin G
< S11c + Sc B + = SAc+ ScB + St;AB'C,
we conclude that the area. SAac will reach its maximum when the a:ngle
AC B becomes a rigbt angle (sin C = 1). The figure obtained by reflecti ng
t he curve AC 8' in t he chord A 8' has t he sa.roe pel"iroeter but a larger area
than the original figure, which proves the assertion.
\Ve see that the extremal figure consists of all points C from which a. chord
t hat haJves t be length of t be extremal cu.rve is seen at a. right angle. Tb.i s
ill ustrates a wellknown property of a circle: t he periphera.J angle over t be
diameter of a circle is always 90°, which means t hat t he curve in question is
a circle.
Division of space by planes
The following problem and many others, some included in this section,
fall somewhere between serious mathematics a.nd recreational mathematics.
This is not unusual; we have already emphasized that the study of many
mat hematical tasks and games led to the development of new ma.themat ica l
branches or to the cl.iscovery of important mathema.tical results. On t he
other hand, t he solut ions of some recreational problems require very powerful
mathemat ical tools. The famous geometer Jacob Steiner considered several
such problems of dual character. The following problem was first solved in
1826 by Steiner
1
2
P r oble m 4.23. What is the maa:imum nmnber of pa·rts into which a
space can be d·ivided by n planes?
Perhaps this problem has a more combinatorial fl avor, but we included it
in the chapter on geometry since Steiner was a great geometer _n Is a
sufficiently good reason?
12
Jourrud .fiir die reine und angewarulte Mathematik 1 (1826), 349 364.
13
Although be also gave a great contribut ion to combinatorial designs; recall a. Steiner
t1·iple system.
D IVISION OF SPACE BY PLANES
In sohdng this problem we wiiJ use t he wellknown formulae
n(n + 1)
l+2+ ··· +n = ,
2
2
• ? n(n + 1)(2n + l)
1 + 2 + · · · + n = .
6
99
To find t he desired maximum number, let us first solve the same type of
planimetric problem that we present here: What is the ma:t'imum numbe'r of
pMis into which a plane can be divided by n stmight lines?
Obviously, to obtain the maximum number of pa rt s, we must exclude (i)
parallel lines and situations in which (ii) three or more lines pass through
one point. In what follows, we will assume that these two condi tions are
sa.tis6ed.
2
1
FIGURE 4. 27. Dividing the plane by straight lines
Let P,. denote t he number of parts in the plane, generated by n lines.
Taking into account that those pa.rticuh•r cases (i) and (ii) are excl uded,
one additional line will be cut by t he previous n lines into n points, say
T1, T2, . . . , T". The line segments (n  1 in total) T1T2, T2T3, . . . , T.,.,. _
1
T"
and the two semistraight lines with the ends at TJ and T,, belong to t he
various parts of the plane a.nd their number is obviously n + 1. Each of t hese
tra.versed parts is divided into two parts so that the (n+ l )th line increa. es
the number of parts by n + 1 (see Figure 4.27 where n = 3). Accor(ling to
this simple consideration we have
100 4. GEOMETRY
Telescoping summa.tion
14
yields
n  1
L ( Pk+J  Pk) = 1 + 2 + · · · + n ,
k=O
that is,
P  P
0
= 1 + 2 + · · · + n.
Since Po = l and l + 2 + · · · + n = n(n + 1)/2, we finally find
n(n +1) n
2
+ n+2
P,. = l + 2 = 2 .
(4.6)
Let us ret urn to t he space problem originally posed. To attain the max
imum number of partial spaces we require that (i) the lines of intersection
of no more tha.n two planes are pa.rallel and (il) no more than three planes
intersect at one point.
Let 8, denote t he required maximum number of partial spaces obtained
by n planes. A new additional plaJle is cut by the first n planes into n lines
in such a way that conditions (i) and (ii) are satisfied. Therefore, the new
(n+ l )th plane is divided by then lines into P,. planar sections. Each of
t hese sections cuts the traversed partia l space into t wo sroaller spaces, wbi ch
means that t he a.dditional (n + l)th plaJ1e increases the nuo1ber of the partia.l
spaces by .P.". This consideration leads to the relation
8,,+1 = 8 .•• + P., . ( <1.7)
According to (4.7) we obtain
'1}. 1
2::::( sk+l  sk) = s ..  s1 = P1 + P2 + · · · + P,.._,.
k = l
Since 81 = So + Po = l + l = 2, it follows that
S, = 2 + P, + P2 + · · · + P n 1 · (4.8)
14
Stuns of the form l:m<k<n ( a(k+ 1)  o.(k)) are often called telescoving by analogy
with a telescope whose thicknesS is determined by the radii of the outermost and innermost
tubes of t he telescope. By the way, Euotatiou was int roduced by Joseph Fomier in 1820.
ROAD SYSTEM IN A SQUARE 101
By ( 4.6) a.nd t be formulae for t he sums of natural numbers a.nd squa.res of
natural numbers, given above, we find that
k=l k=l k=l k= l
1 [n(n  1)(2n  1) (n  l )n] n
3
+ 5n  6
= n 1+  + = ·
2 6 2 6
Using this result, from ( 4.8) we find t hat the required maximum number of
parts, obtai ned by dividing a space by n planes, is given by
n
3
+ 5n + G
s .. = ,,
6
It is interesting to note t ba.t tbe nurn bers Pn and S,. can be expressed by
the entries of the Pascal triangle. S.,. is equal to t he sum of the first thTee
entries of the nth row (figure below left, P
5
= 16) and S,. is the sum of the
first fmw entries of the nth row (figure below right, S
5
= 26) .
1 1
1 1 1 1
1 2 1 1 2 1
1 3 3 1 1 3 3 1
1 4 6 4 1 1 4 6 4 1
1
5 101 10 5 1 1
5 10 101 5
1
1 6 15 20 15 6 1 1 6 15 20 15 6 1
The sumP,.. The sumS,
The first step in solving Problem 4.23 was the determination of the max
imum number of parts into which a plane is divided by n st raight lines. We
have seen t hat some of these parts a.re infinite, while others are bounded.
The following natural question arises (see (88]):
Problem 4. 24.* A pla.ne is div·ided into (infinite and bounded) parts by
n lines. Determine the ma:J:imu.m poss·ible nmnbet· o.f bo·unded parts ('regions) .
Road system in a square
The following problem, which can be found in many books, is ascri bed
a.gain to Jacob Steiner.
102 4 . GEOMETRY
Proble m 4.25. Fom· villages airp01t 1am·ehauses,
a1· 1uhatever'), each being a a f a squ.are, shanld be connected by a r·aad
netwaTk so that the total length of the 1·aad system is minimal.
Solution. Let V
1
, V
2
, V
3
, and \14 be the verti ces of tbe squa.re of side
length equal to 2 units. AB and CD are perpendicular bisectors; see Figure
4.28. A road system is composed of the solid lines EV1, EF, FV1,
a.nd with t be unknown a.ngle 0 which should be determined so that
this road system bas minio1al length. Using the triangle inequa,Ji ty it is easy
to prove that the symmetric network X shown in Figure 4.28 has smaller
total length than any nonsymrnetric network X . Other configura.tions will
be discussed later.
Referring to Figure 4.28, the length of the desired road network is S =
2(2x + z) . Since
y = tane,
we have
1
X = ,
cos (J
:; = 1  y = 1  tan (J, (J E [0, lT/4],
S'(O) = 2( 1 ta.ne +
2
8
) = 2 + 2f(B) ,
cos
where we introduce
2
f(O) = (J  ta.n 0.
cos
c
A  B
z
F
1
I
1
D
1
FJGUR.E 4. 28. Minimum road system
ROAD SYSTEM IN A SQUARE 103
Since !(8) = (2  sin B)/ cos 8 > 0 for 8 E [0, 11"/4), to find tbe 01iniroum
of S(8) it is suffi cient to deterroine t be minimum of t be function !(8) on
the interval [0, 1r /4]. This problem can be easily solved by differential calcu
lus, but we wish to avoid it and demonstrate an elementary method, more
familiar to tbe wider circle of readers.
First, we prove the inequality
2
/(8) =
8
 tan 0 > vr:3, 0 E [0, 11"/4].
cos
(4.9)
Assume t hat ( 4.9) holds true. Since cos 0 > 0, t he inequality ( 4.9) can be
wri tten in t he form
sin 0 + vr:3 cos 0 < 2. (4.10)
Using the wellknown formulae
. 0 J 1  cos 28 t
S!O = = cos O=
1 + cos 28 _ f1+t
2  V2·
2 2 '
where we set ·t = cos20 E [0,1], from (4.10) we get
13 !l+t < 2.
V2 \ V2
Hence, after squaring and rearrangement, we obtain
Squaring once again yields
1  4t + 4t
2
= (1  2t)
2
> 0.
Therefore, the inequality ( 4.10) is proved. From the last expression we see
that the minimum of f(O) is obtained for ·t = cos 20 = 1/ 2, that is, 20 = 60° .
Hence, the sought value of t he a.ngle 8 is 30° .
The length of the minimal road network is
For comparison, let us note that the lengt h of t he two diagonals of t he square
( C<\Se B = 45° ) is 2VS 5.6568.
104 4. G EOMETRY
Rene Descartes (15961650) (4 p. 302)
Frederick Soddy (1877 1956) (4 p. 308)
Seki Kowa (l642 1708) (4p. 303)
Harold Scott MacDonald Coxeter (19072003)
( 4 p. 309)
Scientists frequently conduct simultaneous yet independent research on
the same problems. It is less seldom for researchers from dispa.rate t ime
periods to pay their attention to the same problem. Rene Descartes, the
French philosopher , soldier and ma.thematicia.n, Seki Kowa., the J apa.nese
mathematician, mechanist and samurai (!), Frederick Soddy, the British
physicist and Nobel Prizewi nning chemist, and the famous longlived ge
ometer Harold (always known as Donald) Coxeter , a professor at the Uni
versity of Toronto, all studied the problem of "kissing" (or touching) circles
at one time in their lives.
Kissing ci rcles
Not more than four circles can be placed in a. plane so that each circle
touches every other circle, with every pair touching at a different point .
There are two possible situations: either tll!'ee circles sunound a smaller
one (Figure 4.29(a.)) or one larger circle contajns three smaJJer circles inside
it (Figure 4.29(b)) . Thus appears t he following cbaJ ienging question.
P r oble m 4.26. Find a !'elation that involves the mdii of fo1w adjoining
ci1·cles which allows easy calculation of the mdii. of the Jou1·th touching ci1·cle,
lmou,·ing the m.dii of the remaining three cir'Cle.s.
Frederick Soddy derived '' simple formula for the ra.dii and expre. sed it
in an unusual way in the stanzas of his poem, The Kiss published
in Na·ture (Vol. 137, .June 20, 1936, p. 1021). Let C£, b, c, and d be t he
reci procals of the radii of four "kissing" circles ta.ken with the plus sign if a.
circle is touched on the outside (all circles on Figure 4.29(a.)) , and the minus
sign if a. circle is touched on the inside (the circle 4 on Figure 4.29(b)) . Then
Soddv's formula reads
"
KISSING CIRCLES 105
4
3
3
4
a.) b)
F IGURE 4.29. Kissi.ng circles
The reciprocal of a circle's radius is customarily referred to as its cu?·va
tu?·e. Soddy's poem mentions this quantity as the bend a.s the middle verse
states clea.rly:
Four circles to the kissing come.
The sroa.Jler are t he benter.
The bend is just the inverse of
The distance from the center.
Though their intrigue left Euclid dumb
There's now no need for rule of thumb.
Since zero bend's a dead straight line
And concave bends have minus sign,
The sum of ·the squa·res of all jour bend.s
Is fwlf the sqttar·e of thei1· surn.
However, a.fter the above formula's publica.tion, it was discovered tha.t
Descartes already koew of this formula .. For this reason, t he above formula
is sometimes referred to as the Desca.rtes Soddy formula.
Vve will now discuss in short the derivation of the Desc:utesSoddy fo r
mula; for more details see Coxeter's book [43, pp. 13 15j.
Let Ka, J(b and Kc be three mut ually tangent circles with centers
A, B, C. Let us form the triangle [),ABC wi t h sides a, b, c and the cor
responding angles a, , (3, 'Y (see Figure 4.30) . If s = (a.+ b + c)/2 is the
106 4. GEOMETRY
semiperimeter of the t riangle L.ABC, then it is easy to conclude tha.t t be
lengths s a, s  b, s c are t he radii of t he circles K,., J<b, I<c, respectively.
Ka
sb
B
FIGURE 4.30. Coxeter's solution for t he kissing ci rcles
From Figure 4.30 we see that two circles can be drawn to touch all three
circles I< a, I<b , I<.c: a. small inner ci rcle K, and a. larger outer circle K' . Let
t hese two circles have centers S, S' a.nd radii 1·, 1·' . Then
IS AI= 1· + sa, ISBI = ?' + s  b, ISCI = r + s  c.
Let <p,., 'Pb, 'Pc denote the angles a.t center S of the smallest ci rcle I< m
t he three triaJ1gles L.SBC, L.SC A, L.SAB. Applying the cosine theorem
to t riangle L.SBC, we obtai n
wherefrom, alter a brief rearrangement,
Hence,
2 'Pa
cos  =
2
1 + COS<pa
2
(r + a)1·
(r + .s  b}(1· + s c) ·
· 2'Pa
1
z'Pa (s  b)(s c)
sm  =  cos  = :"....,..;:7'7
2 2 (·, + s  b}(?· + s c)"
(<1.11}
(4.11')
KISSING CIRCLES 107
A oalogously, for t be a.ngles 'Pb a.nd 'Pc we obtain
2 (1' + b)1·
cos  = ,
2 (1· +sa)(1· + .sc)
(4.12)
. 2 ( 8  a) ( 8  c)
Sin  = '
2 (1· + .s  a)(1· + .s c)
(4.12')
and
2 'Pc (1· + c)T
cos  = '
2 (1· + s a)('r + _,  b)
(4.13)
. 2 IPo (s  a)(s b)
Sill  = ,' 77 '"'
2 (?· + s  a)('r + s  b)'
(4.13' )
Combining t he sine theorem and the cosine theorem for any triangle with
the aJ1gles a, fJ, '/, we can derive the following identity:
• 0 • 2fJ . 0 + 2. (3. 0
$10 a Sill  $10 'Y Sm Sill/ COS 0: = . (4. 14)
This relation holds for any t hree angles whose sum is 180° . Since the angles
• t'Pb , satisfy t his condition, from (4.14) we have
. o 'Pa . o 'Ph . ·> 'Pc
2
. 'Ph . 'Pc 'Pa O
sw   sm·   sm·  + sm s1o  cos  = .
2 2 2 2 2 2
For the sa.ke of brevity, let
f a = (1· + s  b)(T + .s  c),
f & = (1· + 8  a)(1· + s  c),
f c = (T + 8  a)(1· + s  b) .
(4.15)
Using (4. 11), (4. 11'), (4. 12), (1.12'), (t1.13) and (4.13' ), from identi ty (4.15)
we obtain
Hence
(s  b)(s  c)
!.
(s  c)(s  a.) (s  a)(s  b)
.fc
+ 2
(s  c)(s  a) . (s  a)(s  b) . T(1· + a) = O.
/b f c f a
1· + s  a T+.s  b T + s  c
s  a s  b s c
+ 2.
1'(1· + s  b +  c) _
0
(s b)(s  c)  ·
108 4. GEOMETRY
After dividing by ,,. a.ud usi og a.bbreviations
1
0"] = ,
s a
we corne to the relation
After squaJ·ing, we get
1 1
0"?_ = .,.. 0""  
b
' ,. '
s  .s c
(o1  uz o3  o4)
2
= (2o1 (o1 + o2 + 0"3 + <14))
2
= 4(uzO"J + 0"30"4 + o4o2).
Hence, after elementa.ry manipulations, we finally obtain
The reciprocals <11, u
2
, u
3
, u
4
of the radii are caJied their cur·vatures.
Solving t he quadratic equation (4.16) for a
4
(the curvature of either l( or
[(') , we obtain two roots
The upper sign yields the larger curvature, t ba.t is, t he smaller circle. There
fore, the radii of circles [( and ](' are
1
r· = [o1 + o2 + 0"3 + ZJo20"3 + oao1 + 0"10"2 ]  ,
r.t = [u1 + <12 + <13  2Ju2us + <13<11 + <11<12 ] 
1
.
In 1670, three decades after t he dea.th of Desca.rtes, on t he other side of
t he world, Sawa.guchl Kazuyuki., a J apanese wrote a work
entitled, Kokon Sampoki (Old and New Method in Mathematics). Ka.zuyuki
formulated a problem that incorporated four kissing circles (see [167, Vol. I,
p. 439], [168]).
Problem 4.27. Three are inscl'i.bed within a. cir·cle, each tangent to
the other· two and to the or'iginctl cit'Cle (Figme 4.31) . They cover all but 120
squar·e uni'ts of the cit'Ctnnscr•ibing cir·cle. The diametet·s of the two smallet·
cir·cles are eq·ual and each is 5 units les.s than the dio.meter· of the next larget·
one. Find the diameter·s of the thr·ee insc1'ibed circles.
KISSING CIRCLES 109
120
x+2.5
FIGURE 4.31. J<azuyuki's kissi ng ci rcles problem
According to Smith and Mikami [1681, Seki Kowa, the most distinguished
mathematician of seventeenthcentury J apa.n, solved t his problem. Seki
I<owa used only words to express hi s method of solution, a nd arrived at
an equation of the sixth degree [168, pp. 9697]. Did Seki Kowa have
knowledge of Descartes Soddy's formula? Through analysis of Kazuyuki 's
solution of the problem, we might perhaps answer this question in part.
Let x (= 7'
1
= r2) be the radius of the two smallest circles andy (= 1·
4
)
the radius of the largest circle. Then t he radius of the remaining circle is
1·
3
= x + 2.5. Using the condition concerning the covered area, we can form
the equation
120
2x
2
+ (x + 2.5)
2
= y
2
  .
1[
( 4.17)
But now the crucial question arises: How to eliminate one of the two vari
ables in (4.17)? Seki Kowa had to have an auxi liary relation necessary for the
elimination. According to the reconstr uction of Seki's solution given by his
pupil Takabe [168, pp. 96 100], and considering the analysis of the promi
nent historians of mathema.tics Smith and Mikami, the required rela.tion was
most probably the Descartes Soddy fo rmula. The fact that a wooden table
engraved with the formula was found in Tokyo's prefecture in 1796 (see [68])
appears to substantiate t his.
In his poem The I< iss Pr·ecise, Frederick Soddy expanded the kissing cir
cles formula to five mut ually kissi ng spheres,
{4.18)
llO 4. GEOMETRY
where a., b, c, d, and e a re reciprocals of t ile radi i. of five spheres ta.ken
wi t h the corresponding signs. Is t he reader nervous about nspberes (n >
3)? "Mission impossible?" 'What is most astonishing is that there exists
a beautiful formula for this general case. Thorold Gosset of Cambridge
University made further generalization on nspaces whi ch he published in
Natme (Vol. 139, Ja.nuary 1937). Gosset bas sbown tha.t in the case of
ndimensional spheres at most n + 2 spheres "touch" each other and satisfY
the following genera.lized formula.:
The last formula is like a. sh:ining star in the sky of geometry. Let us
stop here: formulae a.re given, and a diligent reader is welcome to solve the
following simple problem.
P roble m 4.28. * Fo1w toltching unit sphe1es a1·e mvranged in the /01rn of
"nnmded" tetmhednm leaving a space jo1· a fifth sphe·re. Find the mdi11S of
that sphere.
George P6lya (1887 1985) ( t p. 308)
George P6lya. was a versatile mathematician whose out put of mat beroa.ti
cal publica.tions was not only voluminous, but also wide ranging. As well as
working in many mathematical disci plines, he also taught; his popular works
sucll as Ho·w to Solve .It, J\1/athematical Discove1y (two volumes), and Math
ernatics and Pla·u.sible .ReaMning (two volun1es) contai n a. wea.Jth of useful,
pleasing, and amusing examples. We have selected one fTom his Mathema·tics
and Plattsible Reasoning [141, VoL 2].
The shortest bisecting arc of area
P r oble m 4.29. Let us define a bisecting an: as a simple ctwve which
bisects the area of a given 1·egion. The shor·test bisecting M·c of a cir·cle ·is ·it.s
diameter and the .shoTtest bisecting a1'C of a squme is its altittAde tfwou.gh the
center. What is the sho1·test b·isecting a1·c of an equilateTal t·riangle?
Ma.ny mathematicians, amateurs and professionals alike respond with t he
standt1.rd answer of a chord parallel to the base since it shorter than the
a.ngle bisector (altitude). This a.nswer, however, is incorrect.
THE SHORTEST BISECTING ARC OF AREA 111
To a.nswer correctly, let us recaJI the solution of a classic ·isopel"i.mefll'iC
pf'Oblem, isoperimetric: figures being figures tha.t bave the saJUe perimeter.
Among a.ll closed plane CU7'ues of a. given length, a. ci1·cle encloses the
lar'f}e.9t are11.
Actua.Jly, this is Ja.cob Steiner's solution of Dido's problem, found on
pages !l6!l8 of this book
Let us return to P61ya.'s problem. Let w be an eventual bisecting arc for a.
given equilateral triangle {:;,, By five refl ections of a given equilateral triangle
6 , performed in such a way that the next (copied) bisecting arc starts at
t he eod of the former bisectiog a.rc, we create a. regular bexagon as sbown in
Figure 4.32.
\
I
I
I
I
I
w
/ 2 A
.,
FIGURE 4.32. Shor test bisecti ng arc of
L(a)
..... ......
, .. .. ..
,... .. ..
, ' ... ..
,' ....
. '
. '
. '
. '
• •
FIGURE 4.33. Arc on one side
The new curve n = wUw
1
U · · · Uw
5
, where w
1
, . .. , w
5
are the copies of w,
is closed and it is a candidate for the bisecting closed curve of the hexagon.
The bisectil\g a.rc w must have such a sha.pe so t hat the curve n encloses
haJf of the hexagon's a rea. Thus, to find w, we aJ·e looking for a. slw.pe of n
such as that ha.ving the shortest perimeter.
According to the solution of the isoperimetric problem given above, a
circle has the shortest perimeter among aJl sba.pes with the given area.
Therefore, the closed curve n is a circle, denoted by a dashed line, and,
consequently, the shortest bisect,ing arc of the equila.tera.l triangle [::, is a 60°
arc of a ci rcle. From the relation 1'
2
71 / 6 = a
2
../3j8, where a is the side of the
equilateral t riangle 6, we find t hat the radius of this circle is
112 4. G EOMETRY
1' = (! !"3Ji 0.643 C!.
Finally, we show that the length of a circular arc, which bisects the area.
of the triangle and has its ends on one side of the triangle (Figure 4.33) ,
is longer than the bi5ecting arc presented above in Figure 4.32. Of
course, from the aforementioned reasons, a. curve of a. different shape than
a circular arc is always longer. Taking a = 1, we present on Figure 4.34
the dependence of the length L( a) of a circular arc on the cent ral angle
a E (0, n). The straight line L = 0.6833 is the length of t he shortest bisecting
arc given in Figure 4.32, shown for the purpose of comparison. End of proof,
end of mystery.
3
2
1
0.643
L(CX)
a
1 2 3
FICUR.E '1.3,1. The length of a. circular arc against t he central a ngle
Answers to Problems
4.2. The proof is elementary and uses only the Pythagorean theorem. Let
0 , 0
1
a nd 0
2
be the centers of the semicircles with the diameters AB, AC
aJld C B, respectively, and let
lAB I
!.......::...:.  ·r
2  ,
lAC I
2 = r·l ,
ICBI
2 = r·z,
1· = r·
1
+ 1·
2
.
Let OF be the radius line of the greatest semicircle passing t hrough t he
centers 0 a.nd. Gt a.nd. dra.w the Jines OtCt a od OGt · Fioally, dra.w two
perpendicu la.rs from G
1
to the lines CD and A 8 to t be point H., shown
in Figure 4.35. Denote t he radii of t he circles centered at G
1
and G
2
wit h
Pt a.nd P2. T hen we have
IOt Gt l = 1't + Pt, IOGd = 1' Pt = Tt + 1' 2  (h ,
IOt HI = r·1  Pt: IOHI = r·  2r·2  Pt = r 1  r·z  Pt·
ANSWERS TO P ROBLEMS 113
A
FIGURE 4.35. The Arhimedean circles solution
From the right tria.ngles 0
1
G
1
H and OG
1
H we obtain by the Pythagorean
theorem
IHGd
2
= h + pJ)
2
 (1· 1  P 1)
2
,
IHGd
2
= (1't + 1' 2  P t )
2
 (1' t  1'2 Pd.
After equaJizing the rigbtha.nd sides and short a rrangement, we get
hence
1't1'2
PI = .
1'1 + 1' 2
Applying a simi la.r method to the circle centered at G2 (simply exchanging
t he subscript indices 1 and 2) , we obta.i n the same result,
(4.19)
Therefore, the twin circles of Archimedes have t he same radius equa.J to half
t he harmonic mea.n of t he radii ?'
1
and 1·
2
.
4.3. We will use the notation from the solution of Problem 5.2 and
Figure 4.35. The Archimedea.n twins shown in Figure 4.35 have the same
ra.dii p = P1 = P2 = ?' Jr·2/(Tt + 1·2); see (4.19) . By the Pythagorean theorem
we find that
114 4 . GEOMETRY
Similarly, we obtain INCI = 2.Jf115. Hence, IN 1111
2
= (INCI  IMCI)
2
4p(y'1'1 ..ft2)2.
The quadrilateral G
1
NGzM is a parallelogram so that, using (4.19),
IG1Gzl = 2)(1NMI/2)
2
+ p
2
= 2jp(...jr!  .,JrZ)2 + p2
= 2J1·1r2 2J1·1r2 + p
2
= p) > p).
Since the smallest circle tangents the twin circles, its diameter d is then given
by
4.5. It is easy to notice that t his problem is equiva.lent to Problem 4. 1.
Indeed, haJving t he given ci rcles, shown in Figure 4.36, by the diameter
perpendicular to the tangent (of the length t), we obtain Figure 4.1 with
IC Dl = tj2. Hence, the area of P6lya.'s figure is
S = 2·11'1CDiz = 11' (!)2 = 1rtz .
4 2 2 8
F IGURE 4.36. The arbelos problem of George P61ya.
P6lya.'s problem itself is more intriguing if it is considered independently
of the arbelos problem because, at fi rst sight , it seems that the given data
a re insufficient to find the required area..
4.6. The presented proof follows the argumentation given in Tien's paper
[175] . Let 1' be the radius of two sma.ll semicircles K3 and K
4
, a.nd R the
radius of a la.rger semicircle K. The radii 1·
1
= dJ/2 and T
2
= d2/ 2 of
ANSWERS TO PROBLEMS 115
the circles 1<
1
and K
2
are changeable unlike the fixed entries r and R. A
"backwards" method of dra.wing will be used to solve the problem.
L. 
,
I \
I \
I \
a) b)
F IGURE 4.37.
\
\
\
\
\
Let us construct a. quadrilateral composed of three equal triangles with
sides a = Tl1' 1, b = r 1 l1'2, and c = 1'l1'2, as in Figure 4.37(a). Obviously,
t his quadril ateral is a t rapezoid. Next draw circles of radii r, r
1
, 1·
2
, and
again 1·, centered a.t the vertices of these t riangles, except for t he common
central vertex C (Figure 4.:W(b)). It is easy to see t hat t he radii and sides
are chosen in such a way that these four circles touch each other (except for
K3 a nd K4) . Since
c + ?'t = 1· + 1·2 + 1· 1, a + 1'2 = T + 1·1 + 1·2
and
2R = 2r + 2b = 21· + d
1
+ d
2
,
it follows tha.t c + ·r 1 = a+ 1' 2 = R. This meMs that the circles K1 and K2
touch the big circle K centered in the central vertex C. Thus, we return to
our starting point, Figure 4.6.
Therefore, if T + 1'
1
+ r
2
= R, then the described configura.tion with
touching circles is possible. To complete the proof, we need to prove the
opposite claim. Assume that fo r t he configuration displayed in Figure 4.6,
we have 1' + r
1
+ 1·
2
i= R. Let us change 1'
1
, for example, so that a new
value satisfies T + + 1' 2 = R. According to the previous analysis, this
would mea.n that there is a. new configura.tion formed by touching circles of
radii 1·, (i= 1·1), 1'
2
and 1· inside a circle of radius R. Now we ha.ve two
configurations where a.Jl circles are the sa.me except for one (K
1
). Yet such
a situation is impossible since the "hole" determines uniquely the size that
fits into it. In this w<w we obtain that 1' + 1·
1
+ 1'2 = R holds, wherefrom
d1 + d2 = 2R  21· = const. This completes the proof.
116 4 . GEOMETRY
4.9. Let t be llalfstraight Unes Prt and p
8
denote the river b<1J1ks and
let the point C mar k the position of the cottage. Let CA a.od Cs be the
points symmetric to C w·ith respect to the halfstraight lines PA a.nd PB ,
respectively (Figure 4.38). Join CA. to Cs and denote with A
0
and B
0
the
intersecting poi nts of the straight Une CACn and the lines PA
a.nd Pn . The intersecting points A.o a.nd Bo determine t he places on the river
banks that provide the shortest tour CA
0
B
0
C of the advent urer. Indeed, if
A' and B' are arbitrary points on PA and PB , then
ICA'I + 1;1' B' l + IB'CI = + lA' B' l + IB'Csl
> ICAAol + IAoBol + IBoCel = IC11CBI ·
In other words, the shortest way between t he points CA and CB goes in a
straight line.
'
'
y
Pa
B'
FJGIJRE 4.38. T he shortest tour F IGURE 4.39. Broken bamboo
4.11. Let x and y be the lengths of segments of the broken bamboo.
From the system of equa.tions
:c + y = 18, y
2
 :c
2
= 36
(see Figure 4.39), we find x = 8, y = 10, or opposite.
4. 15. Wafa.'s idea, exposed in solving Problem 4. 14, can be also u. efully
a.pplied in thls case. First, we a.rrauge three larger triangles a.round the smftl l
ANSWERS TO PROBLEMS 117
triangle as shown in Figure 4.40. Joini ng vert.ices by tbe dotted lines, we
construct a laJ·ger triangle. The three pieces outside this tria.ngle fit the
spaces inside its boundary exactly (see [186, p. 192]).
FIGURE 4.40. Dissecti on of foul· t l·iaugles
4.20. Let A, Band C be the vertices of a given t riangle !::.ABC, we have
to find a. point X in the plane determined by the poi nts .4, B, C so that
the sum of lengths IX AI + IX Bl + IX C is minimal.
A
8
A
c
FIGURE 4.41.
'('{
{3 a
{3 a
c
FIGURE 4.42.
B
Assume for a while that the distance ICXI is fixed and equal to (say) 1·.
Then we can apply t he Heron principle of minimum considered in Problem
4.7 in a. specific wa,y. Namely, with the distance ICXI fixed, let us find the
minimum of the sum IAXI + IBXI , but with the point X tra.versing along
a circle (with radius 1' and centered in C) instead of the li ne (Figure '1.41) .
One can presume that in this task we have an image in the "round mirror" .
Let A be the source of a light ray, which reflects from the round mirror in
its w<w towards t he receiver B . Since t he angle of incidence is equa.l to the
118 4. GEOMETRY
a.ngle of reflection , t be stra.igltt li ne passing t hrough A a.nd X must be tbe
bisector of tbe a.ngle L AX B to provide minimal distance.
For symmetry, the straight lines through B and X , <1nd t hrough A and X ,
should be also the bisectors of the a ngles LCXA and LBXC, respect ively.
Three straight lines, connecting the point X to t he poi nts A, B and C, form
six angles with the common vertex X . It is ol)V"ious fTom the Figure 4.42 that
all these a.ngles are mutually equal (according to the equality of opposite
angles), hence it follows tha.t each of them is equal to 60° . Consequently,
LAXB = LBXC = LCXA = 120°, which means that all sides of the
triangle A.BC are seen a.t t he angle of 120°, the same result obtained as
before. The location of the Torricelli point X is given in the discussion of
Problem 4.7.
4. 24. Let be the requi red maximum possible number of bounded
pa.rts. From the solution of Problem 4.23 we conclude t ha.t t he mth line
(m > 3) intersects the previous lines in m  1 distinct poi nts increasing the
number of parts by m, two new infinite parts and m.  2 bounded parts.
Therefore, we have
P3 = 1, P; = Pi+ (4  2), P; = P; + (5  2) , .. . , P,: =
+ (n  2).
The telescoping surnrna.tion gives
n 1
L (P,:,+L  P,;,) = P:  Pj = 2 + .. · + (n 2).
m==3
Since Pj = 1, it follows t bat
• (nl)(n2)
P.,. = 1 + 2 + · · · + (n 2) =
2
.
4.28. Let x be the curvature of t he fifth sphere. From formula (4.18) for
five kissi ng spheres we ha.ve
? ? ? ? ? ?
3(1 + 1 + 1 + 1 + x) = (1 + 1 + 1 + 1 + x) ,
hence t he quadratic equation x
2
  2 = 0 follows. The solutions of this
equ>1tion give the val ues of curvatures x
1
= 2 + J6 > 0 and x
2
= 2  J6 < 0.
Since we a.re concerned wi th the smaller sphere, we choose x
1
(all five spheres
are touched outside, all the corresponding signs of curvatures are plus) and
6.nd the required ra.dius ·r
1
= l/x
1
=  1 + J6/ 2 0.2247. The other va.l u.e
?'2 = 11/xzl = l1 J6/ 21 2.2247 is t he radius of t he larger sphere which
encloses and touches four given spheres.
Chapter 5 TILING AND PACKING
Sphe1·e packing is one of the most fascinating and
challeng·ing .S?<bjecf.s ·in mathematic.s.
Chuanming Zong
In this cha.pter we consider t he fi lli ng of a plane and a (3dimensional)
space. If the plane figures fi ll a plane wHh no overlaps llJ1d no ga.ps, t hen
we most often use the terms tes.sell(ltion or tiling of the plane for it . It is
needless to say that, from the ancient times to the present , the tessellation
has been an everyday job in creating mosa.ics and a variety of decorations
for building wa.lls, windows, floors and yards. A ft,er all, t he word te.ssella
comes from Latin to denote a small cubical piece of clay, stone or glass used
to make mosa.ics. It is worth noting that the pattems of tessellations can be
found in nature. For example, hexagonal columns of lava, resulting from an
a.ncient volcanic eruption, can be seen a.t the Giant's Causeway in Ireland.
Another example is the soca.lled Tessella.ted pavement in Tasmania, an un
usual sedimentary rock formation, with t he rock fracturing into rectangular
blocks.
In the first part we present regula r tessellations (consisting of congruent
regular polygons) studied by J ohannes Kepler and semiregular tessellations
which permit more kinds of regular polygons (one of eight patterns found
by Kepler). Both. of these tessella.tions a.re periodic giving a. region tha.t
tnes the plane by translation. It is well known that the Dutch a.rtist M.
C. Escher made many famous pieces of art with periodic tessellations with
sha.pes resembling livjng t hings.
You will also find nonperiodic tessellation of the eminent British mathe
matical physicist Roger Penrose. Penrose's tilings, which use two different
polygons, aJ·e the most famous exa.rnples of tessella.tions creating nonperi
odic patterns. We have a.lso included the very recent Conway and R.adin's
pinwheel tiling.
The filli ng of t he 3dimensional space is the subject of the second part
of this cha.pter. Clea.rly, a tessella.tion of a space (often referred to as hon
eycombs) is a specia.l case of filling the space since the latter permits the
appearance of ga.ps. However, in this book we focus on those puzzle prob
119
120 5. T I LING AND PACKING
!ems that ba.ve been posed a.nd/or solved by great mat.bema.ticians. So, we
omit the tessella.t ion of t be 3dimensionaJ spa.ce and turn our attention to
another fascinating recreational subject : pa.cldng spheres.
We can find ma.thema.ticaJ patterns all aJ·ound us. Consider, for example,
the familiar arra.ngement of fruits at the market, a.nd look closely a.t the piles
of frui ts. How a re t hey arranged? Is the a rrangement of sphericallyshaped
fruits, oranges perhaps, the most efficient in terms of optimal density? In
other words, does the packing result in the maximum number of oranges
that can fit into the ava.ilable spa.ce?
The problem familiar to greengrocers a.nd ma.rket vendors of stacking
oranges a nd the distinctly mathematical pattern seen in such anangements,
is known as sphete packing. What is the most efficient wa,y to pack identicaJ
spheres? .Johannes Kepler was the fu·st who tried to give the answer to this
question (in 1611), known as Kepler's conjecture.
\Vhen David Hilbert announced his famous list of 23 problems in Paris
at the International Congress of Mathematicia.ns of 1900, he noted that t he
first criterion for a good problem was that it could be explained "to the
first person one meets in t he street. " According to its very simple formu
lation, t he spherepacking problem certa.inly satisfi es Hilbert's criterion for
a good problem. However, "the problem is so s·imple ·that t he1'e is some
hotJe that some dcty we may be able to solve it", as the Swiss mathematician
Peter Henrici once said for some classes of simplyformulated problems. In
deed, despite extensive investigations da.ting back a.t least as far as Kepler's
seventeenthcentury work, t he basic question of the most efficient packing
remained unanswered unti l 2005 when Thomas Hales solved Kepler's sphere
pa.cking problem.
David Gregory and Isaac Newton discussed llJ10ther type of sphere
pa.cking problem in 1694, known as the GregoryNewton problem which
concerns the number of touching spheres. Problems such as t hese and others
related to them, have attracted the attention not only of outstanding mathe
maticians such as Dirichlet, Gauss, Hermite, La.grange, and Minkowski, but
a lso that of severa.J contemporru·y ma.thema.ticia.ns.
Conway and Sloane [41], Fejes T6th [63], Rogers [148], Zong [194], and
Szpiro [172] have a.U written books that deal with various aspects of sphere
pa.cking. These books, a.nd <1 number of cita.tions within them, suggest tha.t
sphere packi ng has developed into an iluportaJtt di scipline. In his book [194],
C. Zong says: "As wo·rk on the classical sphe1>e packing problems has pro
g1essed many exciting have been ob·tained, ingenious methods have
been cr·ea.ted, r·elated chctllenging rn,oblems have been ptvpose<l and investi
gated, and S1WJWiMng connect·ions with other subjects have been jo1md. "
MOSAICS 121
In tbis chapter we wiU present brief essays of the two best known prob
lems related to sphere packing: t be kissing sphe1es of Da.vid Gregory and
Nev,;ton and t he densest sphe1·e packing of Kepler. The story about the lat
ter problem includes a short discussion on the very recent Hales' solution of
Kepler's conjecture. Knuth's pentaminopuzzle, Penrose nonperiodi cal tiling
a.nd Coowa.y's cube puzzles are also considered.
*
* *
Johannes K epler (1571 1630) (+ p. 302)
Mosaics
ln a.ddition to spherepacking problems and spa.cefilling problems wi t h
regular polyhedra, Kepler was also interested in mosaicsthe filling of a.
plane with regular, although not necessarily like, polygons. Here we present
some interesting tasks concerning t his subject, listed in [63, p. 273], [74, Ch.
17] a.nd [137, Ch. 3j.
(I) Let us consider t he filling of t he plane with congruent regular polygons
and let n be the munber of sides of each polygon. Then the interior angle
at each vertex of such a polygon is (n 2)180° fn.
(II) If the vertex of one polygon cannot lie along the side another, then
the number V ( n) of polygons at each vertex is given by (using (I))
V
360n 4
(n)  = 2 +  ...,.
 180(n  2) n  2
Hence it follows that n 01ust be 3, 4 or 6; in ot her words, at each vertex we can
join \1(:3) = 6 equilateral tria.ogles, \1(4) = 4 squares and \1(6) = 3 regula.r
hexa.gons. T he creation of mosaics by these patterns is called a tessellation.
A tessellation is 1·egular if it is made up from regular polygons of the same
kind. As shown above, there are only three such tessellations: mosaics
of equilateral triangles, squares aod bexagons; see Figure 5. 1. Semi1egula.1'
tessellations permit combinations of two or more kinds of regula.r polygons,
not necessarily different .
Problem 5.1. Ass'ume tha.t we have a mosaic composed of 1<!911l m· poly
gons of thr·ee different kinds at each verte:c. Find itll pa.ttem.s of 1·eg'ula.r
polygons that tile the plane.
If the three kinds of polygons have n
1
, n2, n
3
sides, then the following is
valid:
(5.1)
122 5. T I LING AND PACKING
(3,6)
(3,6)
(3,4)
(3,4)
(3,12)
(4,8)
....,
I'
....,
I'
)>
)>
)>
\.
\. ... .....
,
.. ...
(4,6,12) (3,4,6)
FIGURE 5.1. Eight patterns o£ regular polygons that tile the plane
MOSAICS 123
(.i t follows fromo:
1
+ o:
2
+ o:
3
= = (nk  2)180°/nk (k = 1, 2,3)
(from (I)). Let us find integr al solutions of t he equa.tioo (5.1) . From (5. 1)
we find
'1
n3 = 2 + t _
2
,
where t =
Obviously, t must be 3, 4, or 6. From the equa.tiou
we find
n l n 2
n1 + n2
= t
t2
n
1
= t+ , t E {3,4, 6}.
n2  't
(5. 2)
The quantity n2 takes those values from the interval [t + 1, t
2
+ t] which
provide that the ratio t
2
j(n2  t) is a positive integer. Considering the three
cases t = 3, t = 4 and t = 6, we find n
2
a nd n
1
tl,nd, fina.lly, from (5.2)
we determine n
3
. All integral solutions of the equation (5.1), given by the
triples (n
1
, n2,n3), are
(3, 7,42), (3,8, 2,1) , (3,9,18), (3, 10, 15), (4,5,20), ('1, 6, 12).
These six triples of integral solutions are only candidates for composing
a. mosa.ic. In other words, relation (5.1) gives only necessaJ·y conditions.
It was shown tha.t ( 4, 6, 12) is t he only triple of di.fferent congr uent regulaJ·
polygons that can form a. mosaic under the given conditions;
1
thus, we can
compose a mosaic combining congruent squares, congruent regular hexagons,
and congruent regular dodecagons. This pattern is displayed in Figure 5. 1,
in t he last row (left) .
An interesting fact is that there are precisely eight semiregular tessel
lations, composed of different combinations of triangles, squares, hexagons,
octagons and dodecagons (see Figure 5.1). A pa.t tern (3, 6) in t he upper
righthand corner was first described by J ohannes Kepler and it is the only
one (among the eight) with t he property t hat it is changed by mirror reflec
tion. The fourth pattern (3, 4) on the right side of t he second row, served
a.s the inspiration for a Salvador Dali painting that he titled simply Fifty
Abstract P.ict1wes Which as Seen from T1uo Yanls Change into Three Lenins
Masquemding as Chinese and as Seen from Six Ya·rds Appem· as the Head
of a Royal BengaL Tigef'.
2
1
The pattern (3,4,6) has two squares at each vertex.
2see M. Gardner [74, p. 207J.
lU 5. T I LING AND PACKING
FIGURE 5.2.
T he pattern (3,4)
Salvador Da.l i's paint ing
Fifty Abstract Pictures
Which as Seen from Two
Yar·ds Change into Th.r·ee
Lenins Ma.squerading as
Chinese and as Seen from
Six Yards Appear as the
Hea(l of a .Royal Benga.l
Tiger·.
J. Kepler and his successors were t he pioneering researchers into mosaics
and tessellat ions. It is worth noting that tessellations a.re not only the subject
of recrea.tiona.l mathemati cs, they are also a. useful tool in maki ng models in
crystallography, coding theory, cellular structure of plants, etc.
The classification of tessellations of the plane using tiles
3
can be per
formed in various ways, depending on the type of tiling; thus we have reg
ular, semi regular, or irregular tiling, periodic or aperiodic tiling, symmetric
or asymmetric tiling, and so on. Many details can be found in t he book,
Tit·ings and Patte?YLS l90j by B. Griinbaum a nd G. C. Shephard.
In the early twentieth century, the Russian crystallographer E. S. Fe
dorov enumerated exactly 17 essentially different types of periodic symme
t ry patterns. The symmetric patterns in t he Alhambra, a Moorish pala.ce in
Granada (Spa.in) , are one of t he finest examples of the mathematical a rt of
thirteenthcent ury Islamic artists, and proba.bly the best known architectural
use of symmetric patterns.
Speaking about tessellation, it is impossible to overlook the Dutch a.rtist
Maurits C. Escher (1898 1972). He was impressed by the patterns in the
Alhambra aud George P6lya's academic paper on plane symmetry groups.
Although Escher 's understanding of mathematics was mainly visual and
3
Tiling is a more restrictive category of repeating patterns because it is usually re
lated to patterns of polygons. However , most authors do uot make a difference between
tessellat ion and t iling.
ESCHER'S TESSELLATION 125
intuitive h.e had no formal traj ning in mathematics he fast caught on to
the concept of ttte 17 plane symmetry groups and created splend id periodic
tilings with woodcuts and colored drawings using this concept . Escher cre
ated many pictures using periodic tessellation in which living things such
as birds, reptiles and fish are used as tiles instead of polygons. Figure 5.3
named Symmetr·ic drawing E67 (1946) is one of his typical images of this
kind. Ad,j acent horsemen in two colors constitute t he basic image; t he tiling
of the plane is performed by translation and repetition of this image.
F IGURE 5.3. Symmett·y drawing E67 ( 1946);
a per iodic tessellation by M. C. Escher
In addition to his creations using tessellations, M. C. Escher created many
ingenious illusions, impossible building structmes and geometric distortion
in 3space, which often had a flavor of "mystery and absurdity" . Escher's
lithographs, woodcuts and graphic a.rts, involving mathematical relation
ships among figures and space, demonstrated his effort to incorporate math
ematics into a rt, and vice versa. M. C. Escher was highly appreciated by
eminent scientists, crystallographers and mathematicians (including the fa.
mous Canadian geometer H. S. M. Coxeter, the man who loved symmetry) .
126 5. TILING AND PACKING
Roger Penrose (1931 ) p. 310)
John Horton Conway (1937 ) p. 310)
Nonperiodic tiling
Sir Roger Penrose, t he outstanding British mathematical physicist and
cosmologist, is probably best known for his books on popular science and the
1974 discovery of non periodical tilings of the plane. Being a lso a recreationa l
mat hematician, he searched for sets of ti les that. t ile only non periodically. For
a long time experts were convinced that such a set does not exist. However, in
1964 Robert Berger constructed such a set using more than 20,000 ·wanglike
dominoes, named after Hao Wang who introduced in 1961 set s of unit squares
with colored edges (see Gardner {82] for details). Later Berger reduced t he
number to 104, and Donald Knuth found a n even sma ller set of92. Dramatic
improvement was made by Ra.phael i'vl. Robinson who constructed six tiles
that enable a nonperiocl ic tiling.
Roger Penrose
1931
Fi nally, Roger Penrose came to the tiling scene. In 1974 he found a
set of only two tiles that force nonperiodicity. J ohn Horton Conway, an
other famous British mathematician and abo a top expert in tiling problems,
na1oed these tiles "kite" and "dart" . They a.rc derived by cutting a rhombus
with angles of 72 and 108 degrees and the sides equal to the golden ration
if; = (1 + ../5)/2 ::::: 1.618, as shown in Figure 5.4. What is really surprising is
that such tile pattems were later observed in the arrangement of atoms in
quasicrystals.
NONPERIODIC T ILING 127
"'
T
H
H H
/
/
/
/ "1>
"6(1 /
> /
/
/ 36(1
t/1
1> = 1;/5
T T
Kite
T
Dart
FIGURE 5.4. Construction of Penrose's t iles, kite and da.rt
Now we have tools, kites and darts. Wouldn' t it be nice if we could joint
these tiles in such a wa:y as to periodicity, and also bumps a.nd dents?
Penrose proposed a simple way. Let us mark the corners H (hea.d) and T
(tail) as is shown in Figure 5.4 right. Then, to provide nonperiodic tiling,
it is suffi cient to fit tiles so that only corners of the same Jetter may touch.
Penrose's proof that t he tiling is nonperiodic is based on the fact that t he
ratio of the numbers of pieces of the two shapes is golden ratio <P = 1.618 ... ,
that L5 , an ina.tional num her. The complete proof is beyond the scope of
t.his book.
The described t iling with kites and darts produces rema.rkable Penrose
pa.tterns which ma.ke in turn Penrose universes. These universes contain
amazing patterns and shapes, a nd possess surprising features that take your
breath away. Most of them were discovered and studied by Roger Pemose
and John Horton Conway. It is interesting to note that Penrose, follow
ing Escher's transformation of polygonal t iles into a.nimal shapes, generated
nonperiodical tiling pa.tterns by changing his kites and darts into chickens!
Many detai ls can be found in Chapter 7 of Gardner's book The Colossal
Book of Mathematics [82].
Using t ranslations a.nd rotations of Pemose's kites and darts, it is possi
ble to create numerous extraordinary patterns. Playing with these tiles is
very plea.sura.ble and you ca.n genera.te remarka.ble pictmes tha.t will rea.Uy
astonish your friends. Here is one easy but interesting ta.sk.
Problem 5.2. * A1·med with kites and darts, t1y to const?'Uct ·the tru.ncated
y·hornb11.s shown in Figme 5.5 togethe1' with its dimensions, 'Whe1e c,b = 1.618 ...
is the golden r·atio.
128 5. T I LING AND PACKING
FIGURE 5.5. Penrose's tiling of t he truncated rhombus
John Horton Conway has been mentioned above in connection with Pen
rose's nonperiodic tiling. Together with ChaJ·les Radin, ConWity experi
mented with another kind of nonperiodic tiling, the socalled pinwheel tiling.
Pinwheel tiling uses only one tile, a rightangled t riangle with sides 1, 2, v'5,
but it allows infinitely many orientations of this unusual tile; see l143j. The
t iles can match edgetoedge, but also vertextoedge. An example of the
pinwheel tiling is shown in Figure 5.6.
FIGURE 5.6. The pinwheel t iling
MAXIMUM AREA BY PENTAMINOES 129
Donald Knuth (1938 ) (4 p. 310)
Donald Knuth
1938
Perhaps t he most innovative computer scien
tist ever, Donald Knuth (Stanford University),
the author of the tlueevolume masterpiece The
A1·t of Compute1· P1·ogramming and the creator of
'!EX, the revolutionary typesetting program, has
solved and analyzed a multitude of mathematical
problems by using computer techniques. Knuth
has gjven significant contribution to recreational
mathematics collaborating, among many authors,
with Martin Gardner in his famous column Math
ematical Games in the journal Scient·ific Ameri
can and the famous mathematicians John Horton
Conway and Ronald Graham.
Aside from the extremely complex problems that he has considered, he
has also tackled various challenging tasks and three of which we
present in this book (this chapter, and Chapters 7 and 10).
Maximum area by pentaminoes
A polyornino is a ny figure consisting of a set of edgeconnected unit
squa.res. For instance, a domino is the rect angle formed by two unit squa.res.
Fivesquare figures , called pentaminoes, are useful in constructing various
games. Many different types of polyominoes CI)Jl be found in Golomb's ex
cellent book, Polyominoes [87] . There are exactly 12 pentarnino figures, each
of which, to a certain extent, resembles a letter of the alphabet, as Figure
5. 7 illustrates.
u v T L
y
N
X
p
w F z
FIGURE 5. 7. Twelve pentaminoes denoted by t he letters of the a lphabet
130 5. T I LING AND PACKING
We ba.ve selected the following puzzle among the ma.oy where pentaminoes
figure as the majn obj ect .
Problem 5.3. Us·ing the full se·t of 12 pentominoes, fo·rm a .fence o.f any
shape M'O·und the la.ryes·t possible field of cmy shape.
Figure 5.8 shows a pentarnino fence that encloses a shape wit h a. ma.ximum
area of 128 unit composite squares. Donald E. Knuth proposed t he solution
and proved t hat t he number of 128 squares cannot be exceeded [75, p. 109].
128
FIGURE 5. 8. Pent amino fence of t he ma.ximum a rea
Ten years after Knut h published hls solution in the Scientific Arne'T'i can,
Pablo E. Coli from Argentina. posed the same problem once again in the
Journal of Recr·eational.Matherrwtics, No. 1 (1983). Among many submitted
solutions, two of them a.ttracted particula r attention. Using t he come1··to
come1· configuration, S. Vejrnola from Prague found the solut ion displayed
in Figure 5.9 wi th a hole whose area is an even 161 units.
161.5
161
FIGURE 5.9. A hole wit h area of 161 FIGURE 5. 10. A hole with <J.rea of 161.5
TILINGS BY PENTAMINOES 131
T . M. Ca.mpbell of Feilding, New Zea.Land, constr ucted a second solution
sbown in Figure 5.10 configuring a.n area. of 161.5. Campbell did not place
the pentaminoes in the e:t'Pected perpendicular or horizontal position since
the task had never explicitly stipulated placement conditions; he preferred
employing a. "disheveled" style. Qui te proba.bly, such a. style would lead to
a.n increase in the area. of the hole. The competit ion ended a.fter a. hea.ted
debate that "oblique" solutions such as Campbell's should not be regarded
seriously. Although never actually expressed, in solving similar polyomino
problems one has always understood that the pentaminoes should be placed
perpendicularly or horizontally; the corners of the pieces must coincide with
the lattice point of the plane. Subsequent to the extensive debate referred
to above, Knuth's record shown in Figure 5.8 remains unbeaten.
Here is a similar puzzle with aU 12 pentarninoes, posed by Pablo Coli fTom
Argentina in Jou·rna.l of Mathematics (Problem 134"7). One
assumes that t he side of each pentamino bas the length l.
Problem 5.4. * Joi.n two differ·ent "empty" pentaminoes to for·rn a. hole
o.f the area 10 units, and const?·uct a?otmd the hole a 1ectangle u.s·ing all 12
pentaminoes tmde!' the .following conditions:
1) Each o.f the 12 pentaminoes nwst bot·de?' ·the hole.
2) The perimete1· of a Tectangle shmtld be at most 34.
Can you constr11ct such a 1ectangle?
Hin·t: T he problem is difficult and we give a hint as a help to the reader:
the bole inside a rectangle looks like this : L ....
Problem 5.5.* Using al/12 penta.m·inoes (shown in Figtwe 5."7) solve the
.following two t·iling problems:
a.) Cove?' the 8 x 8 chessboar·d with all 12 pentam·inoes so that one squcwe
tetrami.no ( 2 x 2) co·uld be placed at the centet· of the board (the squar·e.s
d4, d5 e4, e5).
b) Cove?' an incomplete 8 X 8 chessbom·d except the jou1· come·r squmes
(at, aS, hi, h8) with alll2 pentaminoes.
Now we present several problems concerning the tiling of plane polygons
by other plane polygons. The next example is probably familiar to the
reader.
Problem 5.6. * Two dio.gonally OpfJ08ite sq·uates of a standanl chessboa.rd
8 x 8 /l(we been cut 011t. Can you cove1· the given tnmcated boa?·d, consisting
132 5. T I LING AND PACKING
of 62 squa.r·es, with dominoes 11Jhose size 1s .9•uch that each of them cove·ts
exactly two srnall.9qua1es? See F1gu1e 5.11.
D
F IGURE 5.11. Covering by 2 X 1 dominoes
Problem 5. 7* (Fuchs and Tabachnikov [67]). Is ·it possible to tile
a lO x 10 squar·e composed of 100 ·unit squMes u;ith Lslwped tiles con
S'isting of 4 unit squares. Notice that the Ltile,q may have e·ight diffe1'ent
Ol'ientations.
The reader may remember Heronian triangles from Chapter 2 (Problem
2.9), they have rationa,l sides. It is quite natura.J to focus our a.ttention to
a more interesting subject, squares with rational sides, often called rationa.J
squares.
4
Squal'in.g the squm·e is the problem of tiling one integra.J square
using on ly ot.ber integra.J squa.res. The problem becomes more challenging
and more difficult if all constituent squares a.re required to be of different
sizes. Then we speak a.bout the petject squared square. The number of
the contained small squares is called the o1·de·r of a perfect squared square.
This int riguing problem, which belongs to combina.torial geometry, has been
extensively studied for more t ban sixty decades. \VIa.thematicia.ns and com
puter scientists ha.ve searched for the answer to the following question of
great interest.
Problem 5.8. Find the pe·tject squcned square of Lowest o•rder·.
4
Squares with integral side;; are more interesting and challenging t han rat ional squares;
consequently, most of problems directly handle integral squares.
SQUARING THE SQUARE 133
The first perfect squared square, with the order 55, was constructed by
Roland Sprague in 1939. This record was beaten severa.J t imes duri ng the
later forty years period. At the beginning of the 1960s, t he Dutch computer
scientist Adrianus .J. W. Duijvestijn ( 19271998) sta.rted to investigate t he
problem. His doctoral thesis, Electr·onic cornputat·ion of squar·ed ?'ectangles
(1962) was a.n introduction to his sea.rch for simple perfect squared squares.
Although he had straightforward ideas, t he limit of the power and memory
of computers at that time kept him from any further research.
27
35
50
8
19
15
17 11
2 6
9
7
24
25
18
29
16
4
37
42
33
FIGURE 5.12. Perfect squared square of tl1e lowest order
When t he computer storage and processing power had grown significantly,
Duijvestijn returned to the problem a.nd finaJly, using a computer program,
he found the lowest order perfect squared square on March 22, 1978; see [57].
This square, composed of 21 smaller squares, is carved into the bla.ck granite
surfa.ce of a monument erected a.t the University of Gottingen, Germany.
Duijvestijn's per fect squa.re of min.ima.t order is shown in Figure 5.12.
It is worth mentioning that a related problem of tiling the pla.ne with
squa.res of different sizes, unsolved fo r many years, was recently solved.
F. V. Henle and .J. M. Henle proved that the plane can be tiled with a
set of integral squares such that each natmal number is used exactly once
a.s the size of a square tile; see [101].
134 5. T I LING AND PACKING
H. Re.icbert a nd H. Topkin proved .i n 1940 t bat. a. recta.ngl.e caJ1not be
dissected into fewer than nine different integral squares. Here is <1 problem
that requires squaring a rectangle.
Problem 5.9. * Can you dissect the 1ecta.ngle 32 x 33 into nine
of difje?'ent sizes?
H!nt: The largest constituent square is 18 x 18.
David Gregory (16591708) (> p. 304)
I saac Newton (16431727) (> p. 304)
David Gregory was the nephew of t he more famous mathematician J ames
Gregory (1638 1675). He became a professor of mathemat ics at t he age of
24 a.t tbe University of Edinburgh where he lectured on Newtonian theories.
David Gregory supported Newton strongly in t he NewtonLeibniz priori ty
dispute over t he discovery of integra.! a.nd differential calculus. Newton re
ciprocated by assisting Gregory in his efforts to build a successful career.
Kissing spheres
The problem of the thirteen spheres, or the problem of "kissing spheres",
a reference to billiard terminology, arose as a result of a. famous conversation
between David Gregory and L5aac Newton at Oxford in 1694.
Problem 5.10. Ho·w many 1mit sphe1·es can s·imultaneou.sly touch a given
sphe1·e of the same size?
Newton t hought that the ma.ximum was 12 spheres, while Gregory be
lieved the answer was 13. However, neither of them ha.d proof for their
statements. In honor of their discussion, the problem is sometimes referred
to as t he GregoryNewton problem (see, e.g., Aigner and Ziegler [3, Ch. 12],
Leech [122], Shuttle and Waerden [1551, Zong [194, pp. 10 13]).
Let A;(n) denote t he m<L"irnal number of ndimensional spheres t hat touch
a given sphere in the ndirnensiona.l space, in which all of the spheres a re
identical in size. T he number K(n) is sometimes called the Newton numbe1·
or kissing numbe!'. Then, obviously, one has K(l ) = 2 and = 6, as shown
in Figures 5.14(a) and 5.14(b) .
In 3dimensiona.l space a n arrangement of 12 spheres is possible; for exam
ple, one can place the touching spheres at t he vertices of a regular icosa.he
dron, as one may see in Figure 5.14(c). Da.vid Gregory <1Ud many after
KISSING SPHERES 135
him considered t hat this configuration, as well as some other configura
t ions, lea.ves "a. lot of space" for the thirteenth sphere. Thus, = 12,
or = 13: which is the true answer?
F IGURE: 5. 13. The Oxford discussiou of D>wid Gregory
and Isaac Newton on "kissing spheres"
For more than 250 years, this fascinating problem remained unsolved
although several "solutions" were advanced in literature covering physics
problems.
5
Finally, in 1953, Kurt Schtittle and Bartel L. vaJl der Waerden
[155J settled the problem dcfiui tely.
No mo1'e than 12 tmit spheres can be placed simultaneously ·in such a way
tha·t all of them touch a given sphe·re o,{ the same size.
5
See, e.g., C. Bender, Bestimmung der Anzahl _qleicher· Kugeln, weiche sic/1
auf eine Kugel von demselben Radius, wie di.e ubrigen, auftegen lassen, Archiv Math.
P hysik (Grunert) 56 (1874), 3023()6, R. Hoppe, 8emerkung der Redaction, Archiv Math.
Physik (Grunert) 56 (1874), 307 312, and S. G(inther, Ein ste1'<Wmebr·usches P1oblems,
Archiv Math. Physik (Grunert) 57 (1875), 209 215. More details can be found in (41,
Ch. 13J.
5. T I LING AND PACKING
In other words, A;(3) = 12. This means that even without a. proof, Newton
supplied the correct answer.
a) 1\;(1) = 2 c) = 12
F IGURE 5.14. "I<issing spheres" in ndimensional space
Three years after Schiitt le and van der Wa.erden's 1953 solution, John
Leech [122] provided a simple solution that a relatively wide circle of rea.ders
could understa.nd. The knowledge of spherica.l geometry a nd gJ·a.ph theory
suffices in order to comprehend Leech's solution. Chapter 12 of Aigner and
Ziegler's book [3, Ch. 12] also contains this solution. However, this solution
is beyond the scope of this book and we omit it.
Is it possible to find for a general dimension n > 3? It is quite
surprising that the problem of kissing spheres was solved in very high di
mension 24 giving A;(24) = 196,560 (Andrew Ocllyzko and Neil Sloane, and
independently Vladimi r Levenstein, all in 1979). J ohn Horton Conway, an
outstanding Cambridge mathematician now at Princeton, has remarked [82] :
"There is a lot of room up there." However , for a long time the problem has
been open even in dimension 4.
Philippe Delsarte (Philips Research Labs) found in 1972 that 24 < 4) <
25 (see [41, §1.2], [47], [139]), which leads to the p1oblem of the 24 spheres.
FiniLlly, t he Russian mathematician Oleg Musin, who lives in Los Angeles,
fo und that n:(4) = 24 (see ]139)). In this moment , the exact values for lattice
packing are known for n = 1 to 8 and n = 24; see Table 5.1 (according to
Internet site wwiL research.att . .html).
n 1 2 3 4 5 fi 7 8 24
2 6 12 24 40 72 126 240 196,560
TABLE 5. 1. Kissing numbe1·s i n dimension n
THE DENSEST SPHERE PACKING/ K EPLER'S CONJECTURE 137
Johannes K epler (1571 1639) p. 302)
Carl Friedrich Gauss (17771855) p. ao5)
The densest sphere packing
The mentioned Kepler problem of the densest sphere packing, is consid
erably more difficult t han the kissing spheres problem. Incleecl , it was not
solved unti l very recently (2005) by Thomas Hales, by malting extensive use
of computer calcula.tions.
The quantity that measures the efficiency of any packing is surely the
"density," t he tota,L a.rea or volume of t he objects being packed di\.;ded by
the t,otal area or volume of the container. In this ca.lculation the method
of limits should be applied assuming that the conta.iner boundary tends to
infinity. Let c5(n) denote the density of sphere packing in general dimension
n, and let o"'""'(n) be the density of the most efficient pa.cki ng. The classic
spherepa.cking problem thus reads:
P r oble m 5. 11. Fin<l the densest 1'<Lcking of equal sphe1es in the th.r·ee
space.
Johannes Kepler started with the sphere packing problem in 1611. He was
inspired not by piles of fruit but by an equally rea.) phenomenonthe shape
of a snowfla.ke. He wrote a. li t tle booklet, Strena Seu de Nive Sexangula
6
(The
SixCornered Snowflake), that influenced the direction of cryst.a llogra.phy for
the next two centuries. Kepler's interest to study arrangements of spheres
has also reinforced a result of his correspondence wit h t he English ma.th
ematician and astronomer Thomas Harriot in 1606. At that ti me Harriot
studied cannonba.ll pa.cking ilJld developed a n early version of atomic t heory.
Kepler sought the answer in geometry a.nd based his study on the fact
t hat natme imposes a regular geometric structure on the growth of such
seemingly diverse objects as snowflakes, honeycombs, and pomegranates.
St ated simply, he observed that nature always adopts t he most efficient
means to achieve its end. Kepler believed that facecente1ed cnbic packing,
shown in Figure 5.16(b), is the tightest possible (wit h t he density of1r/ Jl8) .
Today we know Kepler's statement as
Kepler's conject ure. Om.ax (3) = Jia·
18
6
I<epler 's essay on why snow flakes are hexagonal, was issued by Got tfried, Tampach,
Frankfurt 1611. This essay was written in t he form of a letter as a New Year 's gift for his
friend Johannes von vVn.ckenfels.
138 5. T ILING AND PACKING
Rectangular packing Hexagonal packing
a) b)
FIGURE 5. 15. The two familiar ways of ci rcle packing
Before discussing Kepler 's conjecture, Jet us consider first the case of disk
pa,cking in a plane. Two familiar wa.ys to a.rrange identical disks in order
to fill a pla.ne are shown in Figure 5.15. Figure 5.15(a) presents "rectan
gular packing" with the density <5(2) = r./4 0.785 and Figure 5.15(b)
presents "hexagonal packing'' with the density <5(2) = 1f I ,ff2 0.907. The
terminology refers to the figures formed by common tangents to the circles.
Therefore, hexagonal packing yields a greater density, which is evident from
the picture that indicates that this kind of packing leaves less space between
adjacent disks.
But it is less obvious that hexagonal packing is the most efficient among
all possible ways of packings, regula.r or irregula.r. In 1831 Gauss showed
that hexagonal packing is the densest among lattice packings. Within a.
plane, a. lattice is a collection of points a.rranged at the vertices of a regular,
twodimensional grid. The grid may be square, rectangular , or in the form
of identical parallelograms.
A la.ttice pa.cking of disks is one in which the centers of the disks form
a lattice. Rectangular and hexagona.J packings a.re clearly lattice packings.
Gauss left open the question of the most efficient of aH possible disk packings.
The Norwegian mathematician Alex Tlltle (1863 1922) is often credited with
the proof that hexagonal packing is the most efficient of all disk packings,
regula.r or otherwise, tha.t is, 8max(2) = nj,ff2 0.907. Thue presented the
first proof to the members of the Scandinavian Society of Natural Science,
THE DENSEST SPHERE PACKING/KEPLER' S CONJ ECTURE 139
published in 1892 (in Norwegian). Eighteen years la.ter , he ga.ve qui te a.
different proof in the 1910 paper (in Germa.n), reprinted in [130]. However,
George Szpiro explains in his book J( eplet·'s Con.jectme [ 172] that Thue
did not present complete rigorous proofs, only outlines of possible proofs.
The Hungaria.n mathematician Laszlo Fejes T6th was the first who ga.ve a.
rigorous proof in 1940: the hexagonal packing is the most efficient, reaching
8max(2) = n j.J0,.
Following Gauss, the first strategies in searching for the densest packing
of spheres in threedimensional cases were concentrated on lattice packing,
where the centers of the spheres fonn a threedimensiona.l la.ttice, a regular,
threedimensional grid. The fi rst major advance came in 1848 when the
Ftench botanist and physicist Auguste Brava.is proved that there are exactly
fourteen distinct kinds of threedimensional lattices. We recommend Devlin's
book [49, p. 156] to rea.ders interested in these 14 regular lattices in 3space.
One obvious way to a.nange spheres in a regula.r, lattice fashion is to
build up the arrangement layer by layer. It seems reasonable to arrange
each layer so that the centers of the spheres m·e one of the planar lattice for
mations considered above, the recta.ngular and the hexagonal. The resulting
packings are shown in Figure 5.16, where the first two arrangements possess
rectangular layers.
a) Cubic lattice b) Facecenteredco bic lattice c) Hexagonal lattice
FIGURE 5.16. T hree different ways of sphere packir1g by stacking regular layers
Kepler computed the density associated with each of the three lattice
packings shown in Figure 5.16. The densit ies found by Kepler were o(3) =
n/6 0.52% for the cubic lattice (Figure 5.16(a)), 8(3) = 1rj.,f'fi 0.6046
for the hexagonal lattice (Figure 5.16( c)), a.nd 8(3) = 1r / ,Jl8 0.7404 for the
f1tcecentered cubic lattice (Figure 5.16(b)). Thus, the facecentered cubic
140 5. T I LING AND PACKING
la.tti.ce (t be ora.ngepile a.rra.ngement that one often notices in the mar ket) is
the most effi cient packing of the three. But, is this wa.y of packing the most
efficient of all la.ttice packings? l\•Iore generally, is it t he most efficient of all
pa.ckings, regula.r or otherwise? Kepler's answer was "yes".
Gauss answered t he fi rst of t hese two questions not long after he had
solved an ana.logous problem in two dimensions. The second problem, how
ever, remains unsolved to this da.y.
The stacking of solid spheres in pyramids, known as facecentered cubic
pa,ck:ing (Figure 5.16(b)) , is familiar to chemists. This kind of packing is also
known as ca.nnonball packing, because it is commonly used for that purpose
at war memorials. An example of a cannonball pyramid elat ing from t he
sixteenth century is situated in front of the City !vi useum of Munich.
Nonetheless, t his kind of pa.cking does not impress greengrocers . "Sttch
a way of packing omnges is quite common jo1· u.s", they say, "but we have
troubles with the a?'rangement of artichokes. "
7
Until 1993, t he best known
bound on density, fotmd by D. J. Muder [129], was 0.773055, and hence we
can conclude tha.t the 1na.rket pile of oraJ1ges is very close to the best. We
will see later t ha.t, after Hales' proof, this arrangement of oranges is really
the most efficient.
The difficulty of t he problem under consideration stems from t he fact t hat
there is an unwieldy number of possible configurations and that uniform esti
mates are ra.rely fotmd. The question of whether there is an irregular packing
that might be denser than the pa.cking based on a. lattice is a very impor
ta.nt one. In 1900 the very difficult Kepler problem was included in David
Hi lbert's list of twentythree important unsolved problems of mathematics
(the International Congress of Ma.t bema.ticians at Paris).
From time to time, some researcher or another announces his solut ion, but
until recently, it has turned out in aU cases that some gaps were present in
the "proof". The very respecta.ble Bn.cyclopedia Britannica announced in its
1992 yearbook [93]: "Without do'tLbt the mathematiC(Ll event of 1991 was the
likel;IJ solut·ion of Keple?·'s sphe1epack·ing p1oblem by WuY.i Hsi.ang." Wu
Yi Hsiang (the University of California, Berkeley), announced his solution
through four preprints, i.e., a revision of a revision of a revision, in 1990/ 91,
yet each contained some flaws (for more details see [93]). His final proof
was disputed by some experts on sphere packing, claiming thM he gave
insufficient support for some of his assertions. One of Hsiang's harshest cri
tics was Thomas Hales, t hen at the University of Michigan, who was working
at t he time on his own proof.
7
According to Tbomas Hales 194) .
THE DENSEST SPHERE PACKING/HALES' PROOF
Thorn.a.s C. Ha.les, a professor of ma.tbema.tics a.t tbe University of M.ichi
ga.n, Ann Arbor , and currently Andrew iMellon Professor of JU<1thema.tics a.t
the University of Pittsburgh, has made t he most recent attempt. In his arti
cle, Cannonballs and Honeycombs, published in [9,1], Hales asserts that with
the help of Samuel P. Ferguson, be ha.s completed the proof of the following
statement.
Theorem 5. 1 (T . C. Hales) . No packi.ng o.f balls of the sa.me radi·us
in three dimensions has a densit;y g1·eater ·than ·tha.t of .{acecente1ed cubic
packing, that is, Om.u.x (3) = 1f / JIS.
Thomas Hales exposed a detailed plan of the proof and later gave a broad
outline of it. He stated that the proof is ra.ther long and every aspect of it
is based on even longer computer calculations applying methods from the
theory of global optimiza.tion, linear programming, and interval arithmetic.
To find the maximum density, Hales bad to minimize a function with 150
variables. The computer files require more than 3 giga.bytes of spa.ce for
storage a nd consist of 40,000 lines. The proof relies on lengthy computer
calculations checking ma.ny individual cases.
Although t he proof wa.s a computera.ided proof, the editors of t be journal
Annals of Ma.thematic.s accepted t be report of a jury of twelve referees who
investigated the proof for four years, and published this proof in an abridged
form (126 pages); see [95]. The referees did not raise doubts about the overall
correctness of t he proof, although they could not check t he correctness of
all of the computer codes. The una.bridged Ha.les' paper (265 pages) was
publi shed io Discr·ete and Corrwutationa.l Geomet1·y [96].
It is perhaps that greengrocers would not be impressed by Hales' proof,
but experts are generally optimistic and a.ccepted it with a great deal of
euphoria .. However, there is a small group of sceptics who both point to the
possibility of software and hardware errors and a lso consider that absolute
certainty is required in a proof, as achieved by a structured sequence of a.rgu
ments and logic, known among mathematicians as a "formal proof" . They
sa.y: "If h·istor·ical precedent counts jof' anything, and ha·uing in m·ind the scep
t·ic·i.sm p!'o·uoked by the numbe1· of p!'oofs that conta·ined deficiencies, gaps O!'
·incoiMi .. stencies, only after thei.?' P'•blication, then one might wait
for yem·s I< eple1·'s conjectme ·is accepted as a theo·rem."
In response to the difficulties in veri fying computer codes in his proof and
computeraided proofs in general, Thomas Hales launched t he "Flyspeck
project" (the name derived from the acronym FPK, for the Formal Proof of
the Kepler conjecture), a ftmdamenta.l system for doing mathematical proofs
on a. computer; see [97].
142 5. TILING AND PACKING
John Horton Conway (1937 ) H p. 310)
John Hort.on Conway
1937
John Horton Conway, the outstanding British
professor of mathematics at Cambridge and later
at Pri nceton, and a member of t he Royal So
ciety of London, is widely known among math
ema.ticians and amateur mathematicians for his
remarkable contributions to combinatoria.J game
theory a.nd ma ny branches of recreational ma.the
matics. His book Winning Ways for Ma.the
ma.t'ica.l Plays, written wi th E. R. Berlekamp and
R. K. Guy (published in 2 volumes in 1982 and
4 volumes in t he second edition in 2001) , has at
tracted the attent ion of a wide audience for many
yea.rs.
J. H. Conway became instantly famous when he launched in 1970 the
Game of Life, a kind of artificia.l simulation of life. Ma.rtin Gardner, who
fi rst published Conway's invent ion in his Mathematical Games column in
Scientific Ame?'ican (October 1970), S<\id: "The game opened 11.J' a whole
new .field of mathematical reseai'Ch, the field of cell1J.l a?' automata.. . . Be
cause of Life's analogies with the l'ise, fall and altemtions of a society of
living organisms, it belongs to a .QI'OWing class of what are called 'simttlation
games' (.games that 1esernble 1eallije pn1cesses). " Researching certain games,
Conway came to a. new system of numbers, named SUI'real numbers by Don
a.l d l<nuth . John Conway proposed mathemat ical pu:r.zles, including
cubepacking puzzles, the subject of our final exposition in this cha.pter.
Cubepacking puzzles
One of the first cubepacking puzzles appea.red in 1970 in a book by
the Dutch architects J an Slothouber and William Graatsma. This puzzle,
sometimes called Slothouber Graa.tsma Conwa.y cube puzzle, is presented
in this chapter as P roblem 5.13. However, the versatile genius John Horton
Conway had wanted to design more difficult cubepacking puzzles a.nd, as
may be expected, he was very successful as usual; today t here are many
variants of Convey's cubes. One of them is given in Figure 5.17.
P roblem 5.12.* It is 1equi1ed to assemble thi1·teen 1 x 2 x 4 blocks, th1ee
l x 1 x 3 blocks, one 1 x 2 x 2 block, and one 2 x 2 x 2 block into a 5 x 5 x 5
C'ltbe (Figure 5.17) .
CONWAY'S CUBEPACKING PUZZLES 143
13
l][Jr 'I ·c.ll'i'' I
_____,  1. 
+ 3
+1
+ 1
.FIGURE 5. 17. Conway's cubepacking puzzle
This puzzle is very difficult because there is an immense number of ar
rangements of blocks, especially if you try to solve it by trial a,nd error. You
immediately ask yourself which blocks must be placed in the first moves.
, ;veil, "the beginn·ing is al1uays the rnost diffic·ult," the old stories tell us, and
it is more than true in this particula.r problem. However, t here is a nice and
attractive theory proposed by Gardner [76] and Honsberger [106] based on
the coloring of the unit cubes. To sa.ve space and rela.x the reader, we omit
it ; nevertheless, the basic principle ma.y be fou. od as a. part of t he solution
of Problem 5.13.
If you are still desperate to know the solution key, here it is! It is the
structure crea.ted by the smallest blocks; see Figure 5. 18.
z
4
3
s X
2
I
y
f' IGUR.E 5. 18. The starting position of Conway's cube puz.zle
The smallest blocks 1 x 1 x 3 must occupy all 15 layers 5 x 5 in all
three perspectives, as shown in Figure 5. 18. Upon using this ba$e it is not
144 5. T ILING AND PACKING
pa.rticulaJ·Iy difficult to find a.t least one of many ways of packing t he laJ·ger
blocks 1 x 2 x 4, 1 x 2 x 2 a.nd 2 x 2 x 2 a.round the already positioned sma.llest
bricks 1 x 1 x 3. Impatient and nervous readers can find the complete solution
at the end of this chapter (5.12.).
Vve end t his chapter with the already mentioned Slothouber Graatsma
Conway cube puzzle.
Problem 5.13. * Assemble six 1 x 2 x 2 blocks and thr·ee 1 x 1 x 1 blocks
·into a 3 x 3 x 3 cube.
Before answering some questions posed in this chapter, let us mention two
variants of Conwa.ys' 5 x 5 x 5 cube that may be of interest to the reader.
The blocks to be used in the first variant a.re fourteen 1 x 2 x 4 blocks, three
1 x 1 X 3 blocks and one 1 X 2 x 2 block. In another version it is required
to assemble thirty 1 x 2 x 2 blocks and five 1 x 1 x 1 blocks into a 5 x 5 x 5
cube.
Answers to Problems
5.2. One solution is shown in Figure 5.19.
1 + 2c}>
1 + 2c}>
F IGURE 5.19. Kites a nd darts t ile t he truncated rhombus
5.4 . Figure 5.20 shows the absolute minimum solution: the perimeter
of 34 units cannot be decreased. The displayed solution was first given by
P. J. Torbijn in 1984. The problem can be efficiently solved by a. computer
program.
ANSWERS TO P ROBLEMS 145
FIGURE 5.20. Pentaminorectangle with mi nimal perimeter
5.5. One solution of the first problem is shown in Figure 5.21. T. R.
Dawson, a famous English composer of chess (and other) problems, proved
that this covering problem has a solution for the a rbitra.ry position of the
squa.re tetra.mi.no. In 1958 Dana Scott, a mathematicia.n from Princeton
University, used a. computer program to find 65 different solutions (excluding
those solutions obtainable by rotations and reflections) wi th the square in
the center of t he board. However, the fi rst solution for covering a chessboard
with all 12 pentaminoes (not requiring t he tetramino in t he center) comes
from H. Dudeney [55]. In his solution the squa.re tetramino is located on the
edge of the board.
One solution of the second problem is displayed in Figure 5.22.
FIGURE 5. 21. Board without
central square
FIGURE 5.22. Board without
corner squares
146 5. T ILING AND PACKING
5.6. Let us recall that the chessboard is bla.ck and white colored; see
Figure 5.23. Since the cut opposite squa.res a.re both bla.ck, there are 32
white squares and 30 black squa.res. One domino, placed either horizontally
or vertically, always covers one white and one black square. Therefore, no
tiling exists. Notice that the coloring principle can be usefully applied to
resolve a. variety of packing problems; see Klarner [114).
A simila.r approach based on the coloring argument deals with the num
bers 0 and 1; the number 0 is written in each white square and 1 in each
black square. The total smn of these numbers is 30. On the other ha.nd,
the dominosum for ea.ch domino is 1, making the total dominosum equal
to 31 x 1 = 31, not 30. This proves that the tiling is impossible.
FIGURE 5. 23. Tiling the truncated chessboard
5.7. Recall that the £tile is one of the tetraminoes, the wellknown
pieces from the famous computer ga.me "Tetris" proposed by the Russians
A. Pajitnov and V. Gerasimov. The posed tiling problem can be solved
effectively using the numbercoloring argument presented in the solution of
Problem 5.6.
First we write 1s and 5s in the small cells of the large square, as shown in
Figure 5.24. Notice that each Ltetra.mino covers either three ls and one 5
or three 5s and one 1. Therefore, the sum on a tile is either 8 or 16, in other
words, a multiple of 8. Now we calculate the total sum S of the numbers on
the large sqmtre: S = 5 x 10 + 5 x 50 = 300. Since 300 is not divisible by 8,
we conclude that the tiling is impossible.
ANSWERS TO PROBLEMS 147
1 1 1 1 1 1 1 1 1 1
5 5 5 5 5 5 5 5 5 5
1 1 1 1 1 1 1 1 1 1
5 5 5 5 5 5 5 5 5 5
1 1 1 1 1 1 1 1 1 1
5 5 5 5 5 5 5 5 5 5
1 1 1 1 1 1 1 1 1 1
5 5 5 5 5 5 5 5 5 5
1 1 1 1 1 1 1 1 1 1
5 5
0 5 5 5 5 5 5 5
F IGURE 5.24. Tiling by Ltetraminoes
5.9. The required solution is shown in Figure 5.25.
14
18
4
10
1
7
15
9
8
FIGURE 5.25. Rectangle composed of 9 squares
5.12. We will represent t he solution in the xyz coordinate system, but
ta.k.ing strips instet\d points, a.s shown in Figure 5.18. For example, the
uni t cube in the origi n corner is represented by (1,1, 2), while the sma.llest
blocks 1 x 1 x 3, pla.ced in the sta.rtiog position (see Figure 5.18) have t be
"coordinates" (1, 1,345), (2,234,2), and (345,5,1). The number of digi ts
from t he set {1, 2,3,4,5} gives the dimension of a block (that is, the number
of unit cubes) in the corresponding direction. For ext1.mple, (345, 5, 1) tell us
148 5. T I LING AND PACKING
FIGURE 5. 26. Conway's 5 X 5 X 5 cube puzzl esol ution
ANSWERS TO PROBLEMS 149
t hat t he dimension of the pla,ced block is 3 x 1 x 1 a.nd it occupies the strips
3, 4 and 5 a.long the xa.xis, the strip 5 along the ya.xis and t be strip 1 a.long
the zaxis. Usi ng t his notation, we give one solution below.
1 3 (23, 1234, 1) ( 45, 1234, 1) (2345, 1, 23)
4 6 (2345, 1,45) (1 , 1234,12) (1, 1, 345)
7 9 (2, 234, 2) (12, 23, 34) (12, 4, 34)
10 12 (12, 5, 1234) (345, 5, 1) (34, 2, 2:l45)
13 15 (34,3,2345) (34, 4, 2345) (34, 5, 2345)
1618 (5, 2345, 23) (5, 2345, 45) (12, 2345, 5)
The corresponding illustrations which show the packing of the 5 x 5 x 5
cube are shown in Figure 5.26.
5. 13. As in the case of Conway's 5 x 5 x 5 cube, the solution is not
hard to find once we come to the correct initia.J structure. The cube
3 x 3 x 3 has 9 layers (cross sections), t hree from each perspective, one
of them being shown in Figure 5.27 left iu checkerboa.rdcoloring. The blocks
FIGURE 5.27. Conwaylike 3 X 3 X 3 cube puzzle solu tion
1 x 2 x 2 alwa.ys occupy an even number of cells in each layer , leaving 1 or 3
cells for the unit blocks 1 x 1 x 1. It is immediately clea.r that all 3 unit blocks
must not be placed on a single layer because the remaining layers could not
be covered completely wi th the 1 x 2 x 2 blocks. Therefore, we conclude that
each of the ni11e layers must have in it one and only one of t he 1 x 2 x 2 block.
150 5. T I LING AND PACKING
Furthermore, we observe tbat a. unit cube must be at the center or at one
of the corners (black cells). Indeed, placi1'g a unit cube at one of t be white
cells leaves 3 white cells and 5 black cells for the a n a.ngement of the 1 X 2 x 2
blocks. But this is impossible because there are equal numbers of remaining
black and white cells. The only way to fulfill the mentioned conditions is to
place 3 blocks 1 x 1 x 1 a.Jong a spaee dia.gona.J. Using the nota.t ion from
the solution of Problem 5.12, one initial posi tion of t he unit cubes can be
represented as (1, 1, 3) , (2, 2, 2), (3, 3, 1). Obviously, these cubes can also be
placed along other space diagonals.
One solution which starts with the ment ioned initial position of the unit
cubes is given below.
15 (12,1, 12)
6 9 (1, 23, 23)
(12, 23, 1)
(23, 12,3)
(3, 12, 12)
(23, 3, 23)
(:{, 3,1)
(1, 1, 3)
(2, 2,2)
The illustra.tiou of the completed 3 x 3 x 3 cube is shown in Figure 5.27 right.
Chapter 6 PHYSICS
In physics, you don't have to go a1·ound
making tro11ble fo·r you·rself nahwe does it jo1· you.
Frank Wilczek
Among the oldest puzzles are those that rely on elementary physical prin
ciples or involve physical objects. Everyone is familiaJ· with Zeno's paradox
on the race of Achilles and a tortoise. Aristotle describes in his Phy$·ics
that the quickest runner can never overtake the slowest, since the pursuer
must first reach the point from where the leader stM·ted, so that the one
who stM·ted first must always bold a lead. Surprisingly, some philosophers
believe t ha.t a. correct explanation of this piu·adox has not been given yet.
From the beginning of science, mathematicians and physicists have had
close colla.bora.tion. Many mathema.tica.] theories ha.ve arisen in solving
physics problems. On the other hand, the development of some new the
ories in physics was impossible without profound mathematics (for example,
Einstein's theory of relativity and quantum mechanics). However, some
times ma.thema.ticia.ns and physicists do not get a long. The famous physicist
Ernest Rutherford once said: "All science ·is e·i'tllel· physics Ol' stamp collec·t
ing. " His contemporary, the great mathematician David Hilbert, retaliated
him: "Physics is too hard for physicists," implying that the necessary math
ematics was genera lly beyond t hei r reach. There is a. wildly spread joke on
Internet sites: "An engineer· thinks tha.t his equ.<ttions an
to l'eal·it)J. A phys·icist thi.nks real·i·t11 ·is an approxi.mat·ion to his equa·t·ions.
A ma thematician doesn't care. " And one more: "A mathematician bel·ieves
nothing 1mt·il ·it is p·roven, a physicist believes eve7')Jthing 1mti.l it is p·roven
wrong."
Many physicsmath puzzles are concerned with motion, tra.ced distances,
commuter problems, fluid properties, questions of ba.la.nce, time ma.chines,
physical principles and phenomena. Puzzles tha.t belong only to physics
and contain very little or nothing of mathematics are not considered in this
book. They can be found in many books devoted exclusively to the topics of
physics. In this chapter we use physics terminology freely, assuming that
the reader possesses some basic high school knowledge of physics.
151
152 6. PHYSICS
The first puzzle of t bi s cha.pter is the classical problem on t be gold crown of
King Hiero, attributed to Archimedes. Its solut ion is based on Arcbirnedes'
discovery, the first la.w of hydrostatics. You probably know a.bout the legend
of Archimedes who, excited after t his cliscovery about the displacement of
wa.ter in his bath, ran naked through the street crying "Eu.reka!" A motion
problem by Nicole Oresm.e is given to demoustra.te an elegant solut ion us
ing a. geometrica.J method instead of summing infinite series. It was a fine
achievement in the fourteenth century. Summing au infinite series is a.lso
mentioned in connection with the ability of ,John von Neumann to quickly
operate wi t h complicated aJld long e:. pressions by hea.rt . The main attention
in this ch.a.pter is devoted to the famous problem on the Lion. and the mat1 in a.
circula.r arena, proposed by Richard Rado in 1932 and studied by numerous
mathematicia.ns, including Littlewood and Besicovit ch. In this problem you
a.gain . ee some infini te . eries.
*
* *
Archimedes (280 a.c. 220 B.c. ) ( t p. 299)
The gold crown of King Hiero
The following frequently told story of King Hiero's
1
gold crown is often
connected to Archimedes (see, e.g. , [1001):
To celebr·ate his victm'ies, King Hiero ordered a crmun of pure gold. When
the tuas finished, the infonnation came th.a.t the gold.'Sf' nith had with
held a ce1·ta·in amo·unt o.f gold l'eplacing it with silvel'. The king, tmable to
:find a way of detecting the theft, re.fel'red the mal'tel' to A1chimedes. While
A1·ch.i.medes tuas consi.dering this pi'Oblem, he happened to go bathing. As he
entered the bathing pool, it occurred to him that the amount of 'W<Lte7·· flow
ing ou.ts·ide Ut e pool was to the volume o.f his body tha·t was ·imrne1·sed.
A l'chimedes l'eal·ized ·that he cottld appl:lJ this fact to the problem at hand.
Elated, he 7'0Se ft·orn the tJool and foryetting to clothe himself, he nm horne
1l.(tked shouting loudly: "Etweka, emeka! (I ha.ve found it!) . "
Archimedes' cliscovery was, in fact, the fi rst law of hydrosta.tics, given as
Proposition 7 in his first book On Floating Bodies:
A body imrner·.sed ·in fluid is l·ighte·t than ·its tl"'te weight by the weight of
the flu·id displaced.
1
Hiero, or Hieron, t he king of Syracuse, third centm·y B.C. , Archimedes' relative (ac
cording to some historians) .
GOLD CROWN OF KINO 1IIERO/ LENOTH OF TRAVELED TRIP 153
Let us return to tbe problero of the ki.ng's crown and solve tile following
task.
Problem 6.1. P·ind the ratio of gold to s·ilver ·in Hie·1o.s' cr·o·wn u.sing
Ar'Chimedes' law of hydrostatics.
Suppose that a crown of weight tv is composed of unknown weights w
1
and tv2 of gold and silver, respectively. To determine the ratio of gold to
sil ver i.n the crown, first weigb the crown in water and let F be the loss of
weight . This Moount ca.n be determined by weighing the water displa.ced.
Next take a. weight tv of pure gold a.nd let F
1
be its weight loss in water. It
follows that the weight of water displaced by a weight w
1
of gold is F
1
.
Similarly, if the weight of water displaced by the weight w of pure silver is
F
2
, tbe weight of water displaced by a weight w
2
of silver is · :; F
2
. Therefore,
Substituting ·w = 'w
1
+ ·w
2
in the last relation, we find the ratio of gold to
silver.
'
Nicole Oresme (1320 1382) (> p. 301)
The c&eer of French mathematician Nicole Oresme carried him from
a. college professorship to a bishopric. He was a mathematician, physi
cist, astronomer, philosopher , musicologist, theologia.n, a.nd fi.naJiy Bishop of
Lisieux. Oresrne was probably the most eminent and influential philosopher
of the fornteenth century. Today the widely known apology, "I indeed know
nothing except that I kno·w that I l.;rww nothing," is attributed to Oresme.
Consider ing t he problem of mot ion, and in particular t he quantitative
representation of velocity and acceleration, Oresme bad in essence developed
the idea of representing the functional relationship between velocity a.nd time
by a curve; see Clagett (36]. G iovannl dl Cosali gave an earlier graph of
motion, however, it lacked sufficient clari ty and impact.
The length of traveled trip
Oresme's geometric technique appeared some 250 years before t he work
of Galileo Galilei (1564 1642) in this field. Oresme studied t he above
mentioned subject in an abstract sense only; this becomes evident in the
following problem of velocities that increa.se without botmd.
154 6. PHYSICS
Problem 6 .2. The velocity of an obje<:t ·is taken to be 1 unit d1£?'ing the
ji1·st half of the t·ime intenal A B , 2 1m its in the next q·ua1·ter, 3 units in the
next eighth, 4 in the next si:cteenth, and so on, to the infinity. Calculate the
total distance traveled.
r
G
F
1
8
E
1 1
4 8
E F G
1
1
1
2
4 8
A B c D
FIGURE 6.1. Geometric method of summing t he infinite series
Solution. The sum of the infinite series given below yields the distance
traveled:
, 1 1 1 1
5 =  ·1+  ·2+  ·3 + .. · +  ·n+ ... .
2 4 8 2"
(6.1)
Oresme found that t his sum is equa.l to 2, using a.n elegant geometrical
method. He drew a. square of base CD equa.l to flB (= 1) a.nd divided i t
"to infinity into parts continually proportional according to the ratio 2 to 1"
(Figure 6.1) . In other words, E represents ha.!f of the square, F one quaJ·ter,
0RESME'S INFINITE SUM/MOSER'S PACKING 155
G one eighth, a.nd so on. The rectangle E is placed over t be right h.a.lf of
the square on AB, .F atop the new configura.t ion over its rigbt quarter, G
atop the right eighth, and so on. It is evident that the total area. of the new
configuration, which represents the total distance traveled, is not only equal
to the sum of the infinite series but also equal to t be sum of the a.rea.s of t he
two original squa.res.
Let us pause for a. moment and lea.ve to t he reader the pleasa.nt work of
finding Oresme's sum.
P r oblem 6.3.* .Find the infinite sum (6. 1) in an elementary way. No
derivat·ives, please!
Figure 6.1 and the summa.t ion by the "packaging" method resembles very
much a subtle problem of Leo l\
1
Ioser, a professor of the University of Alberta
(Canada.) . Consider the squares with the sides 1/ 2, 1/3, 1/4, .... These
numbers form the soca.l!ed hannonic series
1 1 1
 +  +  + ...
2 3 4
whose sum is infini te. The proof may be found in a.lmost every textbook on
series or calculus. However, the total a rea of these squares is fini te. Tllis
was discovered in 17 46 by Euler who found that
2
(
1) 2 ( 1) 2 ( 1) 2 1i2
2 + 3 + 4 + ... = 6  1 ;;::: 0.644934.
Ha.ving in mind this result, Leo !vloser posed the following problem:
Problem 6.4. * Can the infini·te numbe1· of squares wi·th sides 1/2, 1/ 3,
1/4, . . . be fitted without overlap into a '!mit squ.a1·e?
Edouard Lucas (18421891) (+ p. 307)
The French mathematician Edouard Lucas is best known for his results
in number theory: he sta.ted a method of testing primality which, after
refinement by D. H. Lehmer in 1930, bas remaj ned in use up to the present
da.y under t he name Luca.s Lehmer test. Lucas particula rly stu<lied the
sequence defined by .F,. = F;,_
1
+ F, _z, arising from Fibonacci's rabbit
problem (page 12) , a,nd named it the Fibonacci sequence. Some of t he
2
According to C. B. Boyer (26) , Euler's mentor Johan Bernoulli had this result. four
years before Euler.
156 6. PHYSICS
brain tea.sers that we have presented in this book were ta.ken froro Luca.s'
fourvolume work on recreational ma.thematics Recr·eations Mathernatiqu.es
(1882 94).
Meeting of ships
Problem 6.5. Da·ily at noon a .sh·ip depay·f,s frvm Le Havre bound .for New
Yo1·k and conve1·sely, another shi.p leaves New Y01·k bound jo1· Le Hame. The
c1·ossing lasts 7 days and 7 nights. During the passage to New Yo1·k, how
many Le Havrebound ships wi ll the New Yo1·kbound ve.ssel meet, with today
as ·its date of depa?'ture?
You should be careful, this is a bit tricky. A quick answer "seven", fo r
getting about t he ships already en route, is inconect. A convincing solution
is shown graphically in t he diagram.
A
o 1 2 3 4 5 s 7 8 9 10 11 12 13 14 15 16 17 18 19 20 days
Le Havre
New York
o 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 days
B
FIGURE 6.2. Di agram of ships' crossi ngs
At t be momeot of departure from Le Havre (poiot A. in Figure 6.2), 8
ships are en route to Le Havre. In fact , one of them is j ust entering Le
Havre's harbor, and a.nother ship has j ust left t he New York harbor. The
ship starting from A will meet all of t hese ships. In addition, during the
course of the Le Ha.vre ship's sevenday crossing, 7 ships leave New York,
t be last of them a.t t be very moment tha.t it enters the ba.rbor. Therefore,
the total number of meetings equals 15. It is clear from t he diagram that
the ship, whose t rip is shown by the line segment AB, meets 13 other ships
at t he sea., plus two ships t'l.t their moments of departure (Le Havre harbor)
a.nd arriva.l (New Yor k harbor) , which makes 15 in total.
JOHN VON NEUMANN 157
John von Neumann (19031957) (+ p. 309)
John von Neumann is certainly one of the greatest twentiethcentury
mathematicians, making several remarkable achievements to the fi eld of
mathematics. Many consider von Neumann the founder of mathematical
game theory and a contributor in the development of highspeed computing
machines and cellular automata. He gave the great
cont ribution in designing the EDVAC, one of the
fi rst electronic computers that was ever built. Like
many scientists, dur ing and after World War II von
Neuma.nn also worked on t he key problems of pure
and applied mathematics and physics which made
possible the development of t he hydrogen bomb.
Unli ke many of his colleagues, who focused only
on their jobs, von Neumann lived a rather unusual
lifestyle. He and his wife Klara enjoyed an active
social Life, giving memorable parties and banquets
John von Neumann in t heir Princet.on home.
1903 1957
From an early age, John von Neumann manifested incredible powers of
memory to which many stories attest. At the age of six, he was exchanging
jokes in classical Greek with his father a nd dividing two eightdigit numbers
i.n his head. The Neumann family sometimes entertained guests with demon
strations of Johnny's ability to memorize pages from phone book. A guest
would select a page and column at random from the phone book. Young
J ohnny, J anos in Hungaria n, would read the column over a few times and
after t hat be could answer any question put to him as to whom a certai n
number belonged, or recite the names, addresses, a.nd numbers in order. He
also loved history a.nd, since he remembered everything he once read, be
became an expert on ma ny issues: 8yz<1ntine history, the details of t he triaJ
of Joan of Arc, minute feat ures of the battles of the America.n Civil War.
The eminent mathematician Pau l Ha lmos, von Neuma nn's friend, cited in
[98] that another famous mathematician George P6lya once said:
3
'·Johnny
was the only student I was eve1· afmid of. If in the cou1·se of a lectu1·e I
an 1msolved p1·oblem, the chances were he'd corne to me as soon as the
lectv.re was over, 1uith the complete Mlution in a few scr·ibbles on a slip of
pape1·." Hahnos a lso mentions that von Neumann's poor driving (in)ability
was legendary. Von Neumann himself reported one of his numerous accidents
3
It is rather interesting that von Neumann, Halmos and P6lya, were all born in Bu
dapest, Hungary.
158 6. PHYSICS
a.s: ".T ·wa.s p!'Oc:eeding down the road. The tree.s on the r·ight ·wer e passing rne
·in onte1'ly fashion at 60 miles per· hour·. S'addenly one of thern stepped in rny
path. Boom!"
A girl and a bird
This old problem can be found in many books of recreational ma.thematics
in different variants. Here we present a simple one.
Problem 6.6. A g·irl stands 500 feet .fmm a wall tvith a bi.?Yl perched
upon on he1· head. They both stmt to move towa·rds the wall in a stmi.ght
line. The gi?'lwalks at a mte of 5 feet pe1· second and the binl flies at 15 feet
pe1· ,qecond. Upon f'eaching the wall, the b·ird ·immediately 1'eve•tses di•tecVion.
and retut"M to the g·irl's head whem ·it again 1'eve1·.se.s d·irection. The bit·d'.s
t oandft'Om flight pattem conti.nues 1>nW the g·i'l'l reaches the wall. How Jar
did the bi1·d tmvel?
Many people try to solve this classic problem the hard way. They sum
the lengths of the bird's path between the girl and the wa.ll during her walk.
These paths become shorter a.nd shorter, and such an approach leads to the
summing of a.n infinite .se?'ies, which is complica.ted. But, the solution is
very simple and we could call it the "trick" solution. It is sufficient to note
that the girl walks for 100 seconds before hitt ing the wall. Thus the bi rd
flies for 100 seconds a.nd travels
( 15 feet per second) x ( 100 seconds)= 1,500 feet.
There is a legend that when his high school t eacher gave this problem
to John von Neumann, he solved it quickly. When t he teacher commented,
"Ah, yo'U sa:w the t!'ick," Neumann replied, " Wlwt t·rick? Jt was an easy
.se?'ies. n
We present the "easy series" for the fl ight time which might be the one
von Neumann used.
it
w
FIGURE 6.3. The gi rl and the bird
A GIR.L AND A BIR.D 159
Let P.
1
be t beir initial position and lY the turna.round point a.t the wa.JI as
sbown in Figure 6.3. Then P
1
is t he point where the bird is first on the girl 's
head. Let Pi (i = 1, 2, . . . ) be the point corresponding to t he ith contact of
bird and head and ti t he ti me elapsed between contact i and contact i + 1.
Let D be the dista.nce from P1 to W, ve the bird's speed a.nd ·vc the girl's
speed (ve > vc).
In time t
1
the bird goes from P
1
to W and back to P
2
. Also in time t
1
the girl goes from P
1
to P
2
and we have
(6.2)
Similarly, in t ime t
2
the total distance they travelled is twice the dista.nce
from P2 to W, giving
where (6.2) is used to obtain the last equality in (6.3). During t ime t
3
we
have
t3ve + tavc = 2(1Pt WIIPtP21  IP2P31)
= 2(D vctt  vct2) = tzvs  t2vc,
(6.4)
where (6.3) is used to obtain the last equality in (6.'1) . From (6.4) we can
conclude t hat in general we ha.ve
where [{ = (·ue  vc)/(ve + vc). Since I<< 1, the total ti meT is given by
n n  1 . 2D 1
T = lim ""' t, = lim t
1
""' I<' = · 
n > oo L..,. n > oo L..,. 'VB + Vc 1  K.
i =l i=O
2D l D
= 
Then the total distance t raveled by the bird is v B T = v B D / Vc, as t he "trick"
solution predicts.
One will find it useful to represent the paths of the gi rl <11ld the bird
by plotting a spa.cetilue graph as we see in Figure 6.4. The slopes of t he
displayed segment lines are proportional to the velocities vc and VB of t he
girl and the bird, respectively. The points P
1
, P2 , P3, . .. represent t he
points of contacts of the girl and the bird. Of course, we cannot finish
drawing t he bird 's pa.th to W because the zigzags a.re infinite.
160
time in sec
10
80
60
40
20
6. PHYSICS
..... ......
 ····· ··:··
 ·····
_ .. ······· ···it·
.. ....... ..... .
... .... ..._
······ .... .._
········
 ·····..
Vio _ .... ...····· ······· ······· ·····
_... ....
 ······
_ .....
 ·········
····· ·"
__. ...... .
 ····"
 ·····
.......  ···
100 200 300 400 500
distance in feet
FIGURE 6.4. Spacetime gn•pb for tbe problem of tbe girl <1od the bird
Let us consider another more complica.ted version of this problem in which
an infinite series, requi ring much tedious time and effort , appears.
P roblem 6. 7. * 1'111o cars, sett·ing out ]!om A and B 140 miles
apmt, rno·ve towa1·d each othe1· on the same mad, until they collide at C.
Thei·r S'peeds me 30 miles and 40 miles pe1· hom·. At the very instant they
stm·t, a bird takes flight j1orn zwint A heading straight towa·l'd the ca·1· that has
left point B. As soon as the birrl1eache.s the other em·, ·it t·urn.s and clwnge.s
di1ection. The bi1·d fi·ies back and j01th in this way at a speed of 50 miles pe1·
hotw tmtil the two ca1·s meet. How long is the bi1·d's path?
In Cha.pters 7 and 9 we will encounter the "rivercrossing problems" . The
following problem comes in two flavors , a rivercrossing and a bird's path
fl avor.
P roblem 6.8. * Four ?'owe?·ma'lltematicians wish to c1oss ·the 1'ive1· by
means of a boat that can only hold two men. The 1·ower R
1
needs 1 mimtte
to cross the ri·ver a.lone, and the rowe1·.9 R
2
, R
3
and Rd need 2, 6 a.nd 9
mirmtes, respect·ively. Being mathematic·ian..9, the rov.1ers have planned an
optimal strategy fm· cr'Ossing the r·iver. They star·t to ?'Ow tmuar·ds the oppMite
l'iver ba.nk i.n a. stmight line. .<l't the very moment they begin to 1ow, a swan
starts to swim ove1· the 1'iver in a stm.ight line wi't/1. the speed of 60 feet pe1·
mirmte. The swcm the opposite r·iver· bank at the e:r;act moment when
the r'Owers complete the·ir tr·ansfer. How wide is this r·ived?
THE LION AND T i l E
John E. Littlewood ( 1885 1977) (+ p. :308)
Abram B esicovitch (1891 1970) (+ p. 308)
Ri chard Rado (190G 1989) (+ p. :309)
The lion and t he man
161
Thr problem abonl a lion and <1man t hat Richard Rado in 1932
belong:; to lhe an•a of rrcrcational mat hematics that has attrncted n
deal of attention of HUIIJCrous mathematician:;, including John E. Littlewood
and Abrau1 13esicovitch. The problem reads thus:
Proble m 6.9. II mau ji11ds himM·(l in a 6r·cu.lar an•uu. 'IIIith a lion. Both
'17W11 and lion can moue lhroughoul llw en/in• arena a/ thr sa:me ma.rimum
speed. Wi.tlwul lerwiug t.fw rl1'eua. ran th( 111011 pw·stw n cou:rse of motion
ensnriny !hal the lwn will never mll'h ltiw 'I The p'I'Oblcm assumes th e IW·
limilccl sln·ngtlt of both man and liou.
FlC:Uilt: 6.!i. 1\ nwn and a lion iu a !'ir('ular arcua
162 6. PHYSICS
For t be next 25 yeaJ·s prevaili ng opinion, substa.ntia.ted "irrefuta.ble"
proofs, held t ba.t tbe man could not esca.pe from the Uon. A qua.rter century
later Abram S. Besicovitch, a. professor at Cambridge University, proved
that these assumptions were wrong. A Mathematician's Miscellany (London
195"7), a.n intriguing book by the prominent English ma.thematicia.n John E.
Littlewood (1885 1977) , published. Besicovitcb's proof of a str ategy enabling
the man to avoid contact with the lion. Evidently this problem interested
Littlewood, for he discussed it in his book. More a.bout this problem can
also be found in the paper How the lion tame1· wa.s saved by Richard Ra.do
( Onta1·io Secondary School Mathematics B·ulletin, October 1972) (reprinted
la.ter in J\thtthematical Spectr'11.rn [145]) a.nd. in the joint pa.per [144] by Peter
A. Rado and Richard Rado. Here we present a. solution of this very interest
ing a.nd challengi ng problem, based on the materia.! given in the references
above.
For the sake of simplicity, we will ll$Sume tha.t both lion a.nd man a.re
mathema.tica.l points and t ha.t their velocities do not exceed the ma:J:imal
speed v . Let 7' be the radius of t he circle, C its center, j\;fo and Lo the
starting positions of the man and the lion, do the starting distance between
them ([A:foLol = do) and so the sta.rting dista.nce of the man from the center
of t he circle ([M
0
CI = s
0
< 1·); see Figure 6.6(a). If he wishes to save himself,
the man should apply the followi ng strategy.
In the first time interval tt the man moves at speed ·v perpendicularly to
the direction MoLo as long ll$ he traverses the distance (r·  so)/2 a.lways
choosing the di rection that keeps him closer to t he center. In the case when
NI
0
L
0
crosses the center, both directions are equa.l so that the man can
choose either of them. Hence the first phase of the man's escape will last
1·  so
t l = .
2v
After that period of time, the dista.nce of the ma.n (who came to the point
M
1
) from the center of the circle is limited from above by the inequality
7' so
( )
2
s5 + 2 '
while the distance between the man and the lion (which came to the point
L1) is given by
'r  so
2
>0
THE LION AND THE MAN 163
(see Figure 6.6(b)). Therefore, it holds tha.t
•} •} 1 ( )?
s  < s +  1·  s .
1  0 4 0
In the second time interval the man runs at speed v perpendicularly to
the direction MJ L
1
until he covers t he distance ( 1·  so) / 3 again choosing the
direction that keeps him closer to the center C. So, the second t ime interval
is
1· so
t2 = .
3v
c
s,
M l ./....... .......... Lo
,\'o
i
Mo
a) b)
FIGURE 6.6. The paths of a man and a lion
After time t
1
+ t
2
the distance of t he man (who carne to point M
2
) from
the center of the circle is bounded by
The upper bound of the distance between the man and the lion (which ca.rne
to point L2) is given by
r  so
3 > 0.
164 6. PHYSICS
From the inequalities for s
1
and .s
2
we find
The procedure continues in the same wa.y. In the kth time interval tk the
man will nm a.t speed ·u perpendicularly to the direction J1ht Lk l as long
as he crosses the path of the length ( 7'  s
0
) / ( k + 1), in the direction t hat
enables him to remain closer to t he arena's center. The corresponding time
interval for this motion is
r·  so
'tk· = .
(k 1 l )v
After time t
1
+ tz + · · · + t" the distance of the man (who came to point Nh)
from the center of the circle will be
2
?'  so
( )
2
.sk1 + k + 1 '
and from the lion (which came to point Lk)
r·  so
k + 1 > o.
According to t be bounda.ries for Sk
1
, fh
2
, ... ,.s
1
, we obta.in
2 ? 1 ,, l )2 l •)
s .. < s +  (·r s
0
)  +  (·r  s
0
+ · · · + (1·  s
0
)  .
' 0 22 32 (k + 1)2
Let us now prove that tbe Ulan , following the stra.tegy outlined here, will
never be caught by the lion. The proof is based on the following simple
assertions:
If (Ln = 1/n for n = 2, 3, . . . , then
(i) a2 + a3 + a4 + · · · = oo;
( ii)
l
· · · + a
2
< 1  (k > 1).
. k k +l
Let us prove these assertions. Since for every k = 1, 2, . . . we have
THE LION AND THE MAN 165
we concl ude tha.t t be infini te series a
2
+ a
3
+a
4
+ · · · contajns in6ni tely many
mutua.lly disj unctive sequences of consecutive tenus such tha.t t he sum of
ea.ch sequence is at least 1/2. Evidently, this causes the divergence of the
series a2 +a;,+ a
4
+ · · · , that is, a
2
+ a:l + a
4
+···+a.,. + oo when n + oo.
To prove assertion (ii) we note t hat
1 1 1 1
;::)::; ? < ( ) =   ( m. = 1, 2, ... )
(m + 1  m m + 1 m m + 1
so t hat
2 ? 2 1 1 1
a? + a:;+·· · ak <  + + · · · +
 1. 2 2 . 3 k(k + 1)
= (
1
 + G + · · · + G k: 1)
1
= 1 .
k + 1
We will prove tha.t the man's described motion is possible, that is, the
man will not need to leave the arena at any moment. According to assertion
(ii) we get for every k = 1, 2, ... ,
? ? ?(1 1 1 )
s;; <s;; + (r  so) 22 + 32 + ... + (k + 1)2
+ (1· s0 )
2
( 1  k: J
•) ( )?
<So+ r so 
<[so+ (rso)r = r
2
.
Hence, for each k it holds that Sk < ·r, that is, the man a lways remains inside
the circle.
From the inequality elk > 0, which holds for every k, we conclude that the
lion wi ll not catch the man if he follows the described strategy of motion.
Well , presuming tha.t he is a.ble to run, keep an eye on the lion and make
sophistica.ted calculations simultaneously all the t ime.
Finally, it is sti ll necessary to prove tha.t t his kind of motion can last
an infinitely long time. Thus, we have to prove that the sum of the time
interva.ls t
1
+ t2 + t3 · · · is infinite. This sum equals
1 1 1
h + t2 + t3 · · · = (1· so) C +
3
+
4
+ · · · )
= (r'  so)(a2 + aa +ad + · · · ),
and it is infinite according to assertion (i).
166 6. PHYSICS
Ft:om the presented proof we see tha.t the divergence of t.be h.anoonic series
plays a. key role: t be described motion of the o1ao ca.n last a.n infinitely long
time. How fast does t his series approach "lazy eight", t ha,t is, oo? The
following example is illustrative.
A rn.a.themiJ.ticia.u orga.uizes a. lottery w hie h. wiU bring an infini te amount
of money to the holder of the winning lott.ery ticket. After some t ime a.U
lottery tickets ha.ve been sold. When the winning ticket is drawn and t he
lucky winner came to take t he prize, the organizer explains how the prize
will be paid: 1 dolla.r immedia.tely, 1/ 2 a dollar the next week, 1/ 3 of a. dollaJ·
the week after t bat, and so on. Tbe ha.rmouic ser.ies l+ 1/ 2+ 1/ 3+ · · · ha.s a.u
infinitely large sum, but t his sum increases so slowly that the winner 'vould
obtain about 8.44 dollars after 50 years (2,600 weeks).
In this chapter we ha.ve combined physics (motion) and geometry. The
next bonus problem also combines motion a.nd elementa.ry geometry and
may be useful in some reallife situations.
Proble m 6.10. * A l arye aval anche in the Alps tmps an unhappy mole.
When the avalanche stops, it tums o·at that the pom· rnole has been bn1•ied
somewhe1·e inside a snowball with an ellipsoidal shape (the ellipso·id is the
shape of a ?'ugby ball, o1· a mo1·e o1· less flattened ball, if you do not know
·what a.n ellipMid i s) Ul'ith a. volume of 500 cubic meters. The mole can dig
a hole thr·ough the srww advancing a.t one rnete1· per· rni.n:ate lmt he only ha.s
the strength a.nd br·eath .{o1· 24 minutes. Can the mole 1·each the sur.fa.ce of
the snowball and save his life'?
Answers to Problems
6.3. T he sum of multiplied powers is no reason for panic. Let
"'
S,.. = L kx/ = 1 · x + 2 · x
2
+ · · · + n . x" .
k =O
The key idea to solving tltis is to split the above sum a.nd form an equation
i n s,.(,j
k=O
= xS, + L x k+l.
k=O
k=O k=O
(6.5)
ANSWERS TO PROBLEMS 167
The other sum is a geometric progression.
(we hope) that t hi s sum is
You have lear ned in high school
n n+2
L
k+l X  X
X = 
1 X
k =O
(x (; 1).
Ret tu·ning to (6.5) and solving the equation
in S,,, we obtain
·c  ·c"'+
2
S,., + (n + l )x"+
1
= xSn + · . ·
1  x
x  (n + l )x"+l + nx"+
2
S,., = (1 x: )2 (6.6)
Assume now that l:xl < 1, aod let n 4 oo. Tben • • 4 0 a.nd • •
4 0
a.nd froro (6.6) it follows tbat
1 · x + 2 · x
2
+ · · · + n · x" + · · · = lim S.,. = :_x_. :7
n+oo (1 x)2.
Here lirn,._,
00
Sn denotes a limit value of the sum 8,.. when the number of
addends n is infini tely In particular, taking x = 1/2, we find the
required Oresme's sum
' 1 1 1 1 1/2
S =  · 1 +  · 2 +  · 3 + · · · +  · n + · · · = = 2.
2 4 8 2" (1  1/2)2
6.4. The required fitt ing of "harmonic squares" is possible, as shown
in Figure 6.7. The unit square is divided into strips of width 1/2k (k =
1, 2, 3 . . . ). Since the sum of the widths of strips is n
2
/ 6  1 ;::;: 0.644 (. ee
page 155) a.nd the sum of sides of the squares in the kth strip is
1 1 1 k1 ( )
 + +· .. + ::::,..., <2 ·  = 1 k = 1 2 ...
2k 2k + 1 z k+l  1 2k ' ' ' '
an infinite number of smaiJ harmonic squares can be packed inside the unit
square. As mentioned in 173], t he composer of this problem Leo Moser and
his colleague J. vV. Moon, bot h from the University of Alberta (Canada) ,
showed tha.t these squares can be fit ted into a square of side no less than
5/ 6 (= the total width of sides of the squares in the first strip) .
168 6. PHYSICS
FIGURE 6.7. Packing of harmonic squares into t he uni t square
6. 7. Despi te a bit more complicated conditions, the solution does not
require much effort and can be found wi t hout pen and paper; it does not
take a genius to calculate that the ca.rs will meet in exactly two hours. Since
the bird flies for two hours, its path must be 2 · 50 = 100 miles. There is no
need to sum a.n infinite series, which is here considerably more complicated
compared to t he series appear ing in the problem of "a girl and a bird."
6.8. First, notice t hat a joined paj r of rowers wi ll cross the river faster
t han each of them individually. To fi nd the speed of any pair of rowers,
let us assume that an energy E is needed for one transfer. If Fk stands for
the power of the rower necessa.ry for one crossing which lasts minutes
(k = 1, 2,3,4}, then
(6.7)
where t1 = l , t2 = 2, t3 = 6, t4 = 9 (expressed in minutes). From (6. 7) it
follows that Fk = Eftk . The time tij for crossing the river by any two rowers
Ri and R; is equal to
E
Eft.;+ E/t;
ANSWERS TO PROBLEMS 169
Let + R and + R denote forwardtrip and ba,ckwa,rdtrip of a, rower R
over the river. The optimal strategy of crossing the river is as follows:
starting bank rower(s) crossingtime (in minutes)
R1R2R3R4
L R2R3 + R1R4 t l4 = (tlt4)/(tl + t4) = 9/10
2, R1R2R3 f R1 t l = 1
3, Rt
+ R2R3 t23 = (M3)/(t2 + t3) = 3/2
4, R1R2 f
R2 t2 = 2
5,
+ R1R2 t12 = 2/ 3
Fl:om the above scheme we find that the total time of all transfers of the
rowers ts
9 3 2 91
t = t14 + t1 + t 23 + t2 + t 12 =  + 1 +  + 2 +  =  mi nutes,
10 2 3 15
The width of the river is equal to the distance t raveled by the swan, t hat is,
(60 feet per minute) x (91/15 minutes)=364 feet,
6. 10. Let the point A mark the location of the mole captured in the
snowball. In order for its to dig out of the snowball, the mole must first
dig a tunnel 8 meters long in a straight line up to point B (see Figure 6.8) ,
Then it must make a right angle turn and go the next 8 meters straight
ahead to point C. Finally, it must make another right angle turn in reference
to t he plane determi ned by t he straight lines AB a nd BC, conti nuing in that
direction 8 meters to point D,
... 
'
' I 8
/ I
' I
," .
I I
I
I
D
  I
,.. ___ _ '1'  i ·  
 I
........  I
I
I
I
I
I
I
A /
'
8
8
,
I
I
I
I
I
FIGURE 6,8 , The mole's rescuing from the snowball
170 6. PHYSICS
1t is not t.erri bly h.a.rd to prove t bat at least one of the poi nts B, C, and
.D lies outside t he suowbaJI. Indeed, if all four poi nts A, B, C, D would lie
inside t he snowball , then all intel"ior points of the cube constructed from t he
perpendicula.r segments AB, BC, and C .D would belong to the interior of t he
snowball. However, t he volume of such a cube is 8 x 8 x 8 = 512m
3
, whlcb
would mea.n t ba.t the vol ume of the snowball is greater t baJl. 512m
3
. Th.i s
would contradict the terms of the posed task, whicll consequently proves
that at least one of the points B, C, and .D lies outside the snowball.
Chapter 7 COMBINATORICS
Most pop1tla1· mathematics JJ'ltzzles and games
are essentially 1noblems in combinato1'ics.
Anders Bjorner and Richard Stanley
'A Combinatorial Miscellany'(2004)
Combinatorics is a branch of discrete mathematics that studies a.rra.nge
ments of objects of finite sets, satisfying specified criteria. In particular, it is
concerned with "counting" the objects in those sets (enumerative combina
torics) and with deciding whether certajn "optimal" objects ex.ist (extrema.!
cornbinatorics). The renowned authors Fuchs and Ta.bachnikov have said
that combinatorial problems look like this: "Given such and such a num
be1' of Sitch and such things, in how many 1uays can we do such and such a
thi.ng?"
Some examples of combinatorial questions are the following: How many
nonempty subset does a set of 64 elements have? ·what is the minimum
number of moves required to t ransfer a Tower of HaJlOi puzzle consisting of
64 disks (see Problem 7.15 in this chapter)? The problem of the chessboa.rd
grains of wheat asks for the total number of grains on the ordinary 8 X 8
chessboard if one grain of wheat is placed on the first square, two on the
second, four on t he third, aJlcl so on in geometric progression, the number of
grains bei ng doubled for each successive square unt il the final sixtyfourth
squa.re of t he chessboa.rd. The answer to t hese questions is t he same: 2
64
 1.
The solution of these structurally different problems uses the same method
of combinatorics.
Recent progress in combina.torics has been initiated by to
other disciplines, especially in computer science. Modern combinatorics
deals with problems of existence and construction of combinatorial objects
with given properties, as well as with optimization problems.
A great nuro ber of com bioatorics has a.risen from games aJJd puzzles. Io
how many ways cru1 you place 8 rooks on the 8 x 8 chessboard (or , more
genera.Jly, n rooks on an n X n board) so that no rook can be a.ttacked
by another? How many poker hands are there (choose 5 from 52)? How
ma.ny ways of placing k bt\IIS in n boxes are possible? The last ta.sk is of a
171
172 7. COMBINATORICS
higher school level, but it might be importa.ot when, for example, we consider
t he distri bution of k electrons among n shells io the physics of elementa.ry
pa.rticles.
Many combi natorial problems can be understood by a large audience be
ca.use extensive prerequisites are not necessa.ry. To solve most problems in
this chapter, you will often need only patience, persi5tence, imagination and
intui t ion. Once J. L. Synge said: "The rn.ind is at it.s best ·when, at TJlay."
You wHJ find in this cba.pter a. diverse set of famous entertaining problems
such as the ring puzzle, EuleriaJ1 squa.res, the Josephus problem, Cayley's
counting problem, t he Tower of Hanoi puzzle, the rivercrossing problems,
Kirkman's schoolgirls problem and the threeplanting problem of Sylvester.
Accordingly, giants such as Euler, Cayley, Sylvester, Steiner, Knuth and
CardaJ10 appear as the main players in this cha.pter.
*
* *
Mahavira (ca. 800ca. 870) (+ p. 300)
Combination with flavors
According to Katz [113, p. 228], the first recorded statements of com
binatorial rules (although without any proofs or j ustification) appeared in
India. In the ninth century, the India.n mathem<1t ician i\
1
lahavira ga.ve (with
out proof) an explicit a.lgorithm for calculating the number of combinations.
His rule, translated into the modem formula, can be written as
Cl.   '
,. _ n(n  l)(n  2) · · · (n  k + 1) _ (n)
. 1 ·2 · 3···k k
where c;: is t he number of different ways of choosing k ingredients (objects)
among n ingredients (objects). The following task from MaJ1avira's book
Ganita Sam Samg1YI.ha (about 850 A.D.) concerns this subject.
Problem 7.1. In how ma.ny ways can di./Je!'ent numbe1·s of jlavo1·s be
in combinat·ion togethe1·, being selected fnnn the astringent, the bitte1·,
the the pungent, and the saline, togethe1· with the taste?
Obviously, choosing k flavors (among n) is the same as choosing n k
fl avors which are not included. This i5 in accordance with the wellknown
binomial relation
Consequently, we concl ude that there are:
MARRIED COUPLES CROSS THE RIVER
= 1 way of choosing none of tbe flavors,
= 6 choices of a single flavor,
= ( 6 · 5) / 2 = 15 ways of choosing a pair of
m = {6. 5. 4)/{3 . 2) = 20 ways of choosing t hree flavors ,
(: ) = = 15 choices of four flavors,
= = 6 ways of choosing five flavors,
= (g) = 1 w<ty to choose a U flavors.
173
Summing the above answers we obtain that the total number of all dif
ferent combinations of flavors is 64.
The posed task can be solved using another a.pproacb. Let !Jh · · · .{
6
be
a. 6digit number where .fk = 0 (k E {1, ... , 6}) if the flavor A: is rejected and
h = 1 if the flavor k is accepted. V•le start with
000000, 000001, 000010, 000011,
and finish with
111100, 111101, 111110, 111111.
How many dif!'erent 6digi t numbers exist? The a.nswer is V
2
6
(variation with repetition of 6 elements of the second class) .
Claude Gaspar Bachet {15811638) (+ p. 302)
Married couples cross the river
64
The medieval mind delighted in a certain type of puzzle involving t he
rivercrossing in which specific conditions and/or restrictions prevailed.
Some references (e.g. , [133], [150], [153], [186]) a.ttribute the earliest problems
of t his sort to the eighthcentury English theologian and scholar, Alcuin of
York and the eminent Italian mathematician Niccolo Tartaglia {15501557) .
In addition to the next problem a nd its va.riants, we present another three
problems on pages 240243.
Problem 7.2. Th!'ee beautijt1l la.dies and thei1· come to a. rive!'
bank while ·traveling. They must c·ross the ·river by means of a. boa·t that ca.nnot
CM'I'Y more than two people at a time. The problem is further complicated
by the jealot1sy of the husbands. To avoid any .sca.ndal, they a.gr·ee that no
woma.n cros.s the r·iver unless in the company of he?' h·u.sba.nd. Ho1(! can
174 7. COMBINATORICS
t he pa1··ty c1·oss the rive·t ·in the f e·west n·arnbe1·· of C1'0.9Mngs ·whi l e 1especting
t he stated condit·ions and also assuming that the ·women ca:n ?'Ow?
Solution. Eleven passages are required a.nd although t here are several
ways of crossing the river, t his number cannot be reduced. Let capital let ters
A, B, C stand for the husbands, and lower case letters a, b, c stand for
their wives, where t he same letters correspond to each married couple. The
diagram below outlines one possible solution to the problem. The numbered
statements record each of the successive crossings, noting each individual's
location, whether side X, t he point of departure, in the boat , or side Y, the
destination point. The arrows and t in the list below mean departure
and return, respectively. According to D. Wells [186], Alcuin of York put
fo rth the solution consisting of eleven crossings.
starting ba.nk rower(s) arrival bank
.r1BCabc 
l. BCbc A a A a
2. ABC be t A a
3. ABC be abc
4. ABC a t be
5. BC BCbc
6. ABab t Bb Cc
7. ab AB ABCc
8. abc t c ABC
9. c ab ABCab
10. Cc t c ABab
11. Cc ABC abc
Below, however , D. Wells gives a shorter solution [186, p. 203] that requires
only nine crossings in which the letter combinations represent the rower(s) :
Aa A be a Aa A BC a. Aa.
<( + + 4 + + +  4
Yet we can accept this solution only under special conditions of which t he
text of the task makes no mention. N a.mely, in the seventh crossi ng husbands
B and C reach the anival bank where wives b and c are situated. Then
B <1nd C land on the bank while wife a rows ba.ck in the boa.t. Therefore,
husbands B a.nd C pass wife a. momenta.ri ly, thus violating the condjtion
which forbids t he meeting of persons from a. "forbidden group" . If this brief
meeting is overlooked, t he ni nesta.ge solution could t hen be accepted. We
note that Rouse Ball and Coxeter [150, p. 118] discussed the elevencrossing
solution.
JE . .<\LOUS MARRIED COUPLES CROSS THE RIVER 175
A grea.t ma.ny va.riations of this type of rivercrossing problem with n
married couples ha.ve been widely spread througbout t he li terature of the
time; see, e.g., [56], [107], [1181, [125], [150]. For n > 3 the problem can be
solved only if there is a.n island in the middle of t he river; its proof may be
found in [107].
Problem 7.3. Solve ·the "Ma!"''ied co·uples cmss ·the !'ive·r" problem wi'th
.fo·wr man•ied co·uples (the h·usband.s are again .iealous) , this time w·i·th an
island in the middle of the river. There is a boat that holds not than
two people and iLll passenger·s CiJ.n ?'OW.
Solution. The entire operation, descdbed by Ignjat'ev [107], requires not
less than 17 passa.ges. Let .4, B, C, D stand for t he husbands a nd a, b, c, cl
stand for their wives begi nning with the enti re party gathered together on
the same side of the river. The scheme presented below clearly indicates the
combinations obtai ned for each stage of t he crossi ng, ·i.e., the composition
of the rowing pa.rty, a.nd the individuals standing on either side of the river.
At the beginning, all tra.velers a.re on the starting ba.nk, which is denoted
by ABCDabcd (the names of all passengers) . The crossing is canied out
according to the following scheme (current states on both banks and the
island clearly indicate the rivercrossi ng and rower(s) in the boat):
starting bank island arrival bank
ABCDabcd
1. ABCDcd ab
2. ABCDbcd a
3. ABC(t be a
4. ABCDcd b a
5. CDcd b ABa
6. BCDcd b A a
7. BCD bed A a
8. BCDd be A a
9. Dd be ABCa
10. Dd abc ABC
11. Dd b ABCac
12. BDd b ACac
13. d b .4BCDac
14. d be ABCDa
;). d ABCDabc
16. eel ABCDctb
17. ABCD(tbcd
176 7. COMBINATORICS
There <He several ways t.o a.cbieve t be crossing io 17 passages, but th.e
a.bove solution accomplisbes the crossing operation in t he fewest tr ips and
the fewest number of passages back a.nd forth.
M. G. Ta.rry ha.s complica.ted the problem under considera.tion by a.ssum
iog tha.t t be wives aJ:e una.ble to row (see [1181). He also proposed a. further
complication by suggesting that one of the husbands is a bigamist traveling
with both of his wives. A similar variant is given in Steven Kranz's excellent
book Techniques of Problem Solving [119J: "A grrntp c.onMsts of two men,
each with t·wo wives, want to CI'Oss a river· in a boat that holds t'wo people.
The .fea.lous biga.m·ists agree ·that no woman should be loca·ted either in the
boat 01· on the rive1· banks unless in the company of he1· husband. "
Josephus problem
A wellknown medieval task consists of arranging men in a circle so that
when every kth man is removed, the remainder shall be a certain specified
man. This problem appeared for the first time in Ambrose of iMilan's book
De Bello ]1>daico (bk. iii, chpts. 1618). Ambrose (ca. 370), who wrote tllis
work under the name of Hegeisippus, stated the problem thus:
P r oblem 7 .4. Vespa.sian, a successful comrnande1· and late1· Ro
man Empei"OI', and the army unde1· his command, we·re cha1ged with qMUing
the Jew·ish 1·evolt against Roman Dom·ination. Vespas·ian and l11is men cap
tui'ed the famous Jewish histo1·ian FlavitJS Josephus and forty othe1· men in a
cella1·. The Romans decided to kill all the prisone1·s bttt two using a selection
method that ·requ·i1es the a?'rangernent of all prisone1·s in a ci1·cle and then
kili'ing every thin;L rnan 11ntil only t·wo 1oe1·e left. Josephus, not keen to die,
quickly calculated ·whe•te he and his close ftiend stand in the m'af'de·l'
ous ci1·cle, thtts saving his life and that of his f?'iend. Which two places in
the ci1·cle did .] osephus choose?
The answer to this question of life or death reads: J osephus placed himself
in the 16th place and a close friend in the 31st place (or opposite). See the
end of this
A tent hcentury European manuscript and the Ta.'hbulaofRabbi ben Ezra
(ca. 1140) both make mention of the "Josephus problem". It is interesting
that this problem reached the Far East, appearing in J apanese books. Chu
quet (1484) and la.ter such eminent writers as Cardano (1539) , Buteo (1560) ,
Ramus (1569) and Bachet (1624) gave great prominence to this problem; see
D. E. Smith [167, Vol. II, p. 541] .
Smith [167, Vol. II], Rouse Ball and Coxeter [150, pp. 32 36], and Sk:iena.
[164, pp. 3435] give numerous detajls of this problem. Here we present
.JOSEPHUS PROBLEM 177
Bachet's va.ria.nt of th.e Josephus problem which appears as problem xxiLi io
bi s classic book Pt·oblemes Plai.9o,nts et Delectables, Lyoos 1624.
1
Problem 7.5.* Fifteen sailors and fifteen smuggle1·s we1·e sailing on a
ship tha.t enco1mter·ed a. sto·rm. The ca.ptain could save his ship only if half
of the pa1·ty a.ba.ndon the ship. He a1·ranged the thirty rnen in a cin;le, and
ever·11 n·inth man, 1eckon·ing fi'Om a gi.ven po·int on the ci1•cle, was lowe1ed
into a li.feboa.t. How did the ca.ptain anunge the men in such a way ·that all
fifteen of the sailors were saved?
P. G. Tait
2
bas considered a general case when n men are arranged in a
circle and every kth man is removed beginning anywhere and going around
until only 1' axe left.
Hemy E. Dudeney (TitBits, London, October 1905) , t he great English
composer of ma.thematical diversions suggested the following modiflca.tion
to t be original probleo1.
3
P roblem 7 .6. * Let five sailors and five bu.!:qlai'S be arranged around a
ci1·cle thlts, B S B S S B S B S B. Suppose that if beginning with the ath man,
every hth man is selected, all the lnwglars will be picked out for punishment;
but if beginning ·with the bth man, every kth man is selected, all the sailo1·s
·will be picked o•ttt fM' punishment. The pmblem 'is to find a., b, h , k.
Murarnatsu's text dated 1663 gives a .Japanese version of the ",Josephus
problem" that reads thus:
4
Proble m 7. 7. * Many yea1·s ago there lived a p·ros]Je1'01t.S farm. e1· 1uho had
been rna.rried twice. Prom his fit·st Tn(Lr'T'i(tge, he had fifteen chil(lr·en.; from
hi.s second mar1•iage, he aiM htul fifteen. His Becond w·ife ·ue1y much 1/J(tnted
he1· fa:uOi·i'te son ·to ·inhe!'i·t the entire property. One day she suggested to he1·
hu.sband that they ar mnge all 30 children in a ci1·cle, and designating the fi1·s·t
child i.n the ci.nle as number one, the·reafte1· they WOitld COitnt out e·ve·1·y tenth
child ltntil only one remained, who wo1dd then be named as the heir. The
lmsbantl tlgmed to this mquest, anti the tJJije then armnge(l tLll the children
in a c·ircle. 1'his coun'ting eli.minated 14 of he·r fift een stepchildmn at
once. Feelin_g quite confident of a successft!l Olttcome, the wife then Slt.Qgested
that they 1e·ve·rse the o1·der of the counti.ng. Once aga·in, the husband ag1eed,
1
In fact, we give tl. mol'e human variant to avoid possible criticism
1
both political tllld
religious, s ince Bachet 's and Buteo's ve rsions involved clashing Turks aJl d Christians.
2 Collected Scientific Papers, VoL ll, Cambridge, 1900, pp.
3
The occupations given for the people in the problem have been changed for t he same
reasons given in an earlier footnote.
4
The adapted version of t he text quoted in Cajori (32, p. 79) .
178 7. COMBINATORICS
and the cO?mting proceeded in the 1eve1··se o•tder. This time, howe·ue1·, the
courtti.ng ·in the exdlts·ion of each and eve1·y one of the
second wife's child1en, and the 1·emaining stepchild consequently inhe1•ited
the p1·ope1·ty.
The analysis of possible arrangements of the initial position of the 30
children left to the reader.
R. L. Graham, D. E. Knuth and 0. Patashnik considered the following
variation of the J osephus problem in t heir fascinating book Math·
ematics [88].
Problem 7 o8o n people nmnbered 1 to n ar·e disposed M'Ou.nd a C'irde .
.If one start s 1uith pe1·son 1 and elimi.nates eve1·!J second r·emain·ing per·son,
detennine the SU?'Vivo1·'s nmnbe1·, J(n ) (J stands for J osephus).
The ment ioned authors have derived in [881 a simple but rema.rkable re
currence relation t hat defines J(n) for arbit rary no
5
In what follows we give
a short adaptation of their treatment of the Josephus problem. Let us dis
tinguish between the even and odd case of n. If there a.re 2n people at the
start, then af ter the first trip a.round the circle only the odd numbers a re
left (Figure 7.l(a.)) and 3 will be the next. to eliminate. This is just like the
starting position, but without n eliminated persons and a new numeration
where each person's number is doubled and decreased by 1. Therefore,
.J(2n) = 2J(n)  1, for n > 1. (7.1)
3
2n· l
0 0 •
a.) b)
F IGURE 7.1.
Now let us assume that we have 2n + 1 people originally. After the first
pass around the circle, the persons numbered 2, 4, 6, . . . , 2n a nd 1 (in this
• T he aut.hors noted, in t heir characteristic style: "Josephus and ·the
·war il().ve led t&s to .so·me in.tere.sting genero.l recurrences. "
.JOSEPHUS PROBLEM 179
order) a.re executed, Jea.ving a.gain persons with odd numbers, excepting
number 1 (see Figure 7. 1(b)) . This resembles the original situa.t ion with n
people, but in t his case their numbers are doubled and increased by 1. Thus
J(2n + 1) = 2J(n) + 1, for n > 1. (7.2)
Combining (7.1) and (7.2), and ta.king into account t he obvious case
J ( 1) = 1, we obtain a. recurrence relation that defines J in all cases:
J(l) = 1;
J(2n) = 2J (n)  1, for n > 1;
J(2n+ 1) = 2J(n) + 1, for n > 1.
(7.3)
To find a. general explicit formula for J(n) , we first form Table 7.1 of small
values using (7 .3) .
n 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
J(n) 1 1 3 1 3 5 7 1 3 5 7 9 11 13 15 1
TABLE 7.1.
We ha.ve grouped the entries of J(n) for n from 2"' to 2"' +
1
1 (m = 0, 1, 2, 3) ,
indicat ed by the vertical lines in t he t a.ble. \\ie observe from the table t hat
J(n) is alwa.ys 1 at the beginning of a group (for n = 2"') and it increases
by 2 wit hin a. group. Represent ing n in the form n = 2"' + k, where 2m is
the largest power of 2 not exceeding n, t he solution to the recurrence (7.3)
seems to be
J(2"'+ k) = 2k+1, for m>O and O<k<2"' . (7.4)
We note that the remainder k = n  2'" satisfies 0 < k < 2"' +1  2"" if
2m < n < 2"' +1_
\Ve will prove t he formula (7.4) by induction. Form = 0 it must be k = 0
(followi ng the above bounds) . Then from (7.4) we J(l) = 1, which is
true. Let m > 0 and 2"' + k = 2n + 1, then k is odd. Assume t hat for some
rn > 0 the following is valid:
J(2"' + k) = 2k + 1.
According to this hypothesis and (7.3) , we find
J (2'" + k) = 2J (2"' l + (k 1)/ 2) + 1 = 2(2(k 1)/2 + 1) + 1 = 2k + 1,
180 7. COMBINATORICS
which completes tbe proof by induction. In a similar wa.y we deri ve t be proof
in t be even when 2m+ k = 2n. T herefore, formula. (7.4) is stated.
To demonstrate solution (7.4), let us calcula.te J(lOl). Since 101 = 2
6
+ 37
(t hat is, k = 37), we have J (l01) = 2 · 37 + 1 = 75.
In [88, p. 11] the authors gave the following interesting solution to J(n)
using representations in the binary system.
If the binary expansion of n is
t hat is, 'fl. = bm · 2"' + IJm 1 · 2·m t + · · · + b1 · 2 + bo , then
Therefore, J (n) is obtained from n by a onebit cyclic shift to t he left . For
example, if n = 101 = (1100101}2, then
J(101) = J((1100101)2) = (1001011)2,
which gives
J(l Ol) = 64 + 8 + 2 + 1 = 75.
We end this essay on t he J osephus problem with the remark that the
Mathemfltic11 package Comb·in11tor·ica can si mulate the "Josephus process"
by the command InversePermut a tion[Josephus [n, m)) . T he outcome is
the ordered list of men who are consecutively eliminated from t he circle
consL5ting of n men, when every rnth man is eliminated. For example, n = 41
and n = 3 in the original Josephus problem (Problem 7.4) . The command
I nversePermutation [Josephus [41 , 3)) gives the ordered list
3 , 6 , 9, 12 , 15, 18, 21, 24, 27, 30, 33, 36, 39,
1, 5, 10, 14, 19 , 23, 28, 32, 37, 41, 7 , 13, 20, 26,
34, 40 , 8, 17 , 29, 38, 11, 25, 2 , 22, 4, 35, 16 , 31
The last two numbers (i n bold) represent beneficia.] places for Josephus a.nd
bis friend.
Gerolamo Cardano (1501 1576) (+ p. 301)
The mult italented Italian mathematician, physician, astronomer and
gambler Gerolamo Cardano was not only a. controversia.J figure, but also
a. man of remlnka.ble contrasts. Furthermore, Card<1UO was one of the most
RINGS PUZZLE 181
extr aordinary cbara.cter s in t be history of mathematics. At the beigbt of his
fame be bad a reputa.t ion as t be world's lea.ding scient ist. His t urbu lent Ufe
was marked by great successes a.nd by great misfortunes. Tragedy struck
Ca.rdano's family severa.l times; first in 1560, his elder son Giambattista was
executed for murderi ng his wife. Cardano's younger son Aldo wa.s a gambler
who associa.ted w.ith ind.ividu.a.Js of dubious chMacter. He gambled awa.y a.U
his possessions as well as a considerable sum of his father 's money. He even
broke into his fat her's house to steal cash and jewelry. Cardano was forced
to report his son to the authorities and Aldo was banished from Bologna.
Rings puzzle
Figure 7.2 shows a very familiaJ· toy known a.s Chinese 1·ings. The French
call this puzzle La. Ba.guenodier a.nd the English call it Tiring Irons. Accord
ing to Steinhaus, this device was origina.lly used by French peasants to lock
chests. A !though very old, t his toy is sold even toda.y in toy shops a.ll over
the world. Despit,e its oaJne, no one has ever proven its Chinese origin unt il
today. S. CuUn
6
suspects tha.t Chinese generaJ Hung Ming (A. D. 181 234)
made this toy puzzle to amuse his wife while he his wa.rs. Gerolamo
Ca.rdano was appa.rently t he first to describe this puzzle in 1550 in his De
S•ubtilita.te, bk. xv, pa.ragrapb 2, ed. Sponius, vol. iii. However, tbis puzzle
was mentioned in passing in cha.pter 7 of Honglomneng (The Drea.m of t he
Reel Chamber), a famous novel in 1791. It was a.lso considered by ,John
Wallis in his book, Algebm, Latin edition, 1693, Opem, vol. II, chap. cxi.
F IGURE 7.2. Chinese rings
The Chinese rings puzzle consists of a number of rings hung upon a long
wire loop. Each ring is connected loosely by a post to a platform below t he
loop. Each of the connecting posts is linked to the corresponding ring to
prevent removal of a ring from the loop. The ring can slide aJong the loop
to its end .4 and can be taken off or put on the loop in such a way that any
6
S. Culin, Games of ·the Orient: I< orea, China, Charles E. Tut.tle, Rutlartd
1965.
182 7. COMBINATORICS
other ring can be taken off or put on only when the one next to it towards
A. is on, a.nd a.U the rest towa.rds A a.re off the loop. The order of the rings
cannot be changed. The aim is to remove aU the rings in t he minimal number
of moves.
The solution to the Chinese rings puzzle is similar to that of the Tower
of Hanoi puzzle (see page 196), in that they both require a. reversa.l of t he
procedure, in other words, putting the rings back on t.he loop. This recursion
property provides an obvious link between these two pu:vzles. i\>Ioreover,
in both cases the use of binary numbers to ingenious solutions, thus
making these puzzles nearly identical.
W. vV. Rouse Ba.ll and H. S. M. Coxeter in [150] describe a procedure
to find the total number of steps necessary to remove aU of the rings. The
minimal number of moves is either J(2''' +l  1) if n is odd, or H2"+l  2) if
n is even. These numbers can be expressed by the recurrence relation
Ao = 1, A2 = 2, A,. = An t+ 2An 2 + 1.
Interestingly enough, Cardano and Walli5 did not find the optimal so
lution of the rings puzzle. An elegant solution was given by the French
mathematician Louis A. Gras in 1872 in his treatise 1'heorie du Baguen
odiel· (Lyons, 1872). His approach to the solving procedure anticipated the
socalled "Gray code", named after Frank Gray, an engineer who worked on
an errorcorrecting technique during t he 1930s at AT&T Bell Laboratories.
Matbema.tics li terature a.bounds with details of the rings puzzle; see, for
example, the works of Afriat [1], Berlekarnp, Conway and. Guy [17, Vol.
2, Ch. 19], Dewdney [50], Gardner [81], Rouse Ball and Coxeter [150], D.
Singmaster [163] and Skiena. [164].
Here we will give only the solution of the fiverings puzzle based on binary
numbers and Graycode numbers, following the mentioned Dewdney's article
[50]. The fiverings puzzle requires i(2
6
 1) = 21 moves. Each ring position
will be represented by a Gray fivedigit binary sequence of O's and l 's, where
1 stands for a ring on the loop and 0 stands for a ring off the loop. The last
digit of a Gra.y number relates t,o the position of t he first ring (nea.rest to the
end of the loop) , aJld tbe fi rst digit is related to t he fifth ring. tor example,
we give several ring positions:
1 1 1 1 1
1 0 1 1 1
1 1 0 1 0
0 0 0 1 1
0 0 0 0 0
(all rings on)
(fourth ring off)
(first and third rings off)
(first and second rings on)
(no rings on)
GRAYCODES 183
Bina ry code G1·ay code Binary code G1·ay code
0 0 0 0 0 0 0 0 0 0 0 11 0 1 0 1 1 0 1 1 1 0
1 0 0 0 0 1 0 0 0 0 1 12 0 1 1 0 0 0 1 0 1 0
2 0 0 0 1 0 0 0 0 1 1 13 0 1 1 0 1 0 1 0 1 1
3 0 0 0 1 1 0 0 0 1 0 1. 4 0 1 1 l 0 0 1 0 0 l.
4 0 0 1 0 0 0 0 1 1 0 15 0 1 1 1 1 0 1 0 0 0
5 0 0 1 0 1 0 0 1 1 1 16 1 0 0 0 0 1 1 0 0 0
6 0 0 1 1 0 0 0 1 0 1 17 1 0 0 0 1 1 1 0 0 1
7 0 0 1 1 1 0 0 1 0 0 18 1 0 0 1 0 1 1 0 1 1
8 0 1 0 0 0 0 1 1 0 0 19 1 0 0 1 l 1 1 0 1 0
9 0 1 0 0 1 0 1 1 0 l 20 1 0 1 0 0 1 1 1 1 0
10 0 1 0 1 0 0 1 1 1 1 21 1 0 1 0 1 1 1 1 1 1
TABLE 7.2. Binary numbers a nd Graycode numbers
Ta.ble 7.2 gives decima.! numbers from 0 to 21 in the bina.ry representa.tion.
For these binary numbers the associa.ted Gra.ycode numbers a.re generated
and displayed in the second column. Each fivedigit Graycode number is
obtained from its corresponding binary number by t he following rule: Reck
oning binary numbers from left to right, t he first Graycode digit is a.! ways
the same as the fi rst bina.ry digit . Afterwa.rds, ea.ch Gray digit is 1 if the
corresponding bina.ry digit differs from its predecessor; otherwise it is 0. Sur
prisi ngly, t here is an incredible coincidence between Graycode numbers and
the solution of t he rings puzzle: in reverse order (from 21 to 0 in fi verings
case) the Graycode munbers show only t he successive ri ng positions in the
required solution.
Before going any further , Jet us allow a digression for a while to mention
the Graycodes and coding theory in general. Coding theory is a. branch
of ma.thematics and computer science dealing with the errorcorrecting pro
cess. T he ma.in goal of coding theory is to send messages re!ia.bly when
transmitting data across noisy cha.nnels. For example, it is of great interest
to receive relatively good images sent from distant space: from l\
1
lars, Venus
or even deeper spa.ce. Do you believe that coding theory plays an important
role when your CD player encounters troubles a rising from a. badly scra.tched
compact disc? For more deta.ils, a.dapted for a wide circle of rea.ders, see the
book 1'131 of Ehrhard Behrends.
Let us go back to the Graycodes and t he solution of t he ring puzzle.
According to Table 7.2 we can form a diagram (displayed in Figme 7.3)
indicati ng the steps necessary to remove the first three ri ngs from t he set of
184 7. COMBINATORICS
five ri ngs. The associated Gra.ycode numbers show the successive positions
of t he rings, represent.ed by sn1all circ:les.
I
I I I I
•
1 1 1 1 0
(20)
I
I I I
• •
1 1 0 1 0
(19)
I
! ! I I
•
1 1 0 1 1 (18)
I
I I I
• •
1 1 0 0 1 (1 7)
! !
• • •
1 1 0 0 0
(16)
FIGURE 7 .3. Five r ings aud the corresponding Graycode numbers
Ni colaus II Bernoulli (16871759) ( t p. 304)
Leonhard Euler (1707 1783) ( t p. 305)
The problem of the misaddressed letters
The followi ng problem was fi rst considered by Nicola.us II Bernoulli , the
nephew of the two great mathematicians ,Jacob and Johann Bernoulli. Euler
later solved this problem independently of Bernoulli.
P r oblem 7. 9(a). Assume that k d·ist·inct obj ects am displaced in
tions 1 ·thmugh k. In how ma.ny d·iffe?ent ways can ·they be 1'eorde!>ed so tha·t
no ob.fect occup·ies it's Ol"iginal pla.ce?
Often found in literature' this problem is t reated as a curious problem of
combinatorics. The t>roblem of the m:i.saddre.s.sed lette·1·.s sta.tes t he problem
in a slightly more concrete form.
7
C. P. R. de Mont mort, E .•.• ai d 'analy.•e .•ur le.• j ew: de ha.•ard, Paris I n :l ; .J . L.
Coolidge, An introduction to Mathemc,tical Probabil·ity, Oxford 1925; C. V. DtUrel, A.
Robson, Ad·vanced Algebra., London 1937; A. C. Aitken, Determinants «rul Matrices,
Edinburgh 1956; L. Comtet (39); H. Dorrie !54); S. Fisk (64) ; S. G. Kranz (119); W. W.
Rouse Ball and H. S. M. Coxeter (150] .
THE PROBLEM OF THE MI SADDRESSED LETTERS 185
Problem 7.9(b) . An ·ind·ividual has ttwitten k lettet·s to ea.c:h of k d'ijjm·
ent fr"iends, and add?essed the k cor,esponding envelopes. How many d·iffe·l·
ent ways m·e thet·e to place every lette1· into a W?ong envelope?
Solution . Let o.
1
, . .. , CLk denote the objects and Jet P
1
, . . . , .Pk be their
corresponding positions. If t he object a; lands in Pi we will write a; II .Pj, if
a; is not in .Pj we write a; Jt .Pj. Let t he required number of misplacements
be designa.ted as M ( k) .
\oVe will distinguish between two different cases: (i) a1 II .Pz and az II .P1,
while t he objects a
3
, .. . ,an are distributed among P
3
, .. . ,.P,. but so that
ai lt Pi (·i = 3, ... , k); (ii) a1 II.P2 but a2Jt .P1.
Case (i): The objects a
3
,a
4
, .. . ,ctk are distributed among .P,
3
,.P
4
, . .. , Pk
so that cti Jt P; holds for every i E {3, <1, ... , k}. The number of possible ways
fo r these arrangements is, obviously, M(k 2).
Case (ii): This case is equivalent to the following situa.tion: we wish to
distribute az, a3, ct
4
, .. . , ak among P
1
, .P3, .P
4
, ..• , .Pk but in such a way that
a.2jt P
1
, a.aJt P3, a.nd so forth. Therefore, t he number is llif(k 1).
The number of allowable rea.rrangements in which a1 ends up in .Pz is
M(k  2) + M(k  1). We can repeat a similar analysis to determi ne t he
number of allowable arrangements in which a1 II .P3, a1 II .P4, . .. , a1 II Pk.
This number will be the same: M (k 2) + !d(k 1). Therefore, the total
number M(k) of all possible cases is
M(k) = (n  l )[M(k 2) + M(k  1)] .
The last recunence relation can be rewritten as
M(k) k · M(k 1) =  [M(k 1) (k 1) · M(k 2)] . (7.5)
Let us set N; = M(i) i · M('i 1). T hen (7.5) becomes
' ' · =  ' 1. I ! " 1. _n: 1,  •
Vve form this rela.tion for i = 3, 4, .. . , k and obtajn
Simple substitution yields
that is,
M(k:) k · M(k 1) = ( l)k
2
[M(2) M(1)].
186 7. COMBINATORICS
Since
M(l) = 0, M(2) = 1, ( l)k
2
= ( l)k ,
from the last relation we find t ba.t
M(k) k · M(k 1) = (l)k.
After dividing both sides by k! one obtains
M(k) M(k  1)
k! (k  1)!
(  1)k
k! .
Using (7.6) and a.pplying telescoping summation, we find
_ M(r  1)) = i\ll(k) _ 1\ll(l )
r! (1'1)! k! 1!
r = 2
(1)
2
(1)
3
(1)
4
(l)k
= 2! + 3! + 4! + .. . + k!
Hence, taking into account that M(l) = 0, we obtain
M(k) (1)
2
(1)
3
(1)
4
(1)k
k! = 2! + 3! + 4! + .. . + k! ,
leading to the final result of
(
1 1 1 (1)k)
i\if(k) = k!  +  + ... + .
2! 3! 4! A:!
For example, the first few entries aJ·e
M(3) = 2, M(4) = 9, M(5) = 44, M(6) = 265, M(7) = 1854.
Leonhard Euler (17071783) (. p. 305)
Eulerian squares
(7.6)
Euler was interested in the topic of magic squares, today known as Latin
squa.res and GraecoLatin squa.res (or the Eulerian squares). A Latin squ.a1e
of order n consists of n distinct symbols, arranged in the form of a square
scheme in such a. way that each symbol occurs once in every row and once in
EULERIAN SQUARES 187
every colu01n. In other words, every row and every coluroo is a permuta.tioo
of n sym bois. In his a rt icle Recherches S'!W une nouvelle e.9pace de Q7tan·es
magiques, Euler wrote about this kind of magic squares. Today these squa.res
are ca.lled Latin squa.res after Euler 's use of ordina.ry Latin letters as symbols
that should. be ana.nged.
b
a
d
c
y
/j a
/3 bY ao da cj3
d
c
b
a /3 a /j
y
d/3 ca bo ar
c
d
a
b
0
y
/3
a co dY aj3 b<t
a
b
c
d
a·
/3
y
0
a a
b/3
cy do
a) b) c)
FIGURE 7.4. Eulerian squares
Figure 7.4(a) shows a fourth order Latin square where four Latin letters
(L, b, c, and d 11re arranged in the described manner. Figure 7 .4(b) a lso repre
sents a different Latin square with the four corresponding Greek letters. A
superposition of t hese two squares gives a squa re scheme of pairs in which
each Latin Jetter combines once and only once with each Greek Jetter; see
Figure 7.4(c). A squaJ·e obtai ned by such a. combination is ca.Ued an Eule·1•ian
$q·ua·re or a. OmecoLatin .sq11M'e. T he name comes after Euler' s use of La.tin
letters for one square and Greek let ters for the other square.
Two composite squares are said to be o1·thogonal squM·es. Let us note
that Graeco Latin squares aJ'e now widely used in designing biology, medical,
sociology and even marketing experiments. For more detaHs about G raeco
Latin squares see, for instance, t he books [18], [74, Ch. 14j and [150, Ch.
10].
Let us pause for a moment to offer a nice problem given in 'vVatkins' book
Ac?'OSS ·the Boa1'd [1811, mentioned several times in this book. This problem
concerns a 6 X 6 Latin squaJ·e with a fl.a.vor of crossword puzzles. The pleasure
is yours!
Problem 7. 10.* A 6 x 6 chessboM'd is divided into 6 regions, each of
them consisting of 6 squmes. 6 lel'te!'S are placed on this mini chessboa1cl as
shown in Fig·UT'e 7.5 The ·task is to complete a. 6 x 6 Latin sq1ta1'e by filling
the rerna.ining .squar·es using the letters A, B, C, D, E, F and requ.i1·ing that
each of the 6 1egions conta·ins all 6 letters.
188 7. COMBINATORICS
A
E
B c D
F
FIGUilE 7.5. A 6 X 6 Latin squarecrossword puzzle
The GraecoLatin squares of orders 3, 4, and 5 were already known in
Euler's time, but Euler wondered about the order 6. In 1782, a year before he
died, having considered the question, Euler formulated a problem familiarly
known as Euler's officers pmblem.
Problem 7 .11. Can one a1''1'ange 36 o.f!ice?·s, each holding 6 di,f{e1·ent
1·anks, belonging to 6 separate r·eg·irnents, to jonn. a 6 x 6 sq·uMe M that
each 1'0W (L!l.d column contains exactly one office·r of each r·ank and j?'Om each
1·egiment?
Euler demonstrated that the problem of n
2
officers, which is the same as
the problem of constructing a GraecoLat in square of order n, can always
be solved if n is odd, or if n is divisible by 4. Furthermore, he stated that
GnJ.ecoLa.tin squares of the order 6, 10 and 14, and in general all squares of
the order n = 4k + 2 cannot be constructed. This became famous as Euler's
conjecture.
In 1901, ll8 years later, Gaston Tarry
8
, the French mathematician,
proved Euler's conjecture for the particula.r case n = 6. According to Tarry's
study, the required ar rangement of officers is not possible. After Tarry, sev
eral mathematicians even published "proofs" that the conjecture was true,
but la.ter the proofs were found to contain flaws.
Being restricted to pencilandpaper methods, the work of Tarry and his
a.ssista.nts demanded tedious a nd exhausting efforts. Beca.use of this, tbe
subsequent cases in particular had to wait until t he computer era. Thus
177 yea.rs later, Euler's conjecture was disproved in 1959, when R. C. Bose
and S. S. Shrikhancle of the University of North Carolina constructed a
GraecoLa.tin squa.re of order 22 by using a. modified KirkmilJl system [23]
8
G. Tarry, Le probli!rne de 96 officier·s, Comptes Rendu de !'Association
pour l'Avancement de Science Nature!, Vol. 2 (1901), pp. 170203.
K IRKMAN'S SCHOOLGIRLS PROBLEM 189
a.nd oext E.T. Pa.rker, a.n employee of Remington Ra.nd Uoiva.c, a. division of
the Sperry Ra.nd Corporation, found a squa.re of order 10 [136]. T be meth
ods of these contributors grew increasingly more refined; it was ultimately
established that Euler 's conjecture is wrong for all values of n = 4k + 2,
where n is greater tlHlJl 6; see [24] a.od [25] . Pa.rker's GraecoLatin squaJ·e of
order lO is showo in Figure 7.6, where La.t in and Greek letters a.re replaced
by digits fTom 0 to 9.
00 •17 18 76 29 93 85
3,1
61 52
86 11 57 28 79 39 94 45 02 63
95 80 22 67 38 71 49 56 13 04
59 96 81 33 07 48 72 60 24 15
73 69 90 82 44 17 58 01 35 26
68 74 09 91 83 55 27 12 46 30
37 08 75 19 92 84 66 23 50 41
14 25 36 40 51 62 03 77 88 99
21 :n 43 54 65
O(i
10 89 97 "78
42 53 64 05 16 20 31 98 79 87
FIGURE 7.6. Parker's GraecoLatin square of order 10
We end this essay on Eulerian squares with the remark that J . Arkin,
P. Smith and E. G. Straus [5] extended Euler's officers problem into a t hree
dimensional cube and demonstrated the eJ.:istence of a solution in three cli
rnensions! Pa.ge 83 of the paper [5] lists the solution. Theirs was a major
accomplishment, especially considering that, nine years ago, prevaili ng opin
ion doubted t hat such a. const ruction was possible [179].
Thomas P . Kirkman (18061895) (+ p. 306)
Jacob Steiner (17961863) (+ p. 306)
J ames J. Sylvester (1814 1897) (+ p. 307)
Arthur Cayley (18211895) (+ p. 307)
Kirkman's schoolgirls problem
lo 1847 Thomas Kirkman, an Engl ish vica.r who was aJso a.n expert in
group theory and combina.tori cs fJ,nd a. fellow of t be RoyaJ Society, posed t he
following problem.
9
9
T. Kirkman, Cambddge and DuMi" Ma.tl>ema.tical Jouma.l, Vol. 2 (184.7), 191 204.
190 7. COMBI NATORI CS
Proble m 7.12. At a girls' school. it is the daily custom Jo1· the pupils to
take a walk arranged in flue rows of thr·ee gi1'ls waiJ. ing side by side. Can the
headmisf1·ess devise a schedule acco'l'ding to which no two gi1·ls walk beside
each other more than once for· .se·uen consecutive days '?
Kirkman's problem and others s imi lar to it belong to the area of combina
torics call ed blockdesign t heory; t hey were studi ed intensively in t he nine
teenth cent ury, but mainly as problems of recreational mat hemat ics. It was
later discovered thitt such problems arc closely related to topics as diverse as
statistics, errorcorrecting codes, higherdimensional geometry, Hadamard
matrices. and projective geometry.
A generalization of Kirkman's problem leads to Steine1· tri71le systems.
after Jacob Sleiner.
10
A Steiner triple systemS,, if it exists, is an arrange
ment of n obj<'Cts in triples, such t hat any pair of obj ect.s is in exactly one
t riple. There are pairs and n(n 1) t riples in Steiner t riple system;
hence, n has to be congruent to 1 or 3 modulo 6, t hat is, n = 7, 9, 13, 15, ....
E. H. Moore proved in 1893 that t.his condition is also sufficient.
In a generalized Kirkman problem t he number of days required for the
walks is 4(n  1). The above numbers will be integers only if n is an odd
multiple of 3, t hat is, of t he form 3(2k + 1} = 6m + 3. Thus, t he sequence of
possible values is 3, 9, 15, 21 aud so on.
The case n = 3 is t rivial, one day a t rio of girls simply goes for a walk.
The case of n = 9 schoolgirls in four days has a unique basic solution given
in t he scheme below:
123
456
7 9
147
258
369
159
267
34
168
249
357
Since 1922, Kirkman's original problem is known to have 80 solutions for
t he case n = 15. only seven of which are the basic solutions. There are
many met hods for solvi ng Kirkma n ·s problem. Here we present a geomet
rical solution with t he aid of rotating concentric disks, described by Martin
Gardner in Scientific American (May, 1980).
1
ote that t he same method
was presented in the book [18, pp. 26Q263] for n = 9.
Draw a circle and wri te digits I through 14 equally spaced around it. A
cardboard disk of the same size is fastened to t he circle with a pin through
both centers. Label the center of t he disk by 15. Draw on the disk a diameter
(10,15,3} and five noncongruenl triangles {1,2,15}, (3, 7,10}, (4.5,13}, (6,9.11),
10
J . Stei ner, .Journal Fi,. die r·eine und ange:wandte Mathematik. Vol. 45 (1853), 181
182.
K IRKMAN'S SCHOOLGIRLS PROBLEM 191
(8, 12,14) , as shown in Figure "7.7. This starting position actually gives tbe
fi rst day's a.rraogement.
1
14
3
12
4
15
11
5
6
8
FIGURE 7. 7. Geometrical solut ion to Kirkm<tn's schoolgirls problem
To obtain the ana.ngements for the remaining six days, rotate the circle
in either direction, in increments of two numbers at a. time, to six diff'erent
positions. This means that a. point , sa.y number 1, should coincide wi t h the
numbers 3, 5, "7, 9, 11 and 13 (or in the reverse order) on the fixed circle. In
each of these six positions the vertices of five triangles on the rotating circle
mark the numbers on the fixed circle, giving five new triples. Yes, it works!
Indeed, a. handy rule. Below we give t he complete solution for t he design
shown in Figure "7.7:
Monday: (1 ,2 ,15) (3,7,10) (4,5,13) (6,9, 11) (8,12,14)
Tuesday: (3,4,15) (5,9,12) ( 1 ,6, "7) (8,11,13) (2,10,14)
Wednesday: (5,6,15) (7,11, 14) (3,8,9) (1,10,13) (2,4,12)
Thursday: (7,8,15) (2,9,13) (5, 10, 11) (1,3,12) (4,6, 14)
l<"'ridav:
v
(9,10, 15) {1,4,11) (7,12, 13) (3,5,14) (2,6,8)
Sat urday: (11, 12, 15) (3,6,13) (1,9,14) (2,5,7) (4,8,10)
Sunday: (13, 14, 15) (1,5,8) (2 ,3,11) (4,7,9) (6,10,12)
According to James J . Sylvester, who was also interested in thls problem
(see below) , one of the most interesting solutions of Kirkman's problem
192 7. COMBINATORICS
coroes from B. Pierce. u Pierce's solution can be found in H. Dorrie's book
[54]. Ma.cMiUan's 1949 edition of Rouse Ball a.nd Coxeter's fa.mous book,
Mathematical Rect'eations and Essays, gave one solution for every case when
n is less than 100.
Although t be focm 6tn +3 for n is necessary for the sol ution of the generaJ
form of Kirkman's problem, it is not sufficient. In the second ha.lf of t he
nineteenth century many papers were written on this subject, giving only
solutions for particular va.lues of n . A general solution for all n (of the form
6m. + 3) wa.s given in 1970 wben D. I<. Ra.yCha.udhuri a.nd Rjchard .M.
V/ il son of Ohio State University proved t bat the a.nswer is yes. However,
the number of solutions rernajns unknown, and it was found only fo r small
values of n . The number of t he Steiner triple systems S.,. increases very
ra.pidly; for example, there are more than 2 · 10
15
nonisomorphic solutions
for n = 31.
Soon after T homas Kirkman postula.ted his schoolgirls problem in 1847,
Arthur Cayley wrote one of the first papers on this subject titled, On the
triadic arrangements of seven and fifteen things and published in Philos.
Mag. , No. 3 (1850). His friend J ames J . Sylvester also considered Kirkman's
problem and he noticed that there a.re C3
5
) = 455 wa.ys of forming a. triple
of the 15 schoolgirls. Since 455 = 13 · 35, and 35 (= 7 days x 5 triples) is
the number of triples appea.ring in the solution to Kirkman's problem, the
following question a.rises:
Proble m 7. 13. Can one pa?'tition 455 differ·ent triples into 13 difj'e·rent
Steiner tr·iple systems that each sat·isf!l the conditions of Ki·tkman's pr'Oblem'?
In a general case of n girls, the total number of different triples is
(
n) = n(n  l)(n 2)
3 6
Since t he Steiner triple system 8,. contai ns tn(n 1) triples, n 2 disjoint
S,..'s will exh.a.ust a.U of t be triples. To genera.lize Sylvester's problem, we
ba.ve to a rrange the set of aJI triples into n  2 disjoint Sn 's, each one of
them "parted" into tn(n 1) "days" as before.
Sylvester's problem is very difficult and the a,nswer was not found until
1974 when R. H. F. Denniston of Leicester University forn1ulat.ed a solution
a.ided by computer (Discr·ete Mathematics, No. 9 ( 1974)). I<ir knuJ. n, inci
dentally, mistakenly claimed to have solved Sylvester 's problem for n = 15.
11
Cyclic solutions of the schoolgirl. puzzle, The Astronomical Joumal, vol. VI, 1859
1861.
CAYLEY'S COUNTING PROBLEM 193
Arthur Cayley (18211895) p. 307)
By to day's standards, the ca.reer of one of the greatest nineteent hcentury
mathema.ticians was unusual although not uncommon for his times. Before
Arthur Cayley
1821 1895
Counting problem
Art hur Cayley became a professor of pure mat he
mat ics at Cambri dge in 1863, he spent 14 years as
a highly competent lawyer working together wit,b his
close friend and fellow lawyer , J ames Joseph Sylvester
(1814 1897) who was also a great mathemat ician.
Dnring t heir working day at Lincoln's Inn Cour t,
t hey took every opportunity to discuss questions of
profound mathematica.l importance. In t be t.ime he
worked as a la.wyer, Cayley published about 250
mathematical papers from a total lifetime output of
over 900 papers a nd notes.
A connected graph that does not contain any cycle is called a tn;e, see Ap
pendix C. The trees with 2, 3 a.nd 4 nodes (vertices) are given in Figttre 7 .8.
Counting the number of different trees wi th a fixed number of nodes while
still ta.king into account positions of nodes, Cayley derived
12
an interesting
recursion relation in 1859. To avoid some elements of graph theory, unfa
miliar to many readers, we will present equivalent reallife problems from
Mendelson's paper [128}. The solution of these problems is expressed by
Cayley's recursion relation.
I I\
n=2 n=3
n=4
FIGURE 7. 8. Trees with 2, 3 and 4 nodes
12
A. Cayley, On the analytical for·rns called lTees, second part, P hilos. Mag. 18 (1859),
374 378.
194 7. COMBINATORICS
Problem 7.14 (a) . n ?'u,nner·s compete in a mce in tvhich a:ny rmmbe•t'
of ?vtLnners may tie Jot· an a•tbitm?y numbe·t of places. .Find the nmn.be·t of
possible outcomes.
An interesting equivalent form of the above problem thus reads:
Problem 7.14 (b). An election ballot consists of n co.n<lid<Ltes, some
equa.lly fa.vmed. Assttming that any nurnbe1· of candidates rna.y obta·in the
same number o.f votes, find the numbe?· of possible outcomes.
Let J,. be the number of all possible outcomes with n runners/ candidates.
It is easy to calculate the first few values of J.,. :
Jo = 1;
.Jl = 1;
h = 3 : (either (A,B), (BA), or a tie (AB));
h = 13 (see the diagram below and Figure 7.9)
1 A A B B c c ABC AB AC BC A B c
2 B c A c A B c B A BC AC AB
3 c B c A B A
The treegra.phs with il nodes that correspond to all possible outcomes with
3 runners/ candidates are presented in Figure 7.9.
A
B
c
A B B
c A c
B c A
c c
A B
B A
A
•
B
•
A BA CB C A B C
c
•
VVV/\1\/\
c B A B C A C A B
FIGURE 7.9. The number of aU possible outcomes with 3 runners/candid<J,tes
CAYLEY'S COUNTING PROBLEM 195
We give the derivation of tbe recursion relation for 1,. as presented in
[128] by S. Mendelson in the next para.gra.ph.
Let u.s assume tha.t there are n + 1 runners. If the number of runners
who do not finish first is j , then those j runners can finish in second, third,
. . . place in J; ways. The number of choices of these .i runners from n + 1
runners is ("j
1
), so that the number of possible outcomes is ("j
1
) · .J
3
. Since
j can be a ny number between 0 a nd n, the value of ln+l is
(
n + 1)
7
(n + 1) .J .. . (n + 1) J .
0 "
0
+ 1
1
+ + n "
Thus, we obtain the recursion relation
1o = 1,
. (n+ 1) ,
Jn+L = L . 1j·
j = O J
(7.7)
For example, from (7.7) we calculate
14 = t (;) Jj = .Jo + 4.ft + 612 + 4.h = 1 + 4 + 18 +52 + 52 = 75.
;1=0
As mentioned a.bove, Cayley was the fi rst to derive (7.7) , although in an
entirely different context.
The table given below lists aU values of .],. for 1 < n < 10.
1 2 3 4 5 6 7 8 9 10
1 3 13 75 541 4,683 47,293 545,835 7,087,261 102,247,563
TABLE 7.3.
Using some elements of combinatorics S. Mendelson [128] derived the
fo llowing expression for J, in the closed form:
.,, k
J
 )k.p(k) n (  2 )
,  LL 1 p n  1, , ....
k = l j>= l p
(7.8)
For t he purpose of demonst ra.tion, we again compute .!
4
but now using for
mula (7.8):
14 = 1 + ( 2 + 2
4
) + (3 3. 2
4
+ 3
4
) + ( 4 + 6 . 2
4
 4. 3
4
+ 4
4
)
= 1 + 14 + 36 + 24 = 75.
196 7. COMBINATORIC$
Edouard Lucas (18421891) (r p. 307)
The Tower of Hanoi
The ingenious known as t he Towe1· o.f Hano·i was launched in 1883
by M. Claus, an anagram in fact, of its inventor, Edouard Lucas
13
.
P roble m 7.15. The towe1· puzzle consists of three vertical pegs set in·to a
bomd, and a numbe1· of disks g1u.ded i.n size, e·ight disks in the ca.se of Lttcas'
toy, as we see ·in Figttr·e 7.10. These a1e initially sta.cked on one of the
pegs so tha·t ·the laryest rests o;t ·the bottom of the S'tack, ·the next la?yes·t in
size atop it, and so on, end·ing with the smallest di.sk placed a·t ·the top. A
player can shift the disks .fl"Om one peg to anotlte1· one a·t a time, howeve1·,
no disk 1nay rest 11.pon a disk srnalle1· tha.n it.self. The task is to tmn.sfe7· the
towe1· of disks from the peg upon which the disks ·initia.lly 1est to one of the
other pegs. How does one accompli.sh this ·transfer in the minimum numbe·r
o.f moves?
Denote the required minimal number of moves with h,. (h. stands for
"Ha.noi"). It is evident that h
1
= 1 and h
2
= 3. The fi rst three moves are
displayed in Figure 7.10.
A A B
c
A B c A B c
FIGURE 7.10. Tower of Hanoifirst moves
In order to transfer the largest clisk from peg A to peg B, we must first
construct a tower composed of the remaining n  1 disks on peg C, using
13
N. Claus [=Edouard Lucas), La tour d' HMwi, jeu cle calcul, Sci. Nature 1 (1884),
127 128; also E. Lucas, Recd.ations illh•lhmatiques, GauthierVillars 1882 94, reprinted
by Blaucbarcl, Paris 19(>0.
TOWER OF HANOI 197
in th.is process t be peg B (see Figure 7.11) . The minirna,J number of moves
necessary for this tra.nsfer is h.,._
1
. After tha.t , one rnove is needed for the
transfer of t he la.rgest clisk to peg B and at least h,._
1
moves t.o transfer
n  1 disks from peg C to peg B by using peg A. Therefore, the required
number is given by the recurrence relation
h,. = 2h.,._ l + 1, n > 2, h1 = 1.
A B
F IGURE 7.11.
For n, n 1, . .. , 3, 2 the relation (7.9) gives
h,. = 2hn l + 1
h,._ l = Zhn 2 + 1
h3 = 2h2 + 1
h2 = 2h1 + 1.
(7.9)
c
Multiplying t he above relations by 1, 2, 2
2
, .. . , 2"
2
, respectively, and sum
ming the left and right sides of multiplied relations (do you remember tele
scoping summation from page 100), after cancelling the same terms one
obtajns
h,. = 1 + 2 + 22 + ... 2"' 2 + 2" 1 = 2"  l.
Therefore, 2"·  1 is the m.inimum number of moves required to effect the
complete transfer of n disks. In the ca.se of Lucas' 1883 toy with n = 8
disks, tllis number is 2
8
 1 = 255. In fact, 2"  1 is really the minimum
number of moves if the described algorithm is applied, but we cannot yet
cla.im "mission finished". This question is discussed later.
A year a.fter Lucas had launched his toy, Henri de Pan·ille told an inter
esting tale of t he origin of the Towe1· of Hanoi in La Natu·re (Paris, 1884,
pp. 285 286) . Rouse Bt1.1l and Coxeter's book, Mathema.tica.l Recreations
and E.s.says [150], retells this story; we present an ada.pted version below.
198 7. COMBINATORIC$
.In the Temple of Benares, beneath the dome p1wportedly rnat'king the ve?y
center· of the 'WO?'ld, ther·e lies a brass plate ·with three diamond needles affixed
to it. Each needle measures one cubit ·in height, and the size of a bee in
thic/.;ness. At the same time God cteated the wo?'ld, he also c1eated the Towe1·
of Bmhma and placed sixtyfOtu· pu1e golden disks upon one of the needles,
the largest disk re.sting ?;pon the bmss plate, with ea.ch di.sk prog1essively
smalle1· in size 1mtil reaching the top. In acco?·dance wi'tlt the unchanging
and unchangeable laws of Bmhma, the temple priests m1,st tmnsfer· the disks
j1·om one of these diamond needles to anothe·r never· ceasing, day o1· night.
The attending priest may not move rnme than one disk at a time and in
plac·ing these disks on the needle, he mnst respect the 01det· so tha.t no sma.llet·
disk rests below a lat'ge!' one. Once the ·tmnsfer of the sixty.fou·r disks .{1·om
the needle on which God fi!·st placed them to one of the othet· needles has
been completed, a.ll wil l tnm to d1tst, towet·, temple, a.n<l Bm.hmins togethe1·,
and the eo.r·th itself w·ill vanish in a thundet·bolt.
According to the derived general formula, the number of separate t ransfers
of golden disks of t he Tower of Brahma in Benares is
2
64
 1 = 18,446, 744,0'73,709,551,615.
Assuming t ha.t t he priests can t ransfer one disk per second, t he end of t he
world will occur in about 585 billion years! But wait for a. moment. In
cidentaJly, 2
64
 1 is the total number of grains of whea.t on the ordinary
8 x 8 chessboard if one grajn is pla.ced on the first square, two on t he second ,
and so on in geometric progression, as mentioned in the int roduction of this
chapter . Indeed, 1 + 2 + 2
2
+ ... + 263 = 26
4
 1.
Although rna.ny references state 2" 1 as the minhnum number of moves,
most do so without offering any deeper analysis. However, D. Wood in
his paper [189) says: "What is ns1wlly p1'0Ved is that the numbet· of moves
1equired by the rec1wsive algo7'ithm for n disks is 2"  1. This is not a p?'Oof
that no other algO!'ithrn e:tists wh·ich takes f ewer moves. " ln the continuation
of his paper, D. Wood proves that 2"  1 is rea lly the minimum number of
moves, independently of a moving procedure. Two important corolla ries are:
1) The typical recursive solut ion (shown a.bove) for the Tower of Ht\ nOi
problem is optimal in the number of moves.
2) The Tower of Hanoi problem is an exponential time problem.
Wood's paper [189] also contains an analysis of the solution from a com
putationa.l complexity point of view, a. t ransferprogram generator writ ten
in PASCAL, some open t'l.nd some new problems concerning the Tower of
Ha.noi problem a.nd, finaJly, an extensive list of references on t he subject .
TOWER OF HANOI/INTERCHANGING THE CHECKERS (I) 199
The Tower of Hanoi a od, in turn methods for solving it, have genera.ted
a.n a.buoda.ot litera,ture; for ex.aJuple, [17, Vol. 2], [18], [19], [28], [29], [50],
[69], [70, pp. 55 62], [88], [99], [1031, [149], as well as the mentioned works
by Lucas [125], a.nd Rouse Ball and Coxeter [150] . The use of a special type
of graph ( caJled H., graph for ndisk Ha.noi) a.nd of graph theory a.pplica.tions
to study the Tower of Hanoi and solve it form the basis of the papers [60],
[157], [192]. Curiously enough, the corresponding H,. graph, associated with
the solution of ndisk Hanoi, looks more and more like the Sierpil'tski gasket
as n becomes larger and larger; see [171] .
A curious rea.der may wonder whether there is a solution for a tower with
four or more pegs. There are algorithms for transferring disks on four pegs
but the optimality of these procedures (that the minimum number of
moves) has not been proved yet. It is solely conjectured that this number is
given recursively by
f.n. = fn.  l + 2" , ft = 1,
where
l
/8n 7 lJ
x 
 2 .
Recall t hat lxJ is t he greatest integer less tha.n or equal to x.
Interchanging the checkers (1)
The following problem by Lucas a.ppearing in his 1883 book .Recr·eations
mathematiques
14
o1ay a lso be found io tbe book [150, pp. 124 125].
lololol
1234567
FIGURE 7. 12. Interchangi ng t he checket·s
Problem 7.16.* Seven squares, denoted by rmrnbe1·s frvrn 1 to 7,
joined in a. row a.s ·in Figur·e 7. 12. Thi'ee white checkei'S ar·e placed at one
end, and tlwee black checkei'S a·t the othe1· end. The middle square 4 is
vacan·t. The aim is to tnmslate all whi'te checkers to the places occupied
initially by the black checke1·s and vice ver·sa, moving white checker·s from
left to right, and black checker·s from 1·ight to left. One move consists of
eithel' one transposition o.f a checker to the adjacent ?Lnocc1>pied m·
14pn.ris 1883, Vol. 11, part 5, pp. 1<11 143.
200 7. COMBINATORICS
the jump over· a checke•t of opposite colO?· on the 'l.t.noccup·ied sqv.ar·e beyond it.
The checke·ts m01y rno·ue i.n any o•tder, regar·dless of their· colO'/'. The minimum
numbe·r of moves is
A notber of Lucas' cbeckerintercbanging problems is a. li ttle more compli
cated and may be found in Wells' book 1186].
Interchanging the checkers (II}
Problem 7. 17.* Figur·e 7.13 shov1s checkers A, B , C, D occupying
the shade.<l sq·umes. The task ·is to exchange C for· D and A for· B. The che
ckei'S can move one o1· mor·e squ.a1es in any direction (including rec·tangular·
tur•ning), but without skipping over· any other· checker·s.
c 0
1 2
3
4
A B
FIGURE 7.13. Interchanging t he checkers
Shunting problem
Problem 7.18.* This problem 1·eq1!ires tmin A to overtake train B, em
ploying a srnw tn1.ck only long enough to hold hCLlf of tn1.in B; see Figu.r·e 7. 14.
If ow can the engineet·s maneuve·r the ·trains to rever·se the·i·r positio?M?
sidetTack
L main tTack
R
A B
J
FIGURE 7. 14. Reversal of t rain posi t ions
PROBLEM OF MARRI ED COUPLES 201
Problem of married couples (probleme des menages)
The next problem by Lucas appea.red in his book [125] in 1891 and reads:
P roblem 7 .19. Dete7'1n:ine aLl poss·ible a'l'rangements of n married co·u
ples in such a manne1· that the seating 7'esttlts in the men and women placed
altemately about a 1'0tmd table so that none of the husbands is eve·r seated
next to his own ttrife.
For more than a. century, this classic problem of combinatorial ana.lysis
has attracted the attention of numerous a.uthors. For more cleta.ils see, e. _g. ,
Dorrie [54], Dut ka [59], Kaplansky and Riordan [111] and Riordan [147].
Solving this clwJlenging problem, a.lso known as the P'I"'blilme des menages,
requires some elements of t he theory of cliscorda.nt permutations. The
Ftenchmen M. La.isant
15
and M. C. Moreau and H. M. Taylor, an English
man , ha.ve a.ll a.rrived at solutions for the maJTied couples problem l
6
using
recurrence relation (7.10) , given below, without. the expression of a.n explicit
formula. Due to lack of space, we cannot give t he solution here. Instead, we
borrow the final result from H. Donie's book [54] in which he presented the
complete solution.
The number .8,. of possible a.rra.ogeo1ents of n married couples sa.tisfying
the condition of the problem is B.,. = 2n!A.,., where A.,., is calcula.ted from
the recurrence formula
(n  l)An+ l = (n
2
 1).4,. + (n + l)A ..  1 + 4(  l)n. (7.10)
The derivation of t his relation may be found in [5·1] . The question of relation
(7. 10)'s priority was discussed in [111]. In his book Th€o1'ie des Nombr·es
(1891), Lucas gives (7. 10) attributing it to Lajsant , a.nd independent ly to
Morea.u. Nonetheless, Ca.yley a.nd Muir noted relation (7.10) tbirt.een years
earlier , a fa.ct unknown to Lucas and others after him.
It is not difficult to find A3 = 1, A
4
= 2 directly. Then t he a.bove recw·
rence rela.tion commences, g.iv.ing
.4
5
= 13, A
6
= 80, A, = 579, A
8
= 4,738,
Ag = 43,387, A10 = 439,792, etc. ,
and Bn is easy to calculate.
l5 Sur deux pTobf.em.es de pe•·mutations, Bulletio de Ia Societe Mathematique de 'Prance,
T. 19 (1890 91), 105 108.
16
A p1'oblem on a1rangement, Messenger of lV!at.hematics, Vol. 32 (lV!ay 1902April
1903), 60 6:3.
202 7. COMBINATORIC$
The recurrence relation (7.10) is a nice contribution, but it gives only
indirect infonnation. The for a neat closed form of An ended success
fully when J. Touchard[177] gave the explicit solution of Lucas' problem in
the form
B.,. = 2n!A,.,
A,,= t ( l )k 2n ( 2n k) (nk)!
2n  k k
k =O
(7.11)
However, Touchard did not offer a proof. Proofs of {7.11) were given by A.
Kaplansky [110] in 1943 and J . Riordan [146) in 1944.
With the assumption that n wives were seated in assigned positions, leav
ing one vacant place between ettch pair, then the desired number is exactly
A.,. In 1981, D. S. Jones and P. G. Moore [108] considered this variant. of
Lucas' problem and found the explicit solution in the form
k (2n  k  l) !mr
1
1
2
.4,, = " (1) .
L...J k!(n k  1 ' 2)!2
2
·n. 
2
k  l
k=O I
(7.12)
The equivalence of formulae (7.11) and (7. 12) was shown in [59] .
G. E. Thomas [17 4] reported the genesis and short history of t he 1noblerne
des menages, pointing t.o the problem's connections to a. number of diverse
areas. J. Dutka wri tes in [59] tha.t P. G. Tait (18311901) , a wellknown
nineteenthcentury physicist and a professor of natural philosophy at Edin
burgh, investigated the theory of vortex atoms in t he 18.70s and stated a
knotproblem which is equi\raJent to Lucas' problem with initially assigned
places for wi ves (or husbands). Thomas Muir (see [85]) formulated Tait's
problem a.s a. question concerning the number of terms in the expansion of
a particular kind of determinant and obtained the recmrence relation (7.10)
sometimes referred to as Laisant 's relation. Other related problems were
considered in [111], [126, Vol. 1], [147, Ch. 8], [178], [1911.
James Joseph Sylvester (1814 1897) (t p. 307)
The tree planting problem
There are many puzzles based on t he arra.ngement of n points in a plane,
but the oldest and most popula.r known as the "tree planting problem",
or the "orchardplanting problem." Stated simply, it re11ds as follows:
Proble m 7.20. Ho1u can n points in a 11l<me be an·ange4 in r·ows, each
con.ta.ining exa.ctly k points, to p1'0d11.ce a maa;i.mu.m mtmbe?' of 1'0·ws?
TREE PLANTING PROBLEM 203
The puzzle's name comes from <lll ea.rl ier puzzle concerning a fa.rmer who
wi shes to pla nt a certa.in number of trees in an orcha rd so that the patter n
of trees will have 1' straight rows of exactly k trees in each row. The puzzle
becomes difficult when one stipulates a maximum number of rows.
J . J. Sylvester devoted much of his time to this question working con
tinually on the general problem fTom t he late 1860s until his death in 1897
(see H. T. Croft et at. [44]). Although this puzzle has been around for many
years, t he general problem of determining the largest number of rows r(n, k) ,
given nand k, bas yet to be solved. The solution was found for only some
pa.rticular cases. For example, Sylvester found the lower bound given by
r(n, 3) > (n  1)(n 2) J,
where, a.s a ren1inder, lxJ is the grea.test integer less tha n or equaJ
However, this is an inferior limit; compare with values given in Table 7.4.
A wealth of details a.bout the tree pla.nting problem may be found in [30]
and [77]. S. Ruberg, in [152], records an interesting a pproach to this problem
using t he projection procedure.
When k is 2, the problem is t rivial: every pair of n points forms a row
of two which means that the ma.ximum number of rows is (;) =
When k L5 3, t he problem not only becomes more intriguing but it also
relates to such mathematical topics as balancedblock designs, Kirkman
Stei ner t riples, finite geometries, Weierstrass ellipt ic functions, cubic curves,
projective planes, errorcorrecting codes and many other significa.nt aspects
of mathematics .
Assuming that all n points lie in a. finite plane, the ma.ximurn solutions
for threeina row plants, for n = 3 to 12, a.re given in the table below.
1l. 3 4 5 6 7 8 9 10 11 12
r·(n, 3) 1 1 2 4 6 7 10 12 16 19
TABLE 7.4.
Henry Ernest Dudeney (18571931), the grea.t English puzzle expert to
whom we ha.ve made mention, furnished the 11point pattern with 16 rows
shown in Figure 7.15; see [56]. Dudeney presented this solution as a. militaJ·y
puzzle. "On a Wm·ld I battlefield, 16 Russian sold·ie1·s .S'U.1'tO'urut 11
Tu1·kish soldie1·s. Each R1tssia.n soldie1· ji1es once and each bullet passes
th1·ou.gh exactly thl'ee Turkish heads. How ma.ny Tu.1·kish soldie1·s 1emain
alive?" According to Figure 7. 15 the answer is: Nobody. The Russian
soldiers' positions are situ<1ted in the continua.tion of each line segment.
204 7. COMBINATORICS
F'IGUR.8 7.15. Eleven points in 16 rows of three
In the case k = 4 t he problem becomes more difficult. More details
can be found in [77). Here we present an interesting example deaJing with
n = 16 and k = 4, discussed by Henry E. Dudeney.
17
The bestknown result
(15 rows) of that time is shown in Figure 7.16.
18
As reported by l'vlartin
Gardner in [77) , this pentagonal pa.ttern resembles t he blossom of the flower
Hoya camosa (Figure 7.16 right ), a member of the milkweed family and one
of 100 species of Hoya that a,re native to Eastern Asia a.nd Australia..
F IGUR.£ 7 .16. 16 points in 15 rows of four FIGURE 7.17. Hoya camosa:
the fl ower pattem
17
Problem 2L in his The Canterb11n; Puzzles and Other C11riou.• Problems, London,
1907.
18
Today we only know that maximum number of rows for k = 4 ar1d n = 16 is at
least 15.
SYLVESTER'S LINE PROBLEM 205
After thin ki ng a bout the t ree planting problem for ma.ny years, Sylvester
posed in 1893 a new related problem (without a proof), today known as
Sylvester's line problem:
P roblem 7.21. Is 'it possible to a1·mnge any finite number of points so
that a s£might line through every set of two points shall always pass tlwough
a thinl, 1mless they all lie in the same right line?
Unfortunately, Sylvester did not Jive to see an answer to his question.
T. Griinwald
19
(1944) was t be fi rst who correctly solved the problem: the
a.nswer is no. It turned out that the answer a.lso follows from a result of
E. Melchior (1940) applying Euler's polyhedral formula.
Paul Erdos (19131996) (1 p. 310)
The grea.t H u nga.ria n mathematician Pa ul Erdos was one of t he twen
t ieth century's most prolific and eccentr ic mat hemat icians. He wrote or
coauthored 1,475 academic papers collaborating with 485 coauthors, more
people tha.n any mathematician in history. Erdos was really crazy about
mathematics. He was forever occupied wit h various kinds of mathemati
cal problems, incl udi ng many curious and amusing tasks; one of them is
presented below.
Erdos, a confirmed bachelor, spent most of his life crisscrossing the world
in search of the beauty and the ultimate trut h in mathemat ics. Paul Hoffman
published The Man Who Loved Only N1mtbe1'S (Hyperion, New York 2000) ,
an inventive and captivating biography of Paul Erdos. We learn t hat Erdos
had his own particula.r language, for example:
Paul Erdos
19131996
= womaJt
slave= man
captured= married
liberated = divorced
recaptmed = remarried
epsilon = child
to exist = to do math
to die = to stop doing math
trivial being = someone who does not do math
noise = music
my brain is opeu = I am ready to do math
19
T . Griimvald, Solution to Problem 4065, Amer. Math. Montly 51 (19<14), 169171.
206 7. COMBINATORIC$
We present a problero belonging to combi.natoria.l geoo1etry t hat a.ttra.cted
t he attention of Pau 1 Erdos.
Different distances
P roble m 4. 22. Given the 7 X 7 can yott JJI!t 7 cotmters so
that all d·istances bet1ueen pairs <we different'? It ·is assumed that distances
are ·mea.s·t.wed on a stmight line jo·ining the cente1·s of cells.
The posed request is less innocent than it might appear at first glance.
This is one of those problems with a simple and clear formulation but with a
difficult solution. Erdos enjoyed solving such problems. For him, they were
like perfume: the packaging is at least as important as the contents.
The general problem of the n x n board with n counters has had a tem
pestuous history; see Gardner [821. It was proved, wHh significant help fTOm
computers, that the 7 x 7 board is the largest for which there is a solution.
Paul Erdos and Richard Guy [82, p. 137] gave the solution for the checker
boa.rd 7 x 7 (shown in Figure 7.18) and proved t hat no solutions are possible
for n > 7.
1
vVhere there is a will , t here is a way .
• •
•
•
•
•
•
FlCURE "7. 18. Different distances on t he 7 X 7 checkerboard
Answers to Problems
7.5. The company must be ar ra.nged in a circle as shown in Figure
7.19, where the small whi te disks represent sa.ilors aJld the sma.ll bla.ck disks
represent smugglers. The command
InversePermut ation[Josephus [30 ,9]]
ANSWERS TO PROBLEMS 207
in the programming pa.cka,ge Mathernatica gives the complete list in order of
execution (ta.ke the first fifteen numbers); see Figure 7.19:
9, 18, 27 , 6, 16 , 26, 7 , 19 , 30, 12 , 24 , 8, 22, 5 , 23
Start
9
oooeo
14 0 3
2
1
30
29 0
• 4 28 •
3
4 . 5 27 . 6
6 26
7
• 7 250
12 . 8 24 . 11
1 . 9 23 . 15
010 22 . 13
0
11 210
12 20
• 13 19 0
10 0014 15 16 17 1.8 •
o e o 2
8
5
FIGURE 7.19. Disposition of smugglers and sailors
7.6. A solution is a = 1, h = 11, b = 9, k = 29.
7.10. The unique solution is shown in Figure 7.20.
D F A E c B
B D c F A E
A B E D F c
F E B c D
A
E c D A B F
c A F B E D
FIGURE 7.20. A 6 X 6 Latin square solution
7.16. The solution requires 15 moves that can be recorded by the starting
and the destination square (see Figure 7.12) :
34 53 65 46 24 12 31 53 75 67 46 24 32 53 45
208 7. COMBINATORICS
7. 17. The first step consists of moving checker Bone squa.re to the rigbt.
Next , move A a.rouod the circuit in the clockwise direction to t be square
directly right of checker B; see Figure 7.13. To interchange C and D, move
them bot h around the shaded cells 1,2,il,4 t hus: C : 134, D : 21, C : <12.
Last, shi ft checkers B  A to t be left to occupy squares 3 and 4.
7.18. Referring to Figure 7.14, we will describe the maneuvering of the
tra.ins in five stages. The arrows ? and + indjcate, respectively, t he motion
of trains forward (left to right) and backward (right to left) . The common
point Mel tra.ck sections are denoted by the letters J (j unction), L ( t ra.ck left
from the j unction), .R (track right from the j unction) and 8 (spur t rack).
1) B: ? L J R; r R J 8, uncouples its reaJ· half on the spur track; the
front half of B: ? J R;
2) A: ? L J .R, joins the rea.r half of B; + .R J L;
3) the front half of B: + .R J 8;
4) A uncouples the rear half of B and proceeds on its way to L .R;
5) the front half of B lea.ves the spur track, joins its rear half and proceeds.
Chapter 8 PROBABILITY
The most impot·tant questions of life are,
for the most pmi, r·eatly only problem.s of probalrilit!t·
PierreSimon de Laplace
P.robabil·ity is expectation founded upon pa1iial knowledge.
George Boole
The exci.tement that a gamble?' feels
when making a. bet is equo.l to the o.mo1mt
he might win times the pt·obability of winning it.
Blaise Pascal
The grea.t French ma.thema.t iciaJl PierTeSimon de La.pla.ce wrote: "it ·is
that a science which began with the cons·idemtion of games of
chance should have become the most impo·rtant object of human knowledge."
He thought about the probabiUty a.od you will see at the beginning of th.is
cha.pt,er tha.t Pascal and Fermat were those fellows who conducted the men
tioned trea,tise of t he game of two gamblers who played for a. stake. The
results of their fruitful discussions Jed to the foundation of the proba.bility
theory, a. very importa.nt bra.nch of mathematics, which is a.Jso very useful in
many scienti6c disciplines a.nd many otber buman activities.
Proba.biUty de<11S with the estimation of a. cha.nce that some event will
ha.ppen, or figuring out how often this event can occur under given condi
tions. The probability of the occurrence of an event can be expressed a.s
a fraction or a decima.l fTom 0 (impossible event) to 1 (certain event) . It
is substantia.[ to many human activities and experimental researches when
qua.ntita.tive an<1lysis of la.rge sets of da.ta is necessaJ·y. However, we will con
sider neither such analysis nor the a.na.lysis of ra.ndom phenomena.; we will
not even get involved in the pitfalls of defi ning probability. In this chapter
you will find only elementary problems of great ma.thematicians tha.t need
only the knowledge of the basic elements of combinatorics.
"Pe1·haps the greatest pamdox of all is tha·t the1·e a1e pamdoxes in math
ematics," said Edward Kasner. Probability is full of surprising results and
pa.ra.doxes, more tha.n any other branch of ma.thematics. This is a.nother
209
210 8. PROBABILITY
pa.ra.dox. Indeed, tha.nks to our sense of risks a.nd many aspects of cha.nce,
a.nd direct life experience, we should ha.ve a. good estima.tiou of results. In
spite of that , probability is swarming with paradoxes and unexpected re
sults. Would you take t he bet t ha.t at least two people among soccer players
of two tea.ms plus the referee (23 persons in total) ha.ve the sa.me bi rthday?
"No, the chance 'is ext·1emely small, " you would have probably sajd. How
ever, probability t heory gives the unexpected result of even 51%. If we know
that in a twochild family one child is a boy, what is the probability that
both children are boys? A most frequent but incorrect answer is 1/2, a good
analysis tells us tha.t the probabili ty is 1/3. Another para.dox is given a$
Problem 8.4 in this chapter.
Cha.rles S. Pierce once said: "P1'0balrility is the only one bmnch of math
ematics in which good write1·s get 1esults which a1·e enti1ely e!'1'0
neous." Leibniz is sa.id to have thought that the probability of getting 12
wi th a. pa.ir of dice is the same as of getting ll.. Simila.rly, D'Alembert , the
grea.t eighteent hcentury French ma.thema.t ician, fa.iled to notice tha.t tossing
a. coin three ti mes gives the saJne results as tossing three coi ns a.t once.
The following example is instructive: When a stMisticia.n passed the ai r
port security check, the security employees discovered a bomb in his bag. He
explained: "Statist·ics show that the p1·obability of a bomb be·ing on an ai7'
plane is 1/1000. However·, the chance that the•te a.'l'e t·wo bombs on one plane
'is 1/1000 x 1/1000 = 1/1,000,000, which is a very small pr'Obability and I
can accept that 7'isk. So, I bl'ing my own bomb along to feel much safe?·."
How to avoid t raps and wrong conclusions? In any probability problem,
it is very important to analyze given conditions and understand them well,
and identify all different outcomes t hat could occur.
Except the already mentioned problem of the division of stakes between
gamblers discussed by Pascal and Fermat, this chapter contains the gam
bler's ruin problem which attracted wide attention of eminent m>1themati
cia.ns, including Pascal, Fermat and Huygens. Huygens was the author of
the first printed work on probability; so we selected a problem on a gam
bling game with dice from his collection. It was impossible to omit a. very
popular probability problem with rnisaddressed letters, related to the work
of Euler a.nd Nicolaus II Bernoulli (see Chapter 7) . T he Petersburg para
dox is given as a good example of an unexpected result that fascinated and
confused many mathematicians including the brothers Daniel and Nicolaus
III Bernoulli, Cramer, D'Aiernbert, Poisson, Bertrand, La.pla.ce a nd ot hers.
Fina.lly, Banach's matchbox problem will test how skillfully you can swim in
combina.torial waters.
FERMAT AND P ASCAL 211
Pierre de Fermat (16011665) ( f p. 303)
Blaise Pascal (16231662) ( f p. 303)
Pierre de Fermat
16011665
Pierre de Fermat, considered one of the leading
of his time, was a lawyer who spent
much of his time doing mathematics. Although he
published almost nothing, he communicated a.ll of
his work through his extensive correspondence wi th
many of the leading mathematicians of his day. He
stated the basic properties of optics, now known to
us as Ferma.t's principle: light a.lways follows the
shortest possible path. Fermat made major cont ri
but ions in several branches of mathematics, but he
is best remembered today for his work in number
t heory, in particular for Ferma.t's Last Theorem,
certajnly one of the bestknown problems in the hi
story of mathematics.
1
The French genius Blaise Pascal showed a phenomenal ability in math
ematics from an early age; at the age of twelve he made the independent
discovery of most of t he theorems from Euclid's fi rst book; when he was four
teen he participated in the gatherings of a group of French mathematicians
t hat in 1666 became the French Academy; in 1654, he wrote a brief essay on
conic sections. By the a.ge of twentytwo,
2
he invented the fi rst calculating
machine which he called pascaline.
After experiencing a religious ecstasy on the night of November 23, 1654,
Pascal abandoned science and mathematics for theology. From t ime to time,
he would return to mathematics and other sciences. He even wrote one
philosophica.l book in the form ofletters to a ficticious provincial gentleman.
One of these letters contained the wellknown Pascal's apology: "/ would
have w·ritten a sho·rte1· letter, but I did not have the time. " Pascal turned
away from worldly concerns a.nd died at the age of 39, after suffering greatly
clue to a n illness of long duration.
1
No posiUve integers x. y, z, n exi st such that x " + y'' = zn for n > 2. Fermat's
conjectme is probably the bestknown problem in the history of mathematics. After eight
years of extensive work, t he English mathematician Andrew Wiles (1954 ), proved this
conjecture and published his proof in the paper Modular elliptic c1lrvea and Fermat's
Dast 1''heorem., Annals of !VIathcmatics, VoL 141, No. 3, May 1995. Wiles' proof contains
extraordinary ideas from various highly specialized branches of mathematics, among them,
elliptic curves, algebraic geometry, modular fon n.s, and padic numbers.
2
According to some sources, by t he age of eighteen or nineteen.
212
Blaise Pascal
16231662
8. PROBABILITY
It is perhaps worth mentioning that Descartes,
Fermat and Pascal represented a mighty French
trio of mathematicians in the first half of the sev
enteenth century. However, Descartes' arrogance
and massive ego often spoiled the harmony of this
trio. After Fermat's criticism of Descartes' work,
Descartes began to ignore Fermat and endeavored
to smear his reputation whenever possible. Pascal
suffered similarly, alt hough he had done nothing
to deserve this treatment. Commenting on Pas
cal's study of atmospheric pressure and a vacuum,
Descartes noted sarcastically that Pascal "has too
much vacuum in his head. "
The Problem of the points
The origins of probability theory came about as a result of a gamblers'
quarrel in 1654, when Antoine Gombaud, the chevalier de Mere a profes
sional gambler, more or less, and a friend of Pascal, asked him to solve an
insignificant gambling problem concerning the division of stakes. Pascal and
Fermat carried out intense discussions on this problem, often called the prob
lem of the points. Through their correspondence they botb arrived at a new
theory based on ideas that laid the foundations for the theory of probability.
Gerolarno Cardauo, mentioned elsewhere on page 180, and Luca Pacioli
had earlier considered the division of the stakes problem posed by de Mere
to Pascal although they both arrived at incorrect solutions. The problem of
the points, sometimes named as the division p1Vblem, thus reads:
Problem 8.1. T'WO supposedly equallyskilled gamblers play a game for·
the stakes which go to the one u1ho first 'Wins a foced nttmber of points ,qiven
in advance. However, the game is interrupted due to some 1roson. The
question is how to divide tlw k:no'Wing the of the gamblers at
the time of interruption and the nttmbcr of points required to 'Win the game.
Fermat studied a particular case in which gambler A needs 2 point.<; to
win, a.nd gambler B needs 3 points. We present his solution in the following
paragraph.
Evidently, not more than four trials are needed to decide the game. Let
a indicate a trial where A wins, and b a trial where B wins. There are 16
combinations of the t wo letters a and b taken 4 at a time, as shown in Table
8.1.
PROBLEM OF THE POINTS 213
Among 16 possible cases, 11 a.re favorable for A. (cases 1 ll wbere a
a.ppea.rs 2 or more times), and 5 are favora.ble for .8 (cases 12 16 where b
appears 3 or more times). Therefore, t he proba.bility of winning is 11/16
for gambler .4, and 5/16 for gambler B. Fermat concluded that the stakes
should be divided proportionally to t he proba.bilities of winning, thus, in the
ra.tio ll :5.
1 a a a a
2 a a a b
3 a a. b a
4 a b a a
5 b a a a
6 a a b b
7 a b a b
8 b a a b
9 a b b a
10 b a b a
11 b b a a
12 b b b a
13 b b
(),
b
14 b a b b
15 a b b b
16 b b b b
8.1.. Ferma.tPascal's problem of the poi nl:s
However, Pascal and Fermat considered the problem of points in a more
general form (see 192]). In his work Usage clu Triangle A1·i·thmetique pou.1'
Detenniner les Pa·rtis Doi.t Fai1·e & .tre en Plltsiem·s
Pa·rties, Pascal solved the problem of points using recursion relations and
the arithmetic triangle. He always assumed tha.t the two players have an
equal chance of winning in a single game.
Let n be in advance a fixed number of points that must be reached in
the pla.y, and let e( k, m) denote gambler A's shaJ·e of the total stake (or A's
214 8. PROBABILITY
expecta.tion) , if the play is interrupted when .A la.cks k games and .8 la.cks
rn games to win. Then t he pla.y will be over in at most k + m  1 further
games. Using modern notation, we may write Pascal's procedure as
1
e(O,n) = l aJ1d e(n,n)=
2
, n=1, 2, ... ,
e(k,m) = k,m = 1,2, .. .
To find the explicit expression for e(k, m) , Pascal used his results about the
arithmetic triangle. This recursive method became very popular later in the
eighteent h century; a mong many of its a.pplications in solving diffi cult prob
lems, de Moivre, Lagrange and Laplace used it to develop general methods
fo r the solution of difference equations. Pascal's solution may be found in
[92, p. 58]. \\'e give t he final expression for e( k, m) derived by Pasca l:
1 m  l (k + m  1)
e(k,m) = 2k+ml i .
•=0
(8.1)
Ferrna.t,'s a.pproach to solving t he problem of points was different; he used
what is cal led a waitingtime arg'Ument. Al t hough he did not give a.
genera] result explicitly for e(k, m), his argumentation presented on some
particular cases clearly leads to t he expression
(k  1 + i) ( 1) k+i
e(k,m) = L.. k 1 2.
i ==O
(8.2)
Note that (8.1) a.nd (8.2) give ident ical results.
For example, for a particular case given previously when k = 2 and m = 3,
the formula (8.1) (say) gives
e(Z,
3
) = 2
1
4 (G) + G) + G))
which is the proba.bility of gambler .4 to win.
11
= 16 I
Joha.nn Bernoulli , de \\•lontmort, and de iMoivre employed the methods
developed by Pascal and Fermat to solve the problem of points for players
wit h different proba.bilities of \Vinning a single game. More details on this
subject can be found. in HaJd 's book A History of Pr·obability and Statistics
and Thei?· Applications befme 1750 [92, §14.1].
GAMBLING GAME WITH DICE 215
Christiaan Huygens (16291695) H p. 303)
Christiaan H uygens
1629 1695
Certainly one of the greatest seventeenthcentury
scientists, the Dutchman Christia.an Huygens ac
quired a farreaching international reputat ion work
ing in physics, mathematics and astronomy. He was
a member of the London Royal Society and fre
quent visitors of the French Academy of Sciences
and other scientific centers in Europe: indeed as he
put it himself, "The wo!'ld is my country, science
is my r·ehgion." Huygens greatly improved the tele
scope using lensshaping techniques, which enabled
him to discover Saturn's largest moon Titan and
to give the fi rst accurate description of t he rings of
Saturn.
Huygens communicated his discovery of Sat urn's rings in a booklet in the
form of au a.nagram:
3
aaaaaaa ecce d eeeee g h iiiiiii lll rnm nnnnnnnnn oooo pp q r·1· s ttttt ummu
Ordering the letters in the proper way results in the following declaration:
Annulo cingitu1· tenu·i, plano, nusquam cohaerente, ad eclipticam inclinato.
(Enclosed by thin, fl at ri ngs, wi thout support, incl ined toward ecliptic.)
It should be noted that the letters of Huygens' anagram can be arranged
in a bout 10
6
Nonetheless, such anagrams were not sufficient
to protect secrets. \>Vhen Huygens discovered Saturn's moon Titan, he com
posed a similar anagram that the English mathematician and theologian
John Wallis deciphered.
Gambling game with dice
The fi rst printed work on the theory of probability was Huygens' little
t ract De ratiociniis in ludo aleae (On reasoning in games of dice), prompted
by the correspondence of the Frenchmen and published in 1657. Here is one
example solved by Huygens.
a An anagram c reates a new word or phrase that cons ists of t he same letters as an
existing one but ordered differently. Some sixteenth a nd seventeenthcentury scientists
often recorded t heir results or discoveries in the form of anagrams to avoid their publishing
until t hey had checked all of the details. They alro communicated with other scientists
by using such anagrams.
216 8. PROBABILITY
Problem 8.2. garnble'I'S A and B play a game two orYtinM'Y
dice. A 1vi.ns if he obtains the 6 befMe B obtain.9 7, and B ·wins if he
obtains the su.m 7 A obtains 6. Which of the player·s has a bette?'
chance of winning if playe1· A sta1·ts the game?
Let A and B stand for the events denoting the appeaJ·ances of the
sums 6 (A wins) and 7 (B wins). As usual, the opposite events are
denoted by A and B. If two dice are thrown, then there are 36 pos
sibilities: (1, 1), (1, 2) , ... , (1, 6), (2, 1), ... , (6, 6). There are five favorable
odds (1,5), (2, 4),(3,3),(4, 2),(5, 1) for the sum 6, and sb: favorable odds
(1, 6) , (2, 5), (3, 4), (4, 3), (5, 2) , (6, 1) for the sum 7. Then t he probabilities of
the described events a.re
5  31
P(A) =  , P(A) = 1  P(A) =  ,
36 36
6 1  30 5
P( B) =
36
=
6
, P(B) = 1  P(B) =
36
=
6
.
Gambler A will win if the following global event happens:
A+ ABA + AB.i.IBA + ABABABA + · · · .
Particular events that appear as addends in the above sum are mutually
exclusive, so that the probability of the global event is equal to the sum of
the proba.bilities of part.icular events. Furthermore, the events appeari ng in
the above products are mut ually independent so that the probability of the
product of events is equal to the product of probabilities of particular events.
If PA denotes the probability of A's win, then
PA = P(A) + P(A)P(B)P(A) + P(A)P(B)P(A)P(B)P(A)
+ P(A)P(B)P(A)P(B)P(A)P(B)P(A) + · · ·
+ 31 .5. + (31. 5)2. 5 + (31. 5)3. + ...
36 36 6 36 36 6 36 36 6 36
5 5 1 30
= (1 +x+x
2
+x
3
+ ···) =  · =  ,
36 36 1 X 61
31 5 155
where we put x =  ·  = .
36 6 216
Gambler B wins if the following global event
AB + ABAB + ABABAB + .4.8.4.8.4.8.4B + · · ·
GAMBLER' S RUIN PROBLEM 217
ba.ppeus. Hence, in a. wa.y simi la.r to t he above, we calculate the probabili ty
PB of B's win:
PB = P(A).P(B) + .P(A).P(B).P(A).P(B)
+ P(A)P(B)P(A)P( B)P(A)P( B)
+ P(A)P( B)P(A)P( B)P(A)P(B)P(A)P(B ) + · · ·
31 1 31 5 31 1 31 1 (31 5) 2
= 36 . 6 + 36 . 6 . 36 . 6 + 36 . 6 . 36 . 6
+ . . 3 + ...
31 1 31 1 1 31
= 36 . 6 ( l +X + Xz + X
3
+ .. . ) = 36 . 6 . l  X = 61 .
According to the obtajned proba.bilit ies PA and PB we conclude t hat pla.yer
B has a slightly greater cha.nce of winni ng tha.n his rival A . By t he way, it
must be PA + PB = 1, which is true.
Blaise Pascal (1623 1662) H p. 303)
Pi erre de Fermat (16011665) ( 4 p. 303)
Christiaan Huygens (16291695) (4 p. 303)
Gambler's ruin problem
This is a. light introduction to the Gambler 's ruin problem that attra.cted
the attent ion of Pascal, Fermat and Huygens. T he cont ributions of these
originators of t he theory of proba.bility have been presented in t he previous
essays.
Two pla.yers A and B play a. game tossing a fair coin, in other words, t he
probability of winning is 1/2 for each player. They ea.ch ha.ve a. finite amount
of dollars, say nA and ns. After each tossing of the coin, the loser gives one
dollar to t he winner. The game is over when one of the players holds all of
t he dollaJ·s in t he game (nA + nB in total). The respective chances .PA and
Pn of gaining all t he money for the players A and B are
As expected, t he player possessing less money has the greater chance of going
bankrupt . The long run success of casinos is indeed, in part at due to
this simple principle since presuma.bly casinos ha.ve much more money tha.n
218 8. PROBABILITY
their clientsgamblers. T bis game (or for some, a profit making enterprise),
in wbi ch a gambler is ruined, has been known for more tban 350 years and
it is a hot topic even today. More detaHs and a more complicated discussion
is given in what follows.
Problem 8.3(a). A and B each take 12 ttwns playing with 3 dice while
obset•ving the following 1"ltles: ·if 11 ·is thrown, A cedes one toss to B ; if
14 ·is thmum, B cedes one toss to A. The w·inner· is the player who fir·st
obtains the specified numbe·t of t·wms. Detenn·ine the probability of ·winning
fm· playe·ts A and B .
Known as the gambler's ruin problem, this problem was posed by Pascal
to Ferrna.t, a.nd through Carcavi to Hu.ygens in a. letter da.ted 28 September
1656 that includes Pasca.l and Fermat's answers (see 192, p. 761) . Huygens
gMre the following answer in a note from 1676 (contained in Ouwes, Vol. 14,
pp. 151 155): A's cb<\ nce compiued to B 's is 244,140,625 : 282,429,536,481.
The general formula.tion of t he gambler's ruin problem is as follows:
Problem 8.3(b) . At the beginn·ing of the ptwy gambler$ A and B have
m and n ckips, 1espectively. Let the·ir p1·obabilit·ies of winning in each trial
be p Jo1· A, and q = 1p Jot· B. Aftet· each tt•ial the winnet· gets a chip ft·orn
the and the play contim1.eS 1tntil one of the playet·s ·is 1' .. !t'ined. What ·is
the probab'ilit:y of A being f'ltined?
Struyck fi rst gave a. complete proof based on difference equations in 1716,
using Jacob Bernoulli's recursion formula given in A1·s Conjectandi. In mod
ern nota,tion , Struyck's solution maiY be expressed as follows:
Let e(x) denote the expectation of player A when he has x chips, x =
1, 2, .. . , m + n  1, e(O) = 0, e(m, + n) = 1. Bernoulli's recursion forrnula.
leads to the difference equation
e( x) = pe( x + 1) + qe( x  1), x = 1, 2, ... , m + n  1,
e(O) = 0, e(m + n) = 1,
which may be written as
wherefrom
+ 1) = (p + q) e(x) 1) ,
e(x + 1)  e(x) = q [e(x)  e(x 1)] .
p
GAMBLER'S RUIN PROBLEM 219
A successive a.ppUca.t ion of t be last rela.tioo gives
e(x + 1)  e(x) = (;r e(1).
Hence, by summing we get,
, _
1
[1 (qjp)"' ]e(1)
e(m) = 2: [e(x + 1)  e(x)] =
1
_ ( / ) . (8.3)
x=O q p
In an analogous way we find
m + n  1 [1 (q/p)'"' +''' ]e( l)
e(rn + n) = ""' [e(x+ l) e(x)] = ( I ) ·
1  q p
.:r. = O
Ta.king e(m + 1) = l in the last rela.tion we determine
_1
e(l ) = 1 (qj p)•n+n
Returning with entry in (8.3) , Struyck obtained t he explicit solution
1 (qj p)"'
P A = e(·m) = __,..;:.;.;_;...:....,
l _ (qj p)•n+n
By the same argumentation one gets a. similar expression for Pe:
1 (pjq)"'
Pn = e(n) =
1
_ (pjq)""+"'
From (8.4) and (8.5) we obtain t he ra.tio
for rn f: n.
(8.4)
(8.5)
(8.6)
J a.cob Bernoulli a.od Abra.ham de Moivre obtained the same result. De
Moivre's solution, which is based on a completely different method, can
be found in [92, pp. 203 204].
In a specia.l case when m = n , we set t = qj p and obtain from (8.6)
PA p'" (qjp)""  1 1 (t  l )(t'"
1
+ .. ' + t + 1)
 =  ' =  . ';:7';,,!
Pn q"' (qjp)"  1 t"' (t  1)(t"
1
+ · · · + t + 1)
1 p"'
+  =  when m + n.
tm q"u
220 8. PROBABILITY
Therefore, the expecta.tioos ra.tio of A a od B is a.s p'"' : q"', which may
a.lso be shown by induct ion. In Huygeos' problem tbe gamblers started witb
m = n = 12 chips and, according to the sta,ted rules of play, the number of
chances to win a point is 15 for A and 27 for B among 42 possible outcomes;
thus, p = 15/42 = 5/14 and q = 27/42 = 9/14. Heoce
p.4. = (5/ 14)1
2
= (5) 12 = 244,140,625
P
8
(9/ 14)
12
9 282,429,536,481'
which is in agreement with H uygens' answer.
Nicolaus III Bernoulli and Pierre de Montmort also considered the Gam
bler's ruin problem. The problem's history and Huygens' solution of a special
case posed by Pascal may be found in the book [92].
Nicolaus III Bernoulli (1695 1726) (+ p. 305)
Daniel Bernoulli (1700 1782) (+ p. 305)
Gabriel Cramer (17041752) (+ p. 305)
and others
The Petersburg paradox
Many eighteenth and nineteenthcentury mathematicians were fascinated
by a problem known as the Petersburg paradox. This problem, rela.ted to
mathematical expectations in tossing a. coin, appeared in the Commenta·rii
of the Petersburg's Academy'
1
.
P r oblem 8.4. Two players .4 and B play a game in which they toss a
cO'in unt·il it lands down. If this ha.ppen,q on the first tlwow, plctyer· A
pay.9 pla.yer B one c1·o•wn. Othe1·wi.se, pla.yer A tos.9e.9 ctgain. If heads appea1·
on ·the second 'tlwow, playe1· A pays two c1·owns; if on the thin:l th1·ow, .{ou1·
cmwns; and so on, doubling each time. Thus, if the coin does not land heads
down until the nth throw, playet· B then 1eceives 2""
1
c1·owns. How mttch
should playe·1· B pay playe1· A for· the p1ivile.ge of pla.ying th'is game?
There is a probabi lity of 1/ 2 that player B will receive one crown, a
proba.bility of 1/ '1 t ha.t he will receive two crowns, and so on. Hence the total
4
See E. Kamke, Einfuht"ung in die WaJ.rschei.nlichkeitstheorie, Leipzig, 1932, pp. 82
89.
THE PETERSBURG PARADOX 221
number of crowns tba.t he maiY reasonably expect to receive ( = ma.thematica.l
expectation) is
1 1 2 (1)"'<Jl  1 1 1 1
·1+· + · ··+ 2 +···= +  + +· ··
2 4 2 222)
that is, it is infinite! It is a lmost unbelieva.ble, but true. The result comes
like a bolt from t be blue.
This unexpected result attracted the attention of rna.ny rnatherna.ticians
including the brothers Daniel and Nicolaus lii Bernoulli and a large group of
French mathematicians. One of their contemporaries, .JeanleRond D' Alem
bert (1717 1783), also an influential ma.thematician, wrote to Joseph Louis
La.gn1.nge (1736 1813), anot her fa mous French mat bema.t ician: "Yowl' mem
oi.?· on game.s makes me ve'I'!J eage·t that you should give ·us a sol·ut·ion of
the Petet·sbu7g pr·oblem, which seems to me insoluble on the basis of known
1n·inciple."
On the one hand, French mathematicians Nicolas Condorcet (1743 1794)
and Simeon Poisson (17811840) thought that player A entered into an en
gagement which he could not keep and that the game contained a contra.dic
tion. Another French mathematician Joseph Bertand (1822 1900) asserted
that the theory, and the result given above, were qui te correct and that only
the of the game favored player B, leading to the unexpected re
sult . According to him, if the number of t hrows is limit,ed, then the cha.nces
a.re different. For example, for a. hundred games player B 's stake is about
15 crowns and he now runs a. greater risk of losing. The conditions of t he
game are still to his advantage as a result of t he possibility of large profits,
although t he probabilities are slight. B 's stake depends on the number of
games t ba.t .4 is obliged to pla.y. If this number is n, Bertrand calculated
that B's stake is log n/ (21og 2). Bert ra nd's extended commentary ma.y be
found in I<raitchik's book [118].
Some mathematicians offered a solution based on t he practical reasoning
that since a. player's fortune is necessarily finite, the sum, accordingly, cannot
be unlimited. The Comte de Buffon (1707 1788) even carried out empirical
tests to find an average amount. Daniel Bernoulli sought to resolve the
problem through his principle of moml expectMion, in a.ccorda.nce wi th which
he replaced the amounts
Actually, he considered that the worth of a. fortune depends not only on
the number of crowns it accrues, but a.lso on the S>1tisfa.ction tha.t it ca.n
222 8. PROBABILITY
give. According to his approa.cb, 100 mill ion crowns added to a.u already
a.cquired fortune of 100 mill ion, is not sufficient to double the original fortune.
Employing his own principle of mora.! expectation, D. Bernoulli derived the
following calculation (see I<raitchik [118]): "If a given jo1iune x is inc1eased
by an arrwu.nt dx, the ·wo1·th of the incr·ease is dx Hence if rny for·tv.ne
·inC'reases fmm an arnou.nt a to an arnov.nt b, .! have gained advantage
which can be mea.su·red by
1
·1> dx b
 = Joa b  Joa a = log  . "
X (:)e o e e a
• (r, •
Some references$ attribute the Petersbmg pamdox to Nicolaus II Bernoulli
(1687 1759) , a nephew of Jacob a.nd J oha.un Beroou Ui. T be French scientist
PierreSimon de Laplace (1749 1827) and the aforementioned French ma.the
ma.ticians also studied t his problem. In addit ion, I. Todhunter ,
6
E. Kamke/
M. I<raitchik [118], Rouse BaU a.nd H. S. M. Coxeter [150] a.ll discussed
details of the Petersburg paradox.
Among the various modifications of the Petersburg problem in order to
get an finite answer, Gabriel Cramer advanced one of the more satisfactory
ones in a.bout 1730.
8
Cramer assumed tha.t player A's wealth was limited.
P roblem 8.5. * (Cramer) Pla.yer A 's wealth wa.s limited to 2
24
=
16,777,216 cmwn.s. How much should )Jlayer B pay playe1· A jo1· the p7'ivilege
of playing t he game desc1·ibed in Pr·oblern 8.4?
Nicolaus II Bernoulli (1687 1759) (+ p. 304)
Leonhard Euler (1707 1783) (+ p. 305)
The probability problem with the misaddressed letters
Many textbooks consider the probability theory task that we present be
low as closely resembling the Bernoulli Euler problem presented previously
in Chapter 7.
5
See, e.g., A. N. Bogol'bov, Mathematics, Mechomi.cs  B·iog>W!hicol Dictiona.ry (in
Russian) , Kiev 1983, p. 44.
6 A History of the M athemMical Theory of Probability, London 1865.
7
Ein.fi.ihnm.g in die Wallrschei.nlichkeitstheor·ie, Leipzig, 1932.
8
1. Todhunter, A History of the Mathematical Theory of PTobability, London, 1865,
p. 221.
THE PROBLEM OF THE MI SADDRESSED LETTERS 223
Problem 8.6. A g·ir·l k letter.9 to k jr·iend.9, arut the k
CM'tesponding en·uetopes. W'itlt her eyes closed, she wndomly st·ujj:9 one Lette·1·
into each envelope. What is the pl'Obability that _just one envelope contains
the !'ight lette1·, and the other· k  1 each contain the w·1'0ng lette·r?
The problem's solution corresponds exactly to the solution of the mis
a.ddressed letters problem studied in the previous chapter, page 184. The
number of ways of getting one letter into the right envelope and t he other
k 1 letters each into t he wrong envelope is k · J1f(k 1), where the number
of allowable rearra.ngements Nl(r·) is defined in t he mentioned problem on
page 184. The number of a.ll possibilities is equal to t he number of vaJ·ious
arrangements of k objects, which ma.kes
k! = 1·2·3· .. k.
Therefore, the required probability is
k·M(k1) 1 1 1 (1)k t
pk = k! = 2!  3! + 4! + ... + (k  1)! (
8
•
7
)
Knowing the Taylor development of the function e"' ,
x x
2
x
3
x
4
e"' = 1 +  +  +  +  + · · ·
1! 2! 3! 4!
we find (for x = 1)
1 1 1 1 11 1
 1 1
e =  + +· ·· = +···.
1! 2! 3! 4! 2! 3! 4!
Comparing the last expression with Pk we conclude that for rela.tively la.rge
k we have Pk "" e
1
= 0.36787944 ....
The following variation of the problem with t he misaddressed letters has
an unexpected solution.
P r oble m 8. 7. * A girl writes k lette1·s to k friends, a.nd addresses the
k con·esponding envelopes. Then she randomly stuffs the lette·rs in the en·
What ·is the pmbabil'ity th<Lt at least one envelope contains the ·1·ight
lette1·? Find the gmatest k .s·uch that the probability i .. s greate1· than 1/2.
Another va.riation, proposed by I<a.rapetolf [112] in 1947, is a.ctua.lly a.
genemlization of Problem 8.6.
224 8. PROBABILITY
Problem 8.8. * A g·ir·l 'W!'ites k lette·1·s and add1esses the k
envelopes. Then she mndornly p·1tt.9 one lette?' into each envelope. What ·is
the p1·obability that exactly m envelopes contain the right lette1·s, and the
othe·r k  m each conta·ins the W'rong lette?'?
Stephen Banach (18921945) ( t p. 308)
Matchbox problem
The famous Polish Jna.thema.tician Stephen Ba.nach was the founder of
modern functional analysis and a great contributor to several bra.nches of
mathema.tics (the Han Banach t heorem, t he BanachSteinhaus theorem,
Banach spa.ce, Banach algebra, the Banach fixedpoint theorem). Ba.nach's
following "definition" of a ma.thematicia.n is often quoted:
"A mathematician is a pe1·son who can find analogies between theo?ems,
a bette?' mathemat·ician is one who can see analogies between p!'Oofs and the
best mathematician can notice analog·ies between theo1·ie.s. One ca.n ·imagine
that the ·ultimate rnathemat·ician is the one ·who can analogies bet1ueen
a·nalogies."
Stephen Ba.na.ch posed and solved t his problem.
Problem 8.9. A man cardes ttuo boxeB of rrwtches in h.iB pocket. Every
time he wants ·to light a match, he selects one box o1· the other a·t mndom.
A.{te1· some ·time the man discove1·s ·that one of the boxes is empty. What
is the p·robability tho.t the1e will be exactly k rncLtches at that rnornen.t in. the
other box if each box origirw.ll:y contained n (> k) matches?
Solution. Let i\l h stand for the event t hat "there is exactly k ma.tches
in one of the boxes in the moment when the man observed that the other
box is empty." The problem is equivalent to t he problem of determining
the probability that at the moment when the man attempts to remove the
(n + l)st match fTom the box A, exactly n  k matches a.re taken from the
box B. Considering the problem in this form, we see that we can increase
the number of ma.tches in the boxes. lvioreover , we will assume t hat each
box contai ns an infinite number of matches.
Now we can consider the experiment of choosing n + (n  k) = 2n  k
matches, selecting the box fTom which each match is taken at random. Since
the ( 2n k + l )st match is assumed to come f1om .4, its selection is not
part of the experiment. There are 2
2
" k equa.lly probable outcomes of this
experiment . The favora.ble outcomes a.re those in which n matches are chosen
ANSWERS TO P ROBLEMS 225
from A. a.nd the remai ning n  k from B. This ca.u be done in
ways,
a.nd so t he desired probabili ty is
1 ( 2n  k)
p(!Vh) = pk = ., k .
2" n
(8.8)
T he following question na.turalJy aJ·ises:
Problem 8. 10. * What i,q the most likely numbe·t of matchM 1ernaining
·in the box at the exact moment when the othe1· bo:c i.s empt;u? In othe1· words,
detemtine max P, (n > k > 1).
Here is another related problem of the combinatorial type.
Problem 8.11.* Using the solt1t·ion to Banach's matchbox p1·oblern, find
the following .9u.rn:
Answers to Problems
8.5. T here is a probability of 1/2" t ba.t player 8 will receive 2"
1
crowns
at t he nth throw only as long as n < 25; t hereafter he will receive merely
2
24
crowns. Since
., 4 00
tGr. 2'>1 1 + L Gr224 = 12 + 1 =
n= l n = 25
the player's expecta.tion is 13 crowns, a. reasona.ble amount.
8. 7. Let Pk be t he probability that at lea.st one letter (among k) will go to
the right a.ddress. Assume tha.t the letters and envelopes are numbered from
I to k . Let .4; be the event tbat the ·ith letter goes into the right envelope ·i.
Using the formula for t he product of mut ually independent events we obtai n
1 1
P(A;, A;, . .. A..) = k . k  1
1
(8.9)
k  1' + 1
226 8. PROBABILITY
Now we wiiJ a.pply t be formula for the su01 of events (the derivation of it
is beyond the scope of this book):
Pluggi ng (8.9) into (8.1 0) gives t he required proba.biUty
(
k) l l (k) l l l k l (k)
Pk = l   · + · · + .. · +(l ) 
2 k k  1 3 k k  1 k  2 k
1 1 k 1 l
= l  +  + .. · + (1)  .
2! 3! k!
It does not hurt to find t hat P2 = 0.5 and Pk > 0.5 for aU k > 3 wi t h
lin1 Pk = 1  e
1
""0.632121.
The probability that the considered event will not happen, t hat is, none
of t he letters wil l be put into t he rigbt envelope, is given by
k.
1 1 c )k 1 I:c )i 1
i'h = 1  Pk =    + · · · +  1  = 1 ..,.
2! 3! k!
(8.11)
i = O
'Varning: The last expression differs from (8.7). One more remark.
result (8.11) fi nds it s applica tion in solvi ng Problem 8.8.
The
8.8. Assume that exactly m (among k) let ters have been stuffed into t he
correct envelopes. The proba.bility t hat each of t hem is contained in t he
right envelope is
1 1 1
P1 =  · · · · ;
k k1 km+1
see (8.9).
According to (8.11.) , t he probabili ty that none of the remajniug k  m
let ters is put into t he right envelope is
k m. . l
Pz = L (  1)' :r·
t .
i=O
ANSWERS TO PROBLEMS 227
Therefore, t.be probabj]i t.y that exa.ctly m letter s are put into tbe rigbt en
velopes is given by
(k m)! k  m ( l)i
P3 = PlP2 = k l L 'I
. t.
i = O
(8. 12)
S.ince t here are ways of cboosiog m letters a.mong k letters witb tbe
probability p
3
, usi ng (8.12) it follows that the required probability is
(
k) J k  ·m ( l)·i
p = P3 =  1 L 'I
m m.. t.
·i. = O
In particular, form= 1 we obtain the solution (8.7) of Problem 8.6.
8. 10. We will prove that the sequence of proba.bility {Pk} given by (8.8)
is monotonically decreasing, that is, Pk+l < Pk , k > 1. Starting from the
obvious inequali ty
2(n  k) < 2n  k, (n > k > 1),
after simple manipulation we obtain
that is,
2(2n k 1)!
(n k l )!n!
(2nk) !
< .,:..__...,....,.:...,.
(nk)!n! '
p _ 1 (2n k  J. ) 1 (2n k) _ p
k + l  22" k l n < 22n k '11  k
and t he proof is completed. Some mathematicians would emphasize the
end of the proof using w
5
, as a. witty abbreviation of "which tva$ what wa.s
wanted." Act ua,]ly, this notation is never found in academic publications
and Halmos' 0 or Q.E.D. ( quod emt demonstmndum that which was to be
proved) a.re used instead.
The proof of the inequality Pk+'l < Pk (k > 1) simply means that
rnaxPk = P
1
, tha.t is, when the man discovers tha.t one of t he boxes is
empty, the other box will contain most probably one match.
8. 11. The sumS,. is somewhat difficult to eva.luate by standaJ·d methods.
For this reason, we will use t he solution (8.8) of Banach's problem. The
228 8. P ROBABILIT Y
events .M
0
, M
1
, . . . , M,. are disjunct and 01ake a. coo1pl.ete set of events (see
t he solution of Problem 8.9) , t hat is,
M
0
+ J\.1
1
+ · · · + Mn is a certain event with probability of 1.
Therefore
'
n. 1l
p(M0 + M1 + · · · + M,,) = L P( lvh) = L = 1.
k=O k=O
Hence, using (8.8), we obtain
1 (2n) 1 (2n 1) 1 (2n 2) 1 (n)
 + + + .. · +  1
22n n 22n1 n 22·n2 n 2" n  ·
Multiplying the above relation wit h 2
2
" , we obtain
(
2n) (2n 1) 2 (2n 2) , (n) 2 ,.
s.,.= n +2 n +2 n + .. ·+2' n =2 .
Chapter 9 GRAPHS
Cornpltte·rs allow 11s to solve ve1'!J large p·roblems concem·ing
graphs, while graph them'!} helps advance comp11te·r science.
Narsingh Deo
The full potential and ltsefulness of graph theo1·y
is only beginning to be 1ealized.
Gary Chartrand
In t he introductory Cha.pter 1 we mentioned that some entertaining prob
lems and puzzles were the starting points for important mathematical ideas
and result s. This chapter begins with a. very representa.tive example, Euler's
solution of the problem of Konigsberg's seven bridges in 1736. It is regarded
a.s the beginning of graph t heory, a. new and fundamental topic in discrete
mathematics and computer science. It is maybe of interest to note that
the term "graph" was int roduced by Sylvester in a. paper published 1878 in
the prestigious scientific journal Nat1we, ma.ny years after Euler's pioneering
work. Watch out though: this term should not be confused with "graphs of
functions" .
A graph is a set of points (graph vei'tices or nodes) and lines (graph edges)
linking the subset of these points. Gra.ph theory is the study of graphs. Ap
pendix C gives some basic facts and defini tions of graph theory. Nowadays,
graph theory is extremely valuable not only in the field of ma.thema.tics, but
also in other scientific disciplines such as computer science, electrical engi
neering, network analysis, chemistry, physics, biology, operations research,
socia.! sciences, to name only some. Remember that the fourcolor problem,
one of the most famous mathematical problems ever, was solved usi ng graph
coloring.
In addition to Euler's problem of Konigsberg's bridges and its variants,
you will find in t his cba.pter the study of various kinds of pa.ths in gra.phs:
Eulerian pa.ths, Eulerian cycles, Hamiltonian pa.ths a.nd Hamil tonia.n cy
cles. We use graphs to study Hamilton's puzzle game called Icosian. This
game consists in t he determinat ion of a path passing each dodecahedron's
vertices once and only once, known as HamiltoniaJJ path (or cycle, if it is
closed). We reca.ll that t he famous knight's reentrant route on chessboards,
229
2:10 9. GRAPHS
described in Chapter 10, is a Hamiltonian cycle. Fu rther, we sbow tbat a.
grapb ca.n be useful to model a.nd resolve many COll1mOn situations, sucb
as diagramtracing puzzles, rivercrossing problems, fluidmeasuring puzzles
and chess problems. Besides Euler a.nd Hamilton, the renowned scientists
Tait, Poinsot, Poisson, Listing and Erdos appear as the authors a.nd solvers
of the problems presented in this chapter.
*
* *
Leonhard Euler (1707 1783) (+ p. :l05)
The problem of Konigsberg's bridges
The Prussian town of Konigsberg, the presentclay Russian city of Ka.Jin
ingracl, is situated on both banks of the river Pregel (Figure 9.1) . There are
two islands in t he river a.nd seven bridges connecti ng the islands and ri ver
banks, as shown in Figure 9.2. The inhabitants of Konigsberg have long
amused themselves with this intriguing question:
Problem 9.1. Can one stmll around the city crossing each b!'idge exactly
once?
In spite of all efforts, no one has ever succeeded, either in accomplishing this
feat or iu proving t he possibility of doing so.
FIGURE 9.1. Old Konigsberg and its seven bridges
THE PROBLEM OF KONIGSBERG'S BRIDGES 231
Leonhard Eu ler solved t he problem in 1736
1
by proving t he impossibil
ity of the I<onigsberg bridges walk. His proof is usually regarded as t he
beginning of a new and fruitful mathemat ical discipline, gmph theory.
The Konigsberg bridges problem bears a resemblance to the following
problem (see Figure 9.3, for dcmonstra.tion):
Draw a set o j line segment$ to jo·in the point8 located in the r>la.ne. Can
this diagram be trave1·sed without lifting the pencil from the pape?' by tmcing
over each point exactly once?
c
c d g

=
B
F IGURE 9.2 Konigsber g's bridges F IGURE 9.3. Drawing of t he figure
Euler 's solut ion of the Konigsberg bridges problem a.nd that of traversing
the graph "by one move" (that is, "wi thout lifting the pencil" ) is based on
t he followi ng assertion:
Euler's theorem. A (simple or mttltiple) graph ccm be trave1·sed withottt
lifting the pencil, while tracing each edge exactly once, if and only if it has
not mo·te than two odd vertice.9.
Graphs t hat can be traversed under the required conditions a re called
Euler·ian graphs a.nd the con esponding pa.th is called Eule1·'s path. Thus,
Euler 's path exists if m1d only if there are 0 or at most 2 odd vertices. If the
number of odd vertices is 0 (thus, all vertices a.re even), then Euler 's path
can be drawn starting from any vertex and ending at the same vertex. In
the case when there a rc 2 odd vert ices Euler's path starts fmrn oue of these
odd vertices and ends at the other.
1
Solutio pT'oblern ..atis ad Geornetria.rn situs per·tinentis , Comrnentarii Academiae Scien ..
tiarum Petropolitanae for 1736, Petersburg, 1741, Vol. 8, pp. 128 140.
232 9. GRAPHS
The graph given in Figure 9.3 hru; 8 odd vertices and. therefore, cannot be
traversed wit hout li fting the pencil. Figure 9.4 shows "Konigsberg's mult i
graph" wher(' t he islauds a!ld lhc banks arc represented by vert ices, and tbe
bridges by edges. This graph has four vertices of odd degree and, accordi ng
to Euler's t heorem. it is not an Eulerian graph. Consequently, one cannot
achieve the proposed tonr across Konigsberg's seven bridges.
D
g
/
e
c
c
A
a
B
F'TCUR.E 9.4. Graph of Konigsber g's bridges
Another more complicaLed problem related to the application of Euler's
theorem bears a resemblance to the Kouingsbcrg bridges puzzle. Adapted
from Euler's pap0r.
2
it requin's t he crossing of fifteen bridges:
Problem 9.2. * b1'idges connect four· A. B. C and D to
each side of the river. as well as li11king the islands themselves as shown in
Figur·e 9.5. Can one take a stroll 'in 'which each b1·idge is cmssed once and
only once?
E
c
F
FIGURE 9.5. The of the 15
2
According to R. J. Wilson, J. J. Watkins [18S. p. 124).
HAMILTON 233
After Euler's theorem, .i t is easy to be smar t. Vie encourage the reader t.o
find t he required pa.th across t be fi fteen bridges usi ng Euler 's t heorem and
the gr aph method.
Tajt's article
3
Listing's Topologie, which appeared in t be J anua.ry 1884
edit,ion of t he Philosophical Magazine (London), published a nother problem,
a lso connected with Euler's pa.t b.
Problem 9.3. * Without lifting pencil from rmpe·r, C(tn one d·raw the
shown ·in Figwre 9.6 while tmcing OTJer the edge.9 exactly once?
F IG un.e 9. 6. Ta.it's net
William R. Hamilton (18051865) (t p. 306)
Several notions in mathematics and mechanics bea.r the name of ·william
Rowa.n Hamilton wbo, with ma.themat.icia.us JaJlJeS J. Sylvester and Artbur
Cayley, whom we will discuss la.ter, gained considera.ble prominence in t he
mathema.tical world of nineteenthcentury Britain.
Hamilton, whose education had been guided by his linguist uncle, mas
tered foreign languages as a. child. A chi ld prodigy, Hamilton could read
Greek a.nd Hebrew at five as well as reading and writing Latin, French and
Italian; a.t t he age of ten he was studying Arabic and Sanskrit; at twelve
he had a working knowledge of all these languages, not to mention Syriac,
Persian, Hindustani, a.nd Mala.y. A t urning point came in Ha mil ton's li fe
a.t t be age of 12 wben he met t he American mental prodigy ZeraJ1 Colburn.
Colburn could perform ama.zing mental a.rithmetical feats and Hamilton put
3
Peter G. Tait (1831 1901) , an outstanding Scottish physicist and mathematician.
2:14 9. GR.APHS
his arit hmetica.l abilit ies to the test in competing with Colburn. Perhaps
losing to Colburn spar ked Hamilton's interest in mat hematics.
Hamilton made very important contributions to various branches of math
ematics, but a.lso to optics and mechanics. However , he regarded that his
discovery of qua.ternions in 1843 was his greatest achievement and he devo
William R. Hamilton
1805 1865
ted the two last decades of his Life to working
on this subject. However, it has t urned out t hat
the t heory of quaternions has not found wide ap
plication. Exhausted by hard work and disap
pointed in his private life, Hamilton often sought
solace in drinking. After his death, his working
room was found in a chaot ic condit ion, fu ll of
heaps of unfinished manuscripts and the remains
of food. In his book Men of Mathematics, E. T .
Bell (15] subtitled his chapter on Hamilton, "An
Irish
Hamilton's game on a dodecahedron
As noted above, the history of grapb t heory st,a.rted from a recreationa l
mathematics problem. A century later , in a manner similar to Euler's
graphs, a game provided the inspiration for yet another type of graph. In
1856 \Villiam R. Hamilton proposed an interesting graph problem and three
ye<HS later turned it into a puz·zle game called lcosia.n on a
vertices edges faces
Tetrahedron 4 6 4 t::.
Octahedron 6 12 8 t::.
Cube 8 12 6 0
Icosahedron 12 30 20 t::.
Dodecahedron 20 30 12 0
TABLE 9. 1. P latonic solids
Before going a ny further, let us digress for a. moment to recall the basic
fea.tures of P latonic solids (also called regu lar polyhedrons) that ma.y be use
ful later. A Platonic solid is a. convex polyhedron whose faces are congruent
4
Actually, Hamilton sold the idea of the icosian garne to J. Jacques and Son, makers
of fine sets, for .£25, but it turned out to be a. bad bargain for the dealer.
HAMI LTON'S GAME ON A DODECAHEDRON 235
convex regular polygons. There are only five convex regula.r polyhedrons
whose number of vertices, edges a.nd faces is given in Table 9. 1. From this
table we see t hat the dodeca.hedron is one of the five regular polyhedrons,
which has 12 faces, 20 vertices and 30 edges (Figure 9.7). All the faces of the
dodecahedron are regular pentagons, three of them joining at each vertex.
A. Beck, M. N. Bleicher a.nd D. W. Crowe pointed in t he book Excm·sion
into Mathematics [11] that the regular polyhedrons resemble to a significant
extent the skeletons of the minute ma.rine a nimals called mdiola?'ia. An
example of a dodecahedron and the skeleton of a radiolaria are shown in
Figures 9. 7 and 9 .8.
··· ..•..... ·•··•·················••············· ...
'
. //
........... ....... ···················:.
FIGURE 9 .7. Dodecahedron F IGURE 9.8. Radiolar ia dodecahedron
Back to t he icosian puzzle. Here is Hami lton's task:
Problem 9.4. Map a path pass·ing through each of the dodecahedr·on's
vertices once and only once.
Notice that an edition of Hamiltonian's board game on a dodecahedron
named A Voyage Round the W odd, treated the vertices of the dodecahedron
as exotic locations a.ll over the world. A traveler must visit each of these
locations once a nd only once.
ln solving Hamilton's task, for t.he sake of clarity a.nd convenience, rather
than considering a dodecahedron we shall alter its orientation to that of
its stereographic projection, in essence, a dodecahedron's skeleton in planar
graph form as shown in Figure 9.9.
Paths as t ha.t required in Hamiltonian games are called Hamiltonian paths
after Hamilton, and graphs with this property are called Hamilton gmphs.
236 9. GRAPHS
A cycUc Ha.mil tonia.n path wbich finishes a.t the sta.rting poi nt is ca.Jled a .
.Hamilton·ian cycle.
5
Han1i ltonia.n cycles ha.ve severa.l important a.ppUca.tions
in t ra.ffic optimization problems and communica,tion networks.
One Hamiltonia.n cycle along the skeleton of dodecahedron is represented
on Figure 9.9 by the t hick line segments coinciding with the Jetter sequence
A 8  C D E F G H 1 J  K  L M N 0  P Q R S  T A
T
F IGURE 9.9. Hamiltonian cycle
Problem 9.5. * A va1'ia'tion on Hamilton's game involves determining
Hamiltonian cycles given five init·iallette1·s. Stmting with the initial letters,
say, N JM FG H, the 1eader· should corn11/ete a. H a.rniltonian cycle.
It is easy to find il. Ha.miltonia.n cycle on t he 3cube, as shown in Figure
9.10. Introducing the x yz coordinate system, t he presented route can be
expressed by a sequence of coordi nates (x, y, z); see Figure 9.10 right. As
noted in [11], there is a remarkable similarity between the Hamiltonian cycle
on the 3cube and a very familiar Tower of Hanoi puzzle (considered in
Cha.pter 7, pages 196 199). Indeed, let x, y , z stand for the smallest, medium
and largest disk of the Tower of Hanoi having three disks, and Jet (x, y, z)
• Accol"cliog to N. L. Briggs, E. K. Lloyd and R. .). Wilson, questions of priority arise
concerning t.he works of W. R. Hamil ton and T . P. Kirkman. Briggs, Lloyd and Wilson
•·emarked in t heir book 1271 that Hamilton was coocernecl wit h one special case, whereas
Kirkman concurrently studied a more general problem: spanning cycles on general convex
polyhedra. Nevertheless, the spanning cycles of a graph are now known as Hamiltonian
cycles, not as Kirlonan cycles.
HAMI LTONIAN CYCLES 237
denote a. diskposit ion. Assuming tba.t these coordinates ta.k.e the values 0
or 1, t be change of one (and only one) coordi nate from 0 to 1, or opposite,
means tha,t the corresponding disk has been moved. For example, from t he
two consecutive diskpositions 110 and 010 one concludes that xdisk (the
smallest one) ha.s been moved. As we can see from Figure 9.10 right, the
solution in 7 moves of the Tower of Ha.noi with three disks is given by tbe
same sequence as the vertices of a Hamiltonian cycle on the 3cube. What
is really surprising is that a general assertion is valid (see [11]):
Theorem 9.1. The s·implest sol·u·tion of the Towe1· of Ha.noi with n disks,
consisti.ng of2"' 1 moves, coincides with a Hamiltonian cycle on the n cu.be.
Hamiltonian cycle Tower of Hanoi
for the 3cvbe having 3 disks
011
0 0 0
 111


1

0 0



1 1 0
001
X
smallest disk
z
0 1 0
y medivm disk
0 1 1
Y, '010
z largest disk
t
 110
1 1 1

/';
1 0 1



000
0 0 1
 X
100
X
y

FIGURE 9. 10. Hamiltonian cycle on the 3cube and t he Tower of Hanoi solution
Hamilton's original game uses a dodecahedron. The following natural
question arises:
Problem 9.6. * Is it poss·ible to find Hamiltonian cycles on all the Fla.
tonie solids, p1·esented in Table 9.1?
Here is another task connected with a dodecahedron whose solution can
be found in an ea.sy way usi ng graph t heory (see Exercises in [11 , p. 18]):
Problem 9.7. * Can yo•tt color· the faces of a 1egulcu· clodec.ahed1on with
thre.e color·s in such a way that no ttuo neighb01·ing face,9 have the same color·?
238 9. GRAPHS
As we ha.ve seen, Euler's theorem provides a method allowing for sin1ple
characterization of Eu ler's gra.plts. However, a. simila.r criterion for Hamil
ton's graphs has not yet been stated and it t hus remains one of the most
challenging unsolved problems in graph theory. Graphs that might contain
Hamiltonian pa.ths exllibit no particular known features to distinguish them;
liHthermore, tbey bold that even in the event that a. Ha.mil.tonian. pat b ex
ists, no simple algorithm could be used to determine its existence. Instead,
they maintain, proving the existence of a Hamiltonian path would involve
considering graphs on an individual casebycase basis, and even then such a.
discovery would very likely result from perceptive guesswork aJid ca.lcula.ted
experimentation (see Averba.ch a.nd Chein [6, Ch. 6]).
We owe the reader an explanation of why modern very powerful computers
ca.nuot find Hamiltonian paths (if t hey exist a.t a.ll) within a reasonable
amount of time. Of course, we restrict ourselves to a. finite set of objects
that must be traversed for which t here are finitely many paths. How large is
the number of these paths? Let us assume that twenty cities a.re given and
ea.ch of them must be visited exa.ctly once. With a little help of elementary
combinatorics we find that there are
20 . 19 . 18 ... 3 . 2 . 1 = 2,<132,902,008,176,6<10,000
possible trips. If we assume tha.t a very fast computer may find one billion
(10
9
) trips in one second, then it will need 77 years to examine all trips. Quite
unacceptable for reallife problems! The problem becomes considerably more
complicated if the distances between cities should be taken into account and
we want to find the shortest Hamiltonia.n path. ln tltis way we come to
the famous (unsolved, of course) tmveling .salesm(Ln JWOblem. (see [13] for a.
popular exposition of this problem).
A number of results ha.ve been established concerning sufficient conditions
for Hamilt,on gra.pbs, and here we include two of the most importa.nt sufficient
conditions formulated by G. A. Dirac (1952) and 0 . Ore (1960), using t he
notion of the node degree deg 0 (see Appendix C).
Dirac's t heorem. Let G be a simple gmph with n (n > 3) ve1·tices. If
deg(v) > n/2 fo1' each ve1·texv belonging toG, then G is a Hamilton gmph.
Ore's theorem. Let G be a simple gmph with n (n > 3) vertices. If
deg( v) + deg( w) > n fo1' each pai?' of nonad_jacent ve1·tices v and w belonging
to G, then G is a. Ha.milton gmph.
Let us note that Dirac's theorem is a special case of Ore's theorem. The
proof of Ore's theorem cl:lJI be found, e.g., in [188]. The following problem
nicely illustra.tes the applica.tion of Dirac's t heorem.
HAMILTONIAN CYCLES 239
Problem 9.8 . .K'ing Ar·thur gather·ed h'iS 2n knights of the Round Table
to prepa1·e fm· an irnpor·tant council. Each knight has at most n  1 enem'ies
among the knights. Can the kn·ights be seated at the Round Table so that
each of them has two j1•iends for neighbo1·s'?
We solve this problem by constructi ng a graph with 2n vertices, where
each vertex represents one knight . Two vertices are connect ed if and only
if the corresponding knights a.re friends. As stated by the conditions given,
each knight has a.t least n friends. Tltis means tha.t the degree of each vertex
is at least n . Since deg( G) = n = 2n/2, according to Dirac's theorem, it
fo llows that graph G has a. Hamiltonian cycle. This cycle gives the required
a.rraogement of the knights.
To illust ra.te the point , we present a. particula r ca.se of 8 knights (tha.t is,
n = 4). We designate t he knights by the capital letters A, B, C, D, E, P,
G, H. Each knight has exactly 3 enemies given in the parentheses below.
A (B, E, F),
E (A, D, G),
c
A
E
B (A, D, G),
F (A,C, H),
G
FIGURE 9.11. l<ing Arthur 's graph
C (F, G, H) ,
G (B, C, E) ,
c
E
B
D (.B,E, H)
H (C, D,F)
A
F
H
G
D
FlGUR. E 9. 12. Arrangement of knights
According to our "lists of enemies" we ca.n construct the corresponding
graph given in Figure 9.11. T hen we find a Hamiltonian cycle, marked by
the thick line starti ng from A. Taking the vertices along t his Hamiltonian
cycle and keeping the ordering of vertices, we obtain the a.rrangernent of
knights shown in Figure 9.12.
Let us note tha.t B. Averbach a.nd 0 . Cbein in [6, Pog. 6] considered
a. version of the problem of ananging King Arthur's knights. The famous
240 9. GRAPHS
knight '.$ tou.r· pr·oblem, considered by Euler, de \VIoivre, de Mootmort, Vao
dermonde and other outstanding mathematicia ns, is an ea.d ier example of a
problem which can be expressed in terms of Hamiltonian cycles. Vve discuss
this problem on pages 258 264.
Alcuin of York (735804) (+ p. 299)
A man, a wolf, a goat and a cabbage
As previously discussed, rivercrossing problems appear as a recurrent
theme in recreational mathematics. One twist on these wellknown
rivercrossing problems involves a man, a wolf, a goa.t, and a cabbage. This
problem dates back at least to the eighth century when it appeM·ed for the
first t ime in a booklet, very likely written by A leu in of York.
P roblem 9.9. A man wishes to .fe?'I'Y a wol;f, a .9oa·t, and a cabbage across
a ?'ive1· in a boat that can can"!} only the man a.nd one of the othet·s at a time.
He cannot leave the goa.t alone with the wolf nor· letwe goat alone 1uith the
cabbage on either· bank. How will he safely mwnage to carry all of them aC'I'O.SS
the rive·r in the .fe·wes·t crossings?
Using digraphs (for the definition of digraph, see Appendix C) , we can
solve this kind of problem elegantly as shown by R. Freley, I<. L. Cooke
a.nd P. Detrick in their pa.per [66] (see a.lso Cha.pter 7 of t be book [42] by
K. L. Cooke, R. E. Bellman and J. A. Lockett) . M. Ga.rdner a.lso o1ade
these puzzles the subject of his column Mathematical Games in the Sci.ent·ific
Amet·ican, No. 3 (1980), and many other journals and books of recreational
matbema.tics. We shaJI a.pply some elements of gra.ph theory (see Appendix
C) to solve Alcu.in's classic proble01.
MWGC
0
1
cw
2
3
c MWC
MWG
4
3
w
4
5
G MGC
MG
6 7
0
FIGURE 9. 13. Crossing the river a gnJ.pb
A MAN, A WOLF, A GOAT AND A CABBAGE 241
Let M, W, G, and C sta.nd for the man, the wolf, the goat the
ca.bba.ge, respectively. According to the puzzle's conditions the follow
ing sets of symbols denote the permissible states on the starting bank:
MWGC, MWG, MWC, lvfGC, MG, CW, W, G, C, 0. The symbol
0 refers to the sta.te once the river crossing has been accomplished.
Figure 9.13 shows the graph of all possible transits among the accepted
states. Now we can simply reduce the solution of the puzzle to the determi
nMion of the shortest path between t he vertex MWCC (the initial state)
FIGURE 9.14. Rivercrossing scheme
242 9. GRAPHS
a.nd t be vertex 0 (the final sta.te). T bere a.re two miuimaJ solut ions, ea.cb
requiring seven tr ansits, recorded by each progressive state of tr ansfer:
I MWGC, CW, MWC, W, MWG, G, MG, 0;
II MvVGC, CW, MWC, C, MGC, G, !MG, 0.
Due to t he possibilities of taking a fourth and a. fift h step, two paths
appear. The difference between two adjacent states indicates what is in t he
boat with t he man during the trip a.cross the river. As a result, we can easily
record t he a.bove solutions by successive lists of passengers in t be boat:
I
II
MG  J\ll  M'C  MG  .iv!W  M  1\IJG:
'
MG  M  AifW MG AifC M MG.
We give a graphical illustration of the second sol ution II in Figure 9. 14
based on t he problem's solution given in a n interesti ng graphical interpreta
tion by B. I<ordemski [117] .
Distinctive va.ria.nts of Alcuin's task occur in Africa.: io Algeria. the objects
are a ja.ckal, a. goat, a.nd a bundle of hay; in Liberia. a man's company are
a cheeta.h, a fowl, and some rice, while in Zanzibar, a man must ferry a
leopa.rd, a. goat, aod some lea.ves a.cross a. river (see Ka.tz's book A
of Math.emat·ics [113, p. 3391).
A stout family crosses the river
This puzzle, belonging to the rivercrossing category, appeared for the
first t ime as Problem XIX in Alcuin's work. We give the problem as it is
found in [186], after its translation from Latin.
Problem 9.10. A man 11nd a woman who each we·igh as much as a loaded
must CiYJss a i'ive1· w·ith thei1· two childnm, each of whom, in tm·n, weighs
t he same, and whose total weight togethe1· equals that of a loaded ca·rt. The1;
fin d a boat t hat can only hold a s·ingle caftload. Make the tr·ansje1', if yo·u
can, without sinking the boat!
Solution. Alcuin correctly found that nine passages are necessary. Let
the letters F, M, s stand for fat her, mother and sons, respectively. Here is
one solution recorded by the oame(s) of tra.veler(s) where each crossing is
described by 1) the na.mes of persons on the sta.rting (left) bank, 2) na.me(s)
of rower(s) in the boat and 3) names of persons on the arrival (right) bank
after crossing. The arrows t and denote departure and return, respec
tively. Let us note that F can be replaced by M, and vice versa, since their
weights are eq ua.l.
A STOUT FAMILY CROSSES THE RIVER 243
starting bank rower (s) ani val bank
P.M.s.s  
l. FM t 88 88
2. FMs t s 8
3. Fs t M Ms
4. P.s.s t .s M'
5.
p
t .ejS 1\IJ' .s.s
6. Fs t s Ms
7. 8 t F FMs
8. ss t $ Fkl
9. t ss FMss
The posed problem may be effectively solved using digraphs. All possible
states on the starting bank are given in Figure 9.15. The minimal solution
is represented by the tick Hnes with a.rrows.
F
FMs
s
ss
FIGURE 9. 15. A stout family crosses t he rivera digraph solution
\Ve leave to the reader the solution of the wellknown rivercrossing prob
lem that can be found in many books of recreational mathematics.
Problem 9.11. * TMee e1plore1·s and three helpful natives who a.r·e in
ciclen.tally a.lM canniba./s rn·ust cr·oss the r·ive1· by rneo.n.s of a smctll r·o·win.g
boat that can hold at most two pa.ssenge1·s at a t·irne. Naflttrv.lly, the expl01ers
244 9. GRAPHS
rnu.st not allow to be ou.tnurnber·ed by the cannibal.9 on e·ithm· ·tive·t bank. Ho·w
can the.9e s·ix people safely C!'OSS the r·ive1· ·in the f ewest numbe·1· of crossings?
Can you solve t his problem if only one explorer and only one cannibal can
row?
Paul Erdos (19131996) () p. 310)
The famous ma.thema.ticia.n Pa.ul Erdos enjoyed posing and solving cha.l
leng.ing aJ1d bea.ut i.ful problems t hat a.re simple to und.ersta.nd., especial ly
those belongi ng to number theory, cornbinatorics and graph t heory. One of
Iris problems is included in Cha.pter 7. Here is another dealing with graphs.
Seven towns and oneway roads
P r oble m 9.12. There are 7 tovms in a C011.nt1·y, e.ach of them connected
to the o·the1· by a ·twoway !'Oad. Can one ?econs·tn .. ct all of these mads as
onewa.y ·roads so that for· any two specified towns it i.s always poss·ible to
each town in one step from some third town?
By dra.wing a digraph with 7 vertices, we can employ arrows whose ori
entations indicate the particular direction of one way roads and arrayed in
such a way so t ha.t for any specified pair of towns, t here is a third town
from which you ca.n drive directly to the other two. The solution is shown
in Figure 9.16.
F IGURE 9. 16. Graphi ng t he onewa.y road problem
POINSOT'S DIAGRAMTRACING P UZZLE 245
Louis Poinsot (17771859) ( 4 p. 306)
The French mechanist and mathematicia.n Louis Poinsot, a member of
the Academie des Sciences, is best known for his contribution in geometry,
statics and mechanics. He a leading role in mathematical research
and education in eighteenthcentury Fra.nce.
Poinsot's diagramtracing puzzle
P roblem 9.13. Each of n points, disposed on a ci7'Cumference, is con
nected by stmight lines with each of the mmaining n 1 points. Can a dia
gmm constructed in this way be tmversed in one continuotts str·oke withottt
cove1·ing any pa1·t more than once?
In 1809, Poinsot showed that the diagram consisting of n interconnected
points can be traversed under the stated conditions only if n is odd, but
not if n is even. In graph theory terminology, this is equivalent to saying
that the complete gra.ph K, is Eulerian only for a.n odd value of n. Poinsot
also a method for finding an Eulerian path when n is odd. The five
diagrams in Figure 9.17 illustrate Poinsot 's statement.
n=3 n= 4 n =5
yes no yes
n =6 n=7
no
yes
FIGURE 9.17. The complet e graphs K3 to /(
7
In the following paragraph, we describe an a lgorithm for t racing the com
plete gra.ph Kn (n is odd).
Let us la.bel the vertices by 0, 1, . .. , n  1 (n is odd) m the clockwise
direction, a.nd let m = 0, 1, . . . , n  4 be the counter.
246 9. GRAPHS
1° Set rn = 0;
2° Start from an arbitrary vertex ?' ( E {0, 1, .. . , n  1}) a.nd trace t he
edges in the clockwise direction skipping rn vertices in ea.cb move until the
starting vertex ·r is a.gajn rea.ched; then go to 3°;
3° m := m + 1;
4° If m < n  3, go to step 2°, otherwise STOP the diagram is t ra.ced.
For example, in the case of t he di<J.gram K1, Figure 9.17, tbe Eulerian
trial is as follows (taking r· = 0):
01, 12, 23, 34,45,56,60 02, 24,46, 61, 13, 35,50 03,36, 62, 25,51, 14, 40
m = 1 111. = 2
0
5
FIGURE 9. 18. Eulerian path on t he complete graph I<1
An interesting connection exists in the case of the complete graph I<
7
(Fig
ure 9.18 left) between the usual set of dominoes and the described Eulerian
pa.th; see [188, p. 129]. Let us regard ea.ch of the edges of I< 1 as a. domino;
for exao1ple, t be edge 15 corresponds to t he domino displa.yed on the right
hand side of Figure 9.18.
As one rna.y observe, the Eulerian pa.th above corresponds to an a.rrange
ment of a set of do1ninoes including all but doubles 0 0, 11, .. . , 6 6, in
a continuous sequence. Once the basic sequence is found, the doubles can
be inserted in the appropriate places. In this way we show that a complete
game of dominoes is possible. Figure 9. 19 displays the ring of dominoes
corresponding to the above Eulerian pat h.
POISSON'S MILK PUZZLE
I•
lilY
I
II
FIGURE 9.19. The ring of dominoes corresponds to the Eulerian trail
Gaston Tarry, the French matbema.tician, considered a more generaJ case
(see [150, pp. 249 253]). He stated the connection between a complete
gra.ph I<, (n is odd) and a set of dominoes running up to double(n 1) ,
and determined the number of ways in which this set of dominoes can be
a.rraoged. For exa.mple, for n = 7 he found that the number of possible
a.rraogements in a. line of the usua.l set of 28 dominoes (from 0 0 to 6 6) is
7 ,959,229,9:n ,520.
P r oblem 9.14. * Let us conside1· the complete gmph /{.,. What is the
maa;imum rmmber of 1egion.s obta·ined by str·aight linM that connect the nodes
of 't11:is graph?
Simeon Poisson (1781 1840) (+ p. 306)
Milk puzzle
Fluidmeasuring puzzles require one to measme a certain quantity of fluid
using no other measming device than tha.t of given containers haNing a. pre
cise and exact ca.pa.city. When the grea.t French 01at bema.tician Poisson was
a. boy, he encount.ered the followil\g puzzle belonging to t be fluidrneasuril\g
ca.tegory of puzzles.
P r oblem 9.15. A milkman has a conta:ine1· o.f milk w·ith the capacity of
12 lite1·s. He rrmst deliver· 6 lite1·s of milk to a C'(t.Storner· who possesses an
8lite1· and a 5litel' conta.ine1·. How ca:n he pmw exactl:y 6 lite·rs of milk ft'Om
248 9. GRAPHS
hi.s container· ·into the cn.5torn.er·'s latge?' container·, and keep 6 litet·.9 ·in h·is
containe•t'? While pour·ing, he may ·use all three container·s.
The story goes t hat young Poisson took so much delight in this puz
zle6 that he decided to make mathematics his life's voca.tion. Indeed, a.s
t he prominent mat bema.tician Guglielmo Libri saj d of him, Poisson's only
passion was matbema.tics: he li ved ilJld died for it . Poisson himself once
saki: "Life is good jo1· only two things, discove1'ing mathematics and teach
ing mathematics."
Ta.ble 9.2 presents t he solution to the puzzle in terms of
t he minima.! number of pourings.
12 l 12 4 4 9 9 1 1 6
8 l 0 8 3 3 0 8 6 6
5 l 0 0 5 0 3 3 5 0
TABLE 9. 2. Solution to Poisson's milk puzzle
We note that this puzzle can also be solved effectively by the use of gra.phs
as described by 0. Ore in [135] . In the following problem, one very similar
to Poisson's milk puzzle, we shall illustrate such an a pproa.ch.
P r oblem 9.16. Two containe'I'S, A and B, have holding capacities of 3
and 5 gallons, respecti·vely. Dmwing wate1· fr·om a lake o1· a pond, how does
one po1w exactly 4 gallons of water into the lm:qer· contai.ner· using only these
ttuo container·s?
Solution. We can describe each state of water in the two containers A
and B, by denoting a and b the quantities of wa,ter contained in A and B, re
spectively. In this manner every possible distribution of water is represented
by a,n ordered pa,ir of integers (a, b). At t he beginning we ha.ve a, = b = 0,
which rne<l,ns t hat one starts wHh the stat,e (0,0) . T he final state is given
by the pa.ir (a, 4), where a E {0, 3} is the quantity of water in a smaller
container a.t the moment that the measurement is completed.
It is to see t ha,t t here a,re 6 x 4 = 24 possible states that CilJl be
represented by the vertices of a gra,ph. It is convenient to draw t his graph
in t he twodimensional coordinate system as shown in Figure 9.20. Now we
connect all integer pairs (a, b) by edges whenever it is possible to move from
one vertex to another by pouring water between the containers or by ta.king
6
This problem appeared for the first time in Tti.party en la des n01fl'l!1'es, a
work of Nicolas Chuquet published in 1484. Chuquet (died 1487) was a French physician
and also the best Ftench mathematician of his t ime.
LISTING'S DIAGRAMTRACING PUZZLE
wa.ter from t he la.k.e. For example, io t he first st.ep it is possible to move
from (0,0) to (0,5) or (3,0).
(3,2) (3,4)
•
•
(2,0)
•
(2,5)
3
•
• •
• • •
4
•
•
(0,2)
1
F IGURE 9. 20. Graph solution for t he pouring pw blem
The transition from (a, b) to (a, 0) means t hat the larger container B is
completely emptied. Continuing in t his manner we arrive at the required
target state (3, 4) in G steps. All movements are represented by the edges
indicated in Figure 9 .20. We note t hat only those vertices and edges involved
in t he solution are denoted.
Following t he edges of t he graph, t he solution ca.n be presented by t he
table given below.
A 3g
I
0 3 0 2 2 3
B 5a
0
5 2 2 0 5 4
TABLE 9.3.
Johann B. L i stin g (1808 1882) (+ p. 307)
Listing's diagramtracing puzzle
In 1847, a. versatile German scientist J . B. Listing who worked in ma.th
ema.tics, geodesy, terrestriaJ magnetism, meteorology il.nd other disciplines,
wrote a.n important trea.tise entitled, Vorstv.dien z•u1· Topologie (Introductory
Studies in Topology). T his work is often considered to have introduced a
new branch of mathematics: topology. Among many fundamental topics,
this book includes a discussion of diagramtra.cing puzzles. Listing remarked
that the diagram shown in Figure 9.21 can be drawn without lift ing pencil
250 9. GRAPHS
froo1 pa.per, a.nd tr acing over the edges exactly once starting a.t one eod and
finisbin.g at the other. Euler's path exists since there a re only two points
which correspond to vertices of odd degree. V>le hope that the reader will
show great patience and presence of mind when confronted by t his huge
network.
Problem 9. 17.* Is it possible to nwrod1tce the d·iagmm shown in
9.21 dwwing ·it ·in one conti.n:uo·us li ne while trueing ove1· the edges once and
only once?
FIGURE 9.21. List ing's d i;J,gramtracing puzzle
Answers to Problems
9 .2. To solve t his problem let the uppercase letters represent t he islands
(A,B, C, D) and t he shore (E,l<} by vertices of a. graph. The lowercase letters
represent the bridges by edges of a graph. ·when we look at. Figure 9.22, we
see that all vertices of the graph are even. Euler's t heorem demonstrates
that such a route exists in which one may cross aJl fifteen bridges starting
from a.ny point iiJld ending t he stroll a.t the same starting point.
D E
a
F
F IGURE 9.22. Graph of 15 bridges
ANSWERS TO PROBLEMS 251
We cao ca.rry out t he crossing in this ordering
EaFbBcFdAeFjCgAhCiDkAmEnApBqElDjE
9.3. An Euler pa.th is given by the sequence of nodes {1, 2, . . . , 22},
marked in Figure 9.23.
616
FIGURE 9.2:3. Tracing Tai t's net
9. 5. The completion of a Hamiltonian cycle is possible in exactly two
ways:
N  M  F  G  HI
L K JI S T AED C B R Q P 0 ,
N MFGH I
L [( 0 P C B R Q JIST AED.
9.6. Yes, it is possible. We ha.ve already seen Hamiltonian cycles on the
dodecahedron and t he 3cu be, the remaining three cycles are illustrated in
Figure 9.24 (see [691). As in the case of the two mentioned regular polyhe
di·ons, we have considered stereogra.phic projections skeletons of a tetrahe
dron, an octahedron and a.n icosahedron.
252 9. GRAPHS
FIGURE 9.24. Hamiltonian cycles on tetrahedron, octahedron and icosahedron
9. 7. Let us represent each of 12 faces of a dodecahedron by the nodes of
a gra.ph shown in Figure 9.25. The numbering is obviously irrelevant due to
symmetry, but the connecting lines must be correctly drawn.
1
6
FIGURE 9. 25. Coloring the faces of a dodecahedron
It is suffi cient to consider a separa.te subgra.ph as shown in Figure 9.25
right. Suppose t hat the central node 11 is colored in one color. Then t he
surrounding (outer) nodes 6, 7, 8, 9 and 10 must be colored altemativel:IJ by
two other colors. However, this is impossible because the number of outer
nodes is odd. Therefore, t he fa.ces of a. regular dodecahedron cannot be
colored with three colors so that two neighboring faces a.re a different color.
ANSWERS TO PROBLEMS 253
9. 11. The crossing requires not less than 11 pa.ssages. The reader may
come to the optimal operation by trial and error, but we give an elegant so
lution using the digraphs. Since we have already used the graphs for solving
crossing puzzles in this chapter, only an outline of the digraphsolution will
be given. More detaib can be found in (66] and [80].
e
e=o
C=O
v
/
/
v
a)
v
/
c
e =J
c =3
b)
F IG u R£ 9. 26. A graphical solution of the explorercannibal puzzle
Let e and c denote the number of explorers and cannibals, respectively.
As in the previous gra.phsolutions, we will consider a.ll possible states on
the starting bank. Since e, c E {0, 1, 2, 3}, there are 16 possible states repre
sented in the matrixlike form, Figure 9.26(a). Six shaded cells denote the
forbidden states where the cannibals outnumber the explorers. The rema.in
ing acceptable lO states are marked by points that are connected by lines to
show all possible transfers. In solving t his problem we ought to choose the
route among these lines which provides: 1) at most two passengers in the
rowing boa.t; 2) the safety of explorers on either bank; 3) the passage from
the (starting) state (e = 3, c = 3) to the (final) state (e = 0, c = 0); 4) the
minimum number of crossings.
One of the four solutions in 11 moves is shown in Figure 9.26( b) . Referring
to Figure 9.26(b), and using the notation f ('rowe1·(.s)) and< (1·o·we1·(s))
to denote the di rection of crossing and passenger(s) in the boat , the solution
can be recorded as fo llows:
l. f (c,c) 2. < (c) 3. f (c,c) 4. < (c) 5. f (e,e) 6. < (c,e)
7. f (e,e) 8. < (c) 9. f (c,c) 10. < (c) 11. f (c,c).
In a variant of the explorercanniba.l puzzle in which only one explorer
(let us distinguish hlm with a ca.pital E) and only one cannibal (capital C)
ca.n row, the fewest crossings consist of 13 transfers. Here is one solution:
254 9. GRAPHS
1. (C,c) 2. + (C) 3. (C,c) 4. + (C) 5. (E,e)
6. + (c,E) 7. (C, .E) 8. + (c, E) 9. (E,e) 10. +(C)
11. (C,c) 12. + (C) 13. (C,c).
Is this solution unique?
9 . 14. Tile maximum number of regions .R,. is g.iveo by t he formu la
= (n) (n1) = n
4
 6n
3
+ 23n
2
 43n + 24
.R,. 4 + 2 24 .
This result can be obtained using various methods. One of t hem follows
directly from t he fo llowing problem posed by Leo Moser (see Gardner [82, p.
559]): n spot5 ar·e placerl along a ciTcle '.5 ci1·curnstance. The ci1·cle is rlivirlerl
into 1•egions by connect·ing eve?IJ piLi?· of points by a stmight line (see Figum
9.27 .{o1· n = 5) . Wha·t i.s the maximmn numbe?" of regions? The answer is
given by the formula
(
n) (n 1)
Mn = n+
4
+
2
stands for Moser). This is a realli fe formula since it gives the maximum
number of slices of a. pizza t hat can be produced by n knight 's straigbt cuts.
FIGURE 9.27. Moser 's point problem for n = 5
From Figure 9.27 we notice that the diagram obtained by deleting t he
circumstance is actually t he complete graph K,. . It is obvious from this
figure t h>1t
A ::swEns TO PnonLE:\IS 25!)
9.17. One of llllllll'rous solution., is shown in Figure 9.2 ' . For tlw sake of
elarit.Y, Lhr ··<pwst.iouahl<• <Tossroads"' arc lllllrkccl hy small black circles. F'or
syll lllH't ry, only n part i:, shown: Lhi:, paLh <·ontinurs fro111 point 7:1 toward
t lu• Pll dpoint E iu a S)"l lliiWLrical wa.v in n•f<•rPncr lo point II (whitl' cirrl<•s)
p,oi Ill\ back to t )I(' starti ng point S.
s
FI<:IIHI·: 0.28. Tradnp, Listing's diagra111
Chapter 10 CHESS
In many cases, mathematics as well as chess,
is an esc11pe fl'om 1·ealil!!f·
Stanislaw Ulam
Chess ·is the gymnasium of the mind.
Blaise Pascal
The chessboard is the wot'ld,
the piece9 a.re the phenomena of the Unive1·se,
the 1'ltles of the game m'e what we call the laws of Nattwe.
Thomas Huxley
Puzzles concern t he chessboards (of various dimensions and different
shapes) and chess pieces have always lent themselves to mathematical recre
ations. Over t he last five centuries so many problems of this kind have
a.risen. Find a reentra.nt pat b on t be chessboard tha.t consists of moving a.
knight so tha.t it moves successively to ea.ch squa.re once and only once and
fi nish its tour on the starti ng square. How to place 8 queens on the 8 x 8
chessboard so that no queen can be attacked by another? For many years I
ba.ve been interested in these types of chessma.th problems a.nd, in 1997, I
wrote t be book titled Mathematics and Chess (Dover Publications) 1138] as
a. coUection of such problems. Some of then1 a.re presented in this c:bapter.
Ma.thema.tics, the queen of the sciences, and chess, the queen of games,
share an axiomatical approach and an abstract way of reasoning in solving
problems. The logic of the rules of play, the chessboard's geometry, and t he
concepts "right" and "wrong" are reminiscent of mathematics. Some math
ema.tica.l problems can be solved in >\n elegant manner using some elements
of chess. Chess problems a.nd. chessma.th puzzles can u.lt ima.tel.y improve
analytical reasoning a.nd problem solving skills.
In its na.t ure, a.s well in the very structure of the game, chess resembles
several branches of mathematics. Solutions of numerous problems and puz
zles on a chessboard are connected and based on mathematical facts fTom
graph theory, topology, number theory, arithmetic, combina.torial analysis,
geometry, matrix t heory, and other topics. In 1913, Ernst Zenuelo used
257
258 10. CHESS
t.hese connections as a. basis to develop his theory of game strategies, which
is considered as one of the forerunners of gao1e theory.
The most importa.nt rnathematica.l. chaUenge of chess has been how to de
velop algorithms t hat can play chess. T<:>day, computer engineers, program
mers and chess enthusiasts design chessplaying machines and computer pro
grams that can defeat the world's best chess players. Recall that, in 1997,
IBM's computer Deep Blue beat Garry I<asparov, the world champion of
that ti me.
Many great mathematicians were interested in chess problems: Euler,
Gauss, Va.ndennonde, de !\{oivre, Legendre. Ou t be other band , severaJ
worldclass chess players have made cont ributions to mat hema.tics, before
all , Emanuel Lasker. One of the best English contemporary gra.ndmasters
a.nd twice world champion in chess problem solving, John Nunn, received his
Ph.D. in mathema.tics from Oxford University at the age of twentyt hree.
The a.im of this chapter is to present amusing puzzles a.nd ta.sks that
contain both ma.thematical and chess properties. We ha;ve mainly focused on
those problems posed and/or solved by great mathema.ticians. The reader
will see some examples of knight's reentra.nt tours (or "knight's circles" )
found by Euler, de Moivre a.nd Va.ndermond. Vile have presented a variant
of knight's chessboard (uncrossed) tour, solved by t he outst anding computer
scient ist Donald Knuth using a. computer program. You will also find the
famous eight queens problem, that caught Gauss' interest . An amusing
chessboard problem on nonattacking rooks was solved by Euler.
None of the problems and puzzles exceed a high school level of difficulty;
a.dva.nced mathematics is excluded. In addition, we presume that the reader
is familiar with chess rules.
*
* *
Abraham de Moivre (16671754) (+ p. 304)
Pierre de Montmort (16781733) (+ p. 304)
Alexandre Vandermonde (1735 1796) (+ p. 305)
Leonhard Euler (17071783) (+ p. 305)
Knight's reentrant route
Among all reentrant pa.ths on a. chessboard, the knight 's tour is doubtless
t he most interesting and familia.r to ma.ny readers.
KNI GHT'S REENTRANT ROUTE 259
Problem 10. 1. Find a reentrant route on a standard 8 x 8 chessboa?"'d
'Which consists of moving a so that it successively to each sq·uare
once and only once and finishes its tom· on the stm·ting square.
Closed knight's tours a re often called "knight's ci rcles" . This remarkable
and very popular problem was fo rmulated in the sixth century in India ]181] .
It was mentioned in the Arab, i\tlansubas
1
, of the ninth century A.D. There
are wellknown examples of the knight's circle in the Hamid I Mansubas (Is
tanbul Library) and the AlHa.kim Mansubas (Ryland Libra ry, i\1!anchester) .
This task has del ighted people for centuries and conti nues to do so to this
day. In his beautiful book Ac1·oss the Bom·d: The Mathematics of Chess
boant PnJblerns [181] J. J. Watkins describes his unforgettable experience at
a. Broadway theater when he was watching the famous sleightofhand art ist
Ricky Ja.y performing blindfolded a knights tour on stage.
The knight's circle also interested such great mathematicians as Euler ,
Vanderrnonde, Legendre, de Moivre, de Montmort, and others. De Mont
mort and de Moivre provided some of the earliest solutions at the beginning
of the eighteent h century. Their method is applied to the standa.rd 8 x 8
chessboard divided into an inner square consisting of 16 cells surrounded by
FIGURE 10.1. Knight's tourde Moivre's solution
an outer ring of cells two deep. If the knight starts from a cell in the outer
ring, it always moves along this ring fi lling it up and continuing into an
inner ring cell only when absolutely necessary. The knight's tour, shown in
1
The Mansubas, a type of book, collected and recorded the games, as well as remark
ably interesting positions, accomplished by wellknown chess players.
260 10. CHESS
Figure 10.1, was composed by de Moivre (which he sent to Brook Taylor) .
Surprisingly, the first 23 moves are in the outer two rows. Although it passes
all 64 cells, the displayed route is not a reentrant route.
Even though L. Bertrand of Geneva initia.ted the analysis, according to
M ernoi1'es de Ber lin for 1759, Euler ma.de the first serious mathematical
analysis of this subject. In his letter to the mathematician Goldbach (April
26, 1757) , Euler gave a solution to the knight's reentra.nt path shown in
Figure 10.2.
FIGURE 10.2. Euler's knight's circle FIGURE 10.3. Euler's halfboard solut ion
solution
Euler 's method consists of a knight's random movement over the board
as long as it is possible, taking care that this route leaves the least possible
number of untraversed cells. The next step is to interpolate these untraversed
cells into various parts of the circuit to make the reentrant route. Details
on this method ma.y be found in the books, MathematicaL Rec1'eations and
Essays by Rouse Ba.Jl and Coxeter [150], Ac!'Oss the Boa1·d by J. J . Watkins
[181] and In the Czar·dom of Puzzles (in R.ussian) [107] by E. I. Ignat'ev, the
great R.ussian popularizer of mathematics. Figure 10.3 shows an example of
Euler's modified method where the first 32 moves are restricted to the lower
half of the board, then the same tour is repea.ted in a symmetric fashion for
the upper half of the board.
Vandermonde's approa.ch to solving the knight 's reentrant route uses frac
tions of the form xfy, where x andy a.re the coordinates of a traversed cell.
2
2
L'Historie de l'Awdtimie des Sciences for 1771, Paris 1774, pp. 566574.
KNI GHT'S REENTRANT ROUTE 261
For ex;tmple, 1/1 is the lower left corner squa.re (a.l) and 8/8 is the upper
right cor ner square (h8). The values of :r: and y are limited by the diolen
sions of the chessboard and the rules of the knight's moves. Vandermonde's
basic idea consist s of covering the board with two or more independent pa.ths
taken at ra.ndom. In the next step these pa.ths a.re connected. Va.ndermonde
bas described a reentrant wute by t be following fra.ctions (coordina.tes) :
5/5,4/3,2/4,4/5,5/3,7/4,8/2,6/1, 7/ 3,8/ 1,6/2,8/3,7/ 1,5/2, 6/4,8/5,
7/ 7,5/8,6/6,5/4,4/6,2/5,1/7,3/8,2/6,1/8,3/7, 1/ 6, 2/8, 4/7,3/5, 1/4,
2/2, 4/1, 3/3, 1/2, 3/1, 2/3, 1/1, 3/2, 1/3, 2/1, 4/2, 3/4, 1/5, 2/7,4/8, 3/6,
4/4,5/6, 7/5,8/7,6/8, 7/6,8/8,6/7,8/6, 7/8, 5/7, 6/5,8/4,7/2,5/1, 6/3.
The usual chess notation corresponding to the above fraction notation would
be e5, d3, b4, d5, e3, and so on.
An extensive literature exists on the knight's reent rant tour.
3
h1 1823,
H. C. 'IJVa.rnsdodf
4
provided one of its most elegant solutions. His method
is very efficient, not only for the standard chessboard but also for a general
n X n board as well.
Recalling Problem 9.4 we immediately conclude that. the knight's circles
are in fact Hami ltonian cycles. There are 13,267,364,410,532 closed knight's
tours, calculated in 2000 by Wegener [183]. The same number was previously
claimed by Brendan McKa.y in 1997.
5
One of the ways to find a. knight's
3
For instance, P. Volpicelli, Att1 dell<t Reale Accademia dei Lincei (Rome, 1872); C. F.
de .Jaenisch, Applications de l 'An.alyse mathematique au leu des Ech.ecks, 3 vols. (Pet
rogt·ad, 1862 63); A. van der Linde, Geschichte tt1ld L·itemtur (/ es Sch(!Chspiel.s, vol. 2
(Berlin, 1874); M. Kraitchik, La MatMma:t·ique des Je:u::c (Bmssels, 1930); W. W. Rouse
Ball , Mathematical Rec•·eatioM and Essays, rev. ed. • New York 1960); E.
Gik, Ma.themati.cs on the Chessboard (in Russian, Nnuka, Moscow Hl76); E. I. lgnat'ev,
In the Czard&m of Puzzles (in Russian, Nauka, Mo;;cow 1979); D' Hooge, Les Secre·ts du
cavalier (BruxellesParis, 1962.); IV!. Petkovic, Ma.themat1c.• and Chess, Dover Publica·
tions, Mineola (1997); I. Wegener, BrMtchi.ng P•·ograms and Bin<lf'Y DeC'is·ion Diagrams,
SIAM, Philadelphia (2000); J. J. Watkins, Acr·oss the Board: The Mathematics of Chess
board .Problems, Princeton University Press, Princeton and Oxford (2004); N. D. 8 1kies,
R. P. Stanley, The mathemati.a>l kni.ght, Mathematical Intellegencer 22 (2003), 22 34; A.
Conrad, T . Hinclricbs, H. Morsy, I. Wegener, Sol·ut·ion of the knight's Hamiltoni4n f>ath
problem on che.•.•board.•, Discrete Applied Mathematics 50 (1994), 125 134.
4
Des R.osselsrpunges einfachste '"'d allgemeinste Schalkalden 1823.
>A powerful computer, finding tours at a speed of 1 million tours per second, will have
to run for more t han 153 days and nights to reach the number of tours reported by lV!cKay
and Wegener.
262 10. CHESS
tour is the a.pplica.tioo of backtmcking a.lgorithms
6
, but this kiod of sea.rcb
is very slow so tha.t even very powerful computers need considerable time.
Another algorithm developed by A. Conrad et al. [40] is much faster and
finds the knight's reentrant tours on the n X n boa.rd for n > 5.
An extensive study of the possibility of t be knight's reentrant routes oo
a general m x n chessboard can be found in [181] . A definitive solution
was given by Allen Sclnvenk [156] in 1991, summarized in the form of the
following theorem.
Theorem 10.1 (Schwenk). Anmxn chessboard (m < n) has a kn·ight's
tour unless one o1· more o.f the .follow·ing tlwee cond·i·t·ions hold:
(i) m and n a·re both odd;
(ii) m = 1, 2, m· 4; o1·
(iii) m = 3 and n = 4, 6, or 8.
One more remark. If a knight's closed tour exists, then it is obvious that
any square on the considered chessboard can be taken as the starting point.
It is a high time for the reader to get busy and try to find the solution to
the following problem.
Problem 10.2. * P1'0ve the 'impossibility of knight 's to·u.r·s .{o1· 4 xn boanls.
The previous problem tell us tha.t a. knight's tour on a 4 x 4 board is
impossible. The question of existence of such a tour for the threedimensional
<1 X <1 X <1 board, consisting of four horizontal 4 x 4 boards which lie one over
the other, is left to the reader.
P r oblem 10.3. * Find a knight's reentmnt to1w on a th:reedimensional
4 x 4 x 4 board.
Many composers of the knight 's ci rcles have constr ucted reentrant paths
of various unusual and intriguing sha.pes while aJso incorpora.t ing certain
esthetic elements or other features. Among them, magic squares using a.
knight's tour (not necessarily closed) have attracted the most attention .
. J. .J. Watkins calls the quest for such magic squares the Holy Orail. The
Russian chess master and officer de Jaenisch (18131872) composed many
notable problems concerning the knight's circles. Here is one of t hem [138,
Problem 3.5], just connected with ma.gic squares.
6 A backt racking algorit hm searches for a partial candidate to t he solut ion step by step
and eliminates this candidate when the algorithm reaches an impasse, then backing up
a number of steps t.o try again with another partial candidatethe knight's path in this
particular case.
MAGI C KNIGHT'S REENTRANT ROUTE 263
Problem 10.4. Let the s·uccessive squar·es that frwrn the knight's !'t
enl:tant path be denoted by the number·s fmm 1 to 64 crmsec·ttti.vely, 1 being
the sta1·ting squa1·e and 64 being the f?·om which the knight plays its
last move, connecting the sqt!a?'€S 64 and 1. Can you find a knight 's ?'e
entrant path su.ch that the asMciated number·s in each ?'OW and each column
add 1•p to 260'?
The first question from the reaJer could be: M•ust the .sum be just 260?
The a nswer is very simple. The total sum of all traversed squares of the
chessboard is
64 . 65
1 + 2 + ... + 64 = 2 = 2,080,
and 2,080 divided by 8 gives 260. It is rather difficult to find magic or "semi
magic squares" ("semi" beca.use the sums over diagonals are not taken into
account), so we recommend. Problem 10.4 only to those readers who a.re
wellversed io t he subject. One more remar k. De Ja.eniscb was not the first
who constructed the semi magic squares. The fi rst semimagic knight's tour ,
shown in Figure 10.4, was composed in 1848 by \o\liJJiam Beverley, a British
la.nd.scape painter and designer of thea.trical effects.
There are 280 distinct a.ri thmetica.l semimagic tou rs (not necessa.dly
closed). Taking into account t ha.t ea.ch of these semimagic tours can be
oriented by rotation and reflection in eight different a total number of
semimagic squares is 2,240 (= 280 X 8).
Only a few knight's 1eentmnt paths possess the required "magic" prop
erties. One of t hem, constn•cted by de J a.enisch, is given in Figure 10.5.
1 30 47 52 5 28 43 54 63 22 15 40 1 42 59 18
48 51 2 29 44 53 6 27 14 39 64 21 60 17 2 43
31 46 49 4 25 8 55 42 37 62 23 16 41 4 19 58
50 3 32 45 56 41 26 7 24 13 38 61 20 57 44 3
33 62 15 20 9 24 39 58 11 36 25 52 29 46 5 56
16 19 34 61 40 57 10 23 26 51 12 33 8 55 30 45
63 14 17 36 21 12 59 38 35 10 49 28 53 32 47 6
18 35 64 13 60 37 22 11 50 27 34 9 48 7 54 31
FlCUflE 10.4. Beverley's tour FIGURE 10. 5. De J aeniscb's tour
The question of existence of a proper magic squa.re (in which t he sums
over t he two main diagonals are a.Jso equal to 260) on the standard 8 x 8
has remained. open for many years. However , in August 2003,
Guenter Stertenbrink announced tha.t an exha.ustive sea.rch of all possibilities
264 10. CHESS
using a. computer program bad led to the conclusion tha.t no such koigbt's
tour exists (see Wat kins [181]).
Our discussion would be incomplete without a.ddressing t be natura.] ques
tion of whether a. ma.gic knight's tour exists on a boa.rd of any dio1ension
n X n . Vlhere there is magic, t here is hope. Indeed, it has been proved re
cently that such magic tours do exist on boards of size 16 X 16, 20 x 20,
24 x 24, 32 x 32, 48 x 48, a.nd 64 x 64 (see [181]) .
The fo llowing problem concerns a. knight's tour which is closed, but in
another sense. Namely, we define a. closed knight's ?'Oute as a closed path
consisting of knight's moves which do not intersect a.nd do not necessarily
traverse all squares. For example, such a closed route is shown in Figure
10.13.
Problem 10.5. * Prove that the area enclose.d by a closed knight's mute
·is an ·integml multiple of the area. o.f a square o.f ·the n X n ( n > 4) chessbom·d.
Hint: Exploit t he well known Pick's theorem which reads: Let A be the
mea of a nonse(f·intet·secting pol:ygon P 1JJhose ve·rt·ices me points of a lat
tice. Assume that the lattice is composed of elemental"!/ pamllelo.gmrns wi.th
the a?ea S. Let B denote the mtmbe?' of points of the lattice on the polygon
edges and I the numbe•1' of points of the lattice ·ins·ide P. Then
(10.1)
Many generaJiza.tions of the knight's tour problem have been proposed
which involve alteration of the size a.nd shape of t he board or even modi
fying the knight's standard move; see Kraitchik [118]. Instead of using the
perpendicula.r components 2 a.nd 1 of the knight's move, written as the pail:
(2,1) , Kraitcbi k considers the (m, n)move.
A PersiaJl manuscript, a. tra.nsla.tion of which CilJl be found in Du.nca.n
Forbes' Histm·y of Chess (London, 1880), explai ns the complete rules of
fourteenthcentury Persian chess. A piece called the "camel" , used in Persian
chess and named the "cook" by Solomon Golomb, is actua.lly a modified
knight thM moves three instead of two squares a.long a row or a file, then
one square a.t right a.ngles which may be written as (3,1) . Obviously, this
piece can move on the 32 bla.ck squa.res of the standard 8 x 8 chessboard
without leaving the black squares. Golomb posed the followi ng task.
Problem 10.6. * there c£ camel's tour· ove?· all 32 black squ.ar·es of the
che,9sbom'd in such a. wa.y tha.t ea.ch squa.r·e is tm.ver·sed once and only once?
NONATTACKING ROOKS 265
Leonhard Euler (17071783) (f p. 305)
Nonattacking rooks
Apart from t he knight 's reentrant tours on t he chessboard, shown on
pages 258 264, a.nother amusing cbessboa.rd problem ca.ugbt LeonhaJ·d Eu
ler's interest.
P roblem 10.7. Let Q.,. (n > 2) be the numbe?' of arrangements of n
1ooks that can be placed on an n x n chessboa?Y.l so that no ?'ook attacks any
other· and no rook lies on the squar·es of the main diagonal. One assumes
that the main diagonal tra·uels from the lower left coTne1· square ( l, l ) to the
uppe?' ?'ight come?' squm·e (n, n). 'The task is to find Q., .{01' an a!'/Jitm'T"'J n .
The required positions of rooks for n = 2 and n = 3, for example, a re
shown in Figure 10.6 giving Q
2
= 1 and Q
3
= 2.
l:(
Jd
Jd
l:(
Jd
l:(
n = 2, Q2 = l n = 3, Q3 = 2
FI GURE 10.6. NonatLacki ng rooks outtiide t:he mai n di agonal
The abovementioned problem is, in essence, the same one as that referred
to as the Bernoulli Euler pmblem of misadd1·essed lette1·s appearing on page
184. Na.tura.lly, the same formula provides solutions to both problems. As
our problem involves t he placement of rooks on a chessboard, we will express
the solution of the pmblem of nonattacking moks in the context of the
chessboard.
According to the task's conditions, every row and every column contain
one and only one rook. For an aJ·bitrary square (i,j), belonging to the ith
row a.nd jth column, we set the square {j, i) symmetrica.J to the squa.re ('i , j)
with respect to the main diagonaL
The rook caJl occupy n1 squares in the fi rst column (all except the
squa.re belonging to the mai o diagonal). Assume that the rook in the first
column is placed on the square (T, l), 1' E { 2, . . . , n }. Depending on the
arrangement of the rooks in the remaining n l columns, we can distinguish
266 10. CHESS
two groups of positions with nonattackjng rooks : if the symmetri cal squa re
(1,r) (related to the rook on t he square (r , 1)) is not occupied by a. rook, we
will say that the considered position is of the first kind, otherwise, it is of
the second kind. For example, the position on the left in Figure 10.7 (where
n = 4 and 1· = 2) is of the first hlnd, while the position on t he right is of the
second kind.
:c, :c,
:c, :c,
:c, :c,
:c, :c,
FIGURE 10.7. Positions of t he first kind (left) and second kind (right)
Let us now determine the number of the first kind positions. If we remove
the 1·th row from the board and substit ute it by the fi rst row, and then
remove the fi rst column, a new (n 1) x (n 1) chessboa.rd is obtained.
Each arrangement of rooks on t he new chessboa.rd satisfies the conditions of
the problem. The opposite cla.im is a.Jso valid: for each arrangement of rooks
on the new chessboard satisfying the condi tions of the problem, the unique
position of the fi rst ki nd ca.n be found. Hence, the number of the fi rst kind
positions is exactly Q,_
1
.
To determine the number of second kind positions, let us remove t he
first column and the 1·th row, and a.Jso t he 1·th column and the first row
from the n x n chessboard (regarrung only positions of the second kind).
If we joi n the remaining rows and columns without a ltering their order, a.
new (n  2) x (n  2) chessboard is formed. It is easy t,o check that t he
arrangements of rooks on such (n 2) X (n 2) chessboards satisfy t he
conditions of the posed problem. Therefore, it follows that there are Q,. 2
positions of the second kind.
After considera.tion of the above, we conclude that there are Q, _
1
+ Qn 2
positions of nonattachlng rooks on the n x n chessboard, satisfying the
problem's conditions and corresponding to the fixed position of the rook
the squa.re (r, 1) in the first column. Since r can taken 1 va.Jues (=
2, 3, .. . ,n), one obtains
Q,. = (n 1)(Qnl + Qn 2) · (10.2)
NON ATTACKING ROOKS 267
The a.bove recurrence reta.t ion derived by Euler is a. difference equa.t ioo
of the second order. It cao be reduced to a. difference equation of t he first
order in the following manner. Starting from (10.2) we find
Qn  nQn 1 = (n  1) (Q« I + Qn 2) nQ., 1
= (Q, _l  (n  1)Q.,. _z).
Using successively t he last rela.t ion we obtain
Q,. nQ,. 1 = (Qn 1  (n  1)Q,. z)
= ( 1)
2
(Q,._
2
 (n  2)Q.. 3)
Since Qz = 1 and Qa = 2 (see Figure 10.6), one obtains t he difference
equation of the first order
Q,,  nQn 1 = (1)"'. (10.3)
To fi nd the general formula fo r Q,, we apply (10.3) backwards and obtain
Q,. = n Q.,.. 1 + ( 1)" = n((n  1)Qn 2 + (  1)"
1
) + ( 1)"
= n (n l )Q.,. _
2
+ n (  1)'"
1
+ ( 1)"
t hat is,
= n (n 1) ((n 2)Qn:l + (  1)" 
2
) + n( 1)"
1
+ (  !)"
= n (n  l ) (n  2)Qn :l + n(n  1)(  1)"
2
+n(  l)n l + (  1)"
= n(n  1) (n  2) .. · 3 · Q
2
+ n(n  1) .. · 4 · (  1)
3
+ · ..
+ n(  1)" 
1
+ ( 1)"
1 1 (1)''
= n ! ( 2!  3! + · · · + n! ) '
" ( 1)k
Q,. = n! 2:: k! (n > 2).
k ='2
268 10. CHESS
The last formula. gives
Q2 = 1, Q3 = 2, Q4 = 9, Qs = 44, Q6 = 265, etc.
Carl Friedrich Gauss (1777 1855) p. 305)
Carl Friedrich Gauss indisputably merits a place among such illustrious
mathematicians as Archimedes and Newton. Sometimes known as "the
Prince of mathematicians," Gauss is regarded as one of the most influen
t ial mathematici<ms in history. He made a rema.rkable contribution to many
fields of mathematics and science (see short biography on page 305) .
As a tenyear old schoolboy, Gauss was already exhibi t ing his formidable
mathematical talents as the following story recounts . One day Gauss' teacher
Mr. Biittner, who had a reputation for setting difficult problems, set his
pupils to the task of finding the sum of the arithmetic p1·ogression 1 + 2 +
· · · + 100.
7
T he la.zy tea.cher assumed that t his problem would occupy the
class for the entire hour since the pupils knew nothing about a.ri thrnetical
progression and the general sum formula. Almost immediately, however, gif
Carl Friedrich Gauss
1777 1855
ted young Gauss placed his slate on the ta.ble.
\ Vhen the astonished teacher finally looked at the
results, he saw the correct answer, 5,050, with
no further calculation. The tenyearold boy had
mentally computed t he surn by arranging t he ad
dends in 50 groups (1+100), (2+ 99), . .. , (50,51),
each of them with the sum 101, and multiplying
this sum by 50 in his head to obtain the required
sum 101 · 50 = 5,050. Impressed by Ius young stu
dent, Biittner a rranged for his assista.nt Marti n
Bartels (1769 1836), who la.ter became a. rna.the
matics professor in Russia, to t utor Gauss.
Like Isa.a.c Newton, Gauss wa.s never a prol ific writer. Being an ardent
perfectionist, he refused to publish his works which he did not consider com
plete, presumably fearing criticism and controversy. His delayed publication
of results, li ke the deli:tys of Newton, led to many high profile controversies
and disputes.
7
Some aulhor:; claim thal the teacher gave the arithmetic progre,;siou 81,297+81,495+
· · · + 100,899 with tbe difference 198. It does not matter!
THE EIGHT QUEENS PROBLEM 269
Gauss' sbort dairy of only 19 pages, found after bis deat h a nd published
in 1901 by the renowned Gern1an mat bema.tician Feli x Klein, is regarded as
one of the most valuable mathematica l documents ever. In it he included
146 of his discoveries, written in a very concise form, without a.ny traces
of derivation or For example, he jotted down in bis dairy "He·wreka.!
nurn = D.+ D. + D. ," a coded form of his discovery tha.t every positive integer
is representable as a sum of at most three triangula.r numbers.
Many details about the work and life of Gauss can be found in G. Vv.
Dunnington's book, Cad Priedl'ich Gauss, Titan of Sc·ience [58]. Here is a.
sbort list of monuments, objects >l nd. ot ber things named in bonour of Ga.u.ss:
 The CGS uni t for magnetic induction was named GatM;S in his honour,
 Asteroid 1001 Gaussia,
 The Ga·u.s.s cra.ter on the Moon,
 The ship Ga1tss, used in the Gauss expedition to t he Antarctic,
 an extinct volcano on the Antarctic,
 T he Ga·uss Tower, an observation tower in Dra.nsfeld , GennaJ1y,
 .Degaussing is t he process of decreasing or eliminating aJl unwanted
magnetic field (say, from TV screens or computer monitors).
The eight queens problem
One of t he most famous problems connected with a. chessboa.rd and chess
pieces is undoubtedly the eight q1teens pmblern. Alt hough there are claims
that the problem was known ea rlier, in 1848 Max Bezzel put forward this
problem in the chess journal .De1lische Sehachze·it·ung of Berli n:
P r oblem 10.8. How does one place eight qtteens on an 8 x 8 chessbom·d,
01·, fo7· genen1l pu1·poses, n queens on a.n n x n bom·d, so that no q·ueen ·is
attacked by anothe1'. In addition, detef'rn·ine the mJ,rnbe1· of su.ch posit·ions.
Before we consider this problem, let us note tha.t a lt hough puzzles involv
ing nonattacking queens and similar chess piece puzzles rna.y be intriguing
in their right, more importantly, they have a,pplications in industrial mathe
matics; in maximum cliques from graph theory, and in integer programming
(see, e.g. , [65]).
The eight queens problem was posed agajn by Franz Nauck in the more
widely rea.d, Jlt'Ust7·irte Zei.t'Ung, of Leipzig in its issue of June 1, 1850. Four
weeks later Nauck presented 60 different solutions. In the September issue
he corrected himself and gave 92 solutions but he did not offer a proof that
t.here fJ,re not more. In 1910 G. Bennett.
8
concluded tha.t there a.re only 12
8
G. Bennett, The eight (fl<eens problem, Messenger of Mathematics, 39 (1910), 19.
270 10. CHESS
distinctly different solutions to the queens problem, that is, solutions tha.t
could not be obta.ined one from another by rotations for 90°, 180° and 270°,
and mirror images; T. Gosset later proved this in 1914.
9
1V
1V
1V
FIGURE 10.8. The 8queens problem; one fundamental solution 41582736
Each position of the nonattacking queens on the 8 x 8 board can be
indicated by a.n array of 8 numbers k
1
k2 · · · ks. The solution k
1
k2 · · · ks means
that one queen is on the k
1
th square of the first column, one on the k2 th
squa.re of the second column, and so on. Therefore, twelve funclamenta.l
solutions ca.n be represented as follows :
41582736 41586372 42586137
42751863 42736815
42857136
42736851
42861357 46152837
46827135 47526138 48157263
Each of the twelve basic solutions can be rotated and reflected to yield 7
other patterns (except the solut ion 10, which gives only 3 other patterns
because of its symmetry) . Therefore, counting reAections and rotations a.s
different, there are 92 solutions altogether. One fundamental sol ution given
by t he first sequence 41582736 is shown in Figure 10.8.
Gauss himsel f also found great interest in t he eight queens problem read
ing Jllustrirte Zeitung. In September of 1850 he concluded that t here were
9
T. Gosset, Tile eight queens 1n·oblem, Messenger of Mathematics, 44 (1914), 48.
THE EIGHT QUEENS PROBLEMGAUSS' ARITHMETIZATION 271
76 solutions. On ly a week later, Ga.uss wrote to his astronomer ft:iend H. C.
Scbuma.cber that four of bis 76 solutions are false, leaving 72 as the num
ber of true solutions. In addition, Gauss noted that there might be more,
remembering that Franz Nauck clid not prove his assertion that there are
exactly 92 solutions. One can imagine that Gauss did not find all the solu
t ions ou the first a.ttempt, presuroa.bly beca.use at tba.t time, he lacked tbe
systematic and strongly supported methods necessary for solving problems
of this kind. More details about Ga.uss and the eight queens problem can be
found in [34] and [65].
Considering that the method of solving the eight queens problem via trail
a.nd error was inelegant , Gauss turned t his problern ioto an a.rithmetical
problem; see [34] and ]86]. We have seen tha.t each solution cao be repre
sented as a. permutation of the numbers 1 through 8. Such a. representation
automatically confirms that there is exactly one queen in each row and each
column. It wa.s necessary to check io a.u easy way if aoy two queens occupy
t he same diagona.J and Gauss devised sucb a method. '.Ve will iUustrate
his method with the permutation 41582736 that represents the eightqueens
solution shown in Figure 10.8.
Let us form the following sums:
4 1  0 8 2 7 3 6
1 2 3 4 5 6 7 8
5 3 8 12 7 13 10 14
and
4 1 5 8 2 7 3 6
8 7 6 5 4 3 2 l
E 12 8 11 13 6 10 5 7
In both cases t he eight sums are distinct natural numbers, which means
that no two queens lie on the same negative diagonal \ (the sums above)
and no two queens lie on the same positive diagonal / (the sums below) . Ac
cording to these outcomes, Gauss concluded that the queens with positions
represented by tbe permutation 41582736 are nona.ttaddog.
In 1874 J. W. Gla.isher
10
proposed expanding the eight queens problem to
the nqueens problem, that is, solvi ng the queens' puzzle for the general n x n
chessboard. He attempted to solve it using determinants. It was suspected
10
J. W. Glaisher, On the problem of eight queens, Philo;;ophical iVIagazine, Sec. 4, 48
(1874) , ·157.
272 10. CHESS
t hat exactly n nonattacking queens cou ld be pla.ced on ann x n cbessboa.rd ,
but it was not until 1901 t ba.t WiU'aelm Ahrens [2] coul d provide a posi tive
answer. Other interesti ng proofs can be found in [104], [181] and[193]. In
thei r pa.per [104] Hoffma.n, Loessi and Moore reduced t he nqueens task
to t be problem of finding a. ma.ximum internally sta.ble set of a symmetric
grapb, t be vert.ices of which correspond to the n
2
squa.re elements of a.n n x n
matrix.
Considering the more genera l problem of t he n x n chessboard, first we
verify that there is no solution if n < 4 (except the triv1a.l case of one queen
on the 1 x 1 square) . Fundamental solutions for 4 < n < 7 are as follows :
n = 4 : 3142,
n = 5 : 14253, 25314,
n = 6 : 246135,
n = 7 : 1357246, 3572461, 5724613,4613572, 316257<1, 2574136.
The number of fundamental solutions F(n) a.nd the number of aU solutions
S(n), includi ng those obta.ined by rota.tions and reflections, are listed below
for n = I , ... , 12. A general formula for t he number of solutions S(n) when
n is a.rbitrary has not been found yet .
n 1 2 3 4 5 6 7 8 9 10 11 12
F(n) 1   1 2 1 6 12 46 92 341 1, 784
S(n) 1
 
2 10 4 40 92 342 724 2,680 14, 200
TABLE 10.1. The uurnber of solutions 1;o the n x n queens problem
Some interesting relations between magic squares aJld thenqueens prob
lem have been considered by Dernirors, Rafra.f and Tanik in [48]. The a u
thors have introduced a procedure for obtaining the arnmgements of n non
attacking queens starting from magic squares of order n not divisible by 2
and 3.
The following two problems are more complicated modern variants of t he
eight queens problem and we leave them to the reader. In solving these
problems, it is a.clvisable to use a computer program.
In his Mathema.tico.l GMne.9 column, 1\'l. Ga.rdner [79] presented a. version
of the nqueens problem with constraints. In this problem a queen may
attack other queen directly (as in ordinary chess game) or by reflection fTom
either the first or the (n + 1)st horizontal virtual line. To put the reader at
ease, we shall offer the special case n = 8.
THE LONGEST UNCROSSED KNIGHT'S TOUR 273
Proble m 10.9. * Place 8 chess queens on the 8 x 8 boa1·d 1uith a reflection
.9tr·ip in such a 1vay that no t'wo queens attack eac:h other· e·ither· directly or
by 1·e[lection.
A superqueen (known also as "Amazon") is a chess piece that moves like a.
queen as well as a. knight. This very powerful chess piece was known in some
variants of chess in t.he l\
1
1iddle Ages. Obviously, the nsuperqueen problem
is an extension of thenqueen problem in which new restrictions should be
ta.ken into account. So it is not strange that the nsuperqueen problem has
no solut.ion for n < 10.
P r oble m 10. 10.* Pla.ce 10 super·queens on the 10 x 10 so that
no su.pe1·queen can a·ttack any other.
There is j ust one funda.mental solution for the case n = 10. Can you find
this solution?
A va.ria.tion of the chess that would be worth mentioning is one in which
the game is played on a cyli ndrical board. The pieces in soca.lled cylindrical
chess are arranged as on an ordinary chessboard, and they move following
the same rules. But the board is in a. cylindrical form because its vertical
edges are joined ("vertical cylindrical chess") so that the verticals a and h
are juxtaposed. Also, it is possible to join the horizontal edges of the board
("horizontal cylindrical chess") so t hat the fi rst and the eighth horizontal
are connected.
We have already seen that the eight queens problem on the standard 8 X 8
chessboard has 92 solutions. The following problem on a cylindrica.l chess
board was considered by the outstanding chess j ournalist and chessma.ster
Edvard Gik 1841.
Proble m 10.11. * Solve the p1·oblem of nonattacking qu.eens on a cylin
d!ical chessboanl that is formed of a.n 8 x 8 chessbom·d.
Donald Knuth (1938 ) ( t p. 310)
The longest uncrossed knight's tour
On pages 258262 we previously considered a. knight's tour over a chess
board such that all 64 squares are traversed once and only once. The difficult
problem presented below imposes certain restrictions on the knight's tour:
Proble m 10.12. Find the lal'f}est v;ncrossed knight's tou1· on a chessbom'd.
274 10. CHESS
Appa.rently T . R. Dawson once posed this problem, but L. D. Yardbrough
la.uncbed t he same problem again in the July 1968 Joumal of Recreational
Mathematics.
FIGURE 10.9. Knut h's solut ion for the longest uncrossed knight 's tour
Donald E. Knuth wrote a "backtrack" computer program to find four fun
damental solutions for the knight's tour. To find these tours, the computer
examined 3,137,317,289 cases. One of these solutions is shown in Figure 10.9
(see, e.g. , the book 1138, p. 611).
Guarini 's knightswitching problem
We end this chapter with classic knightswitching problem from
1512, mentioned in Chapter 1. A number of mathematicians have consid
ered problems of this type, in modern times most frequently in connection
with planar graphs. No matter how unexpected it sounds, a kind of "graph
approach" was known to alAdli (ca. 840 A.D.) who considered in his work
on chess a simple ci rcui t that corresponds to the knightmove network on a
3 x 3 board.
Problem 10.13. The ta,qk is to inter·change t·wo white knights on the
top corner of a 3 x 3 chessboru·d and two knights on the bot
tom come7' squm·es. The white kn·ights should move into the places occupied
initially by the black knights and vice versa in the minimmn number of
moves. The knights may be moved in any order·, ·regardless of their color.
Natumlly, no two of them can occupy the sarne square.
GUARI NI 'S KNIGHTSWITCHING PROBLEM 275
Solut ion. This puzzle belongs to the class of problems that can be solved
in a.n elegant manner using t he theory of pla.nar graphs. Possibly this prob
lem could find its place in Chapter 9 on graphs, but we rega.rd that it is an
unimportant dilemma.
The squa res of the chessboard represent nodes of a graph, and the possi
ble moves of the pieces between the corresponding squares (the nodes of the
graph} are interpreted as the connecting lines of the graph. The correspond
ing graph for the board a nd the initial positions of the knights a re shown in
Figure lO.lO(a) .
fij fij
1 2 3
4 5
4 4
6 7 8
a) b)
F IGURE 10. 10. a) Graph to Guarini's problem b) Equivalent simpl ified graph
The initial positions of the knights are indicated and all possible moves
of the knights between the squares (the nodes of the graph} are marked by
li nes. Using Dudeney's famous "method of unra.veling a graph,"
11
starting
from any node, the graph lO.lO(a) can be "unfolded" to the equivalent graph
l O.lO(b}, which is much clearer and more convenient for the analysis. Obvi
ously, t he topologica.J structure and the connectedness are preserved. To find
the solution it is necessa.ry to wri te down the moves (and reproduce them
on t he 3 x 3 board according to some cor respondence), moving the knights
along the circumference of the graph until they exchange places. The min
imum number of moves is 16 although the solution is not unique (because
the movement of the knights a long the gra.ph is not unique). Here is one
solution:
"This "method" was described in detail by E. Gik in the journal Nauka i Zhizn 12
(1976); see also M. Gardner, MatJterrw.tical P·uzzles and DiveTsions (New York: Penguin,
1965).
276 10 . CHESS
15 62 37 84 56 28 71 43
15 84 62 37 56 71 28 43.
A similar problem a,Jso involves two white and two black chess knights
and requires their interchange in the fewest possible moves.
P roblem 10.14.* Two white and two black knights are placed on a boa1·d
of an tmusual jo1'm, as shown in Figum 10.11. The goal is to exchange the
white and black knights in the minimttm numbe1· of moves.
F IGURE 10. 11. Knightswitching problem
Answers to Problems
10.2. Suppose that the required knight's reentrant route exists. We
assume that this board is colored alternately white and black (in a chess
order) . The upper a nd lower row will be called t he ottte!·lines (0), and the
two remaining rows the middle lines (M) . Since a knight, starting from any
square, can land only on a middle square, it follows tha.t among 4n.
moves t hat should ma ke the route, 2n moves must be played from the o·ute1·
to the middle squares. Therefore, there remain exactly 2n moves that have
to be realized from the middle to the oute1· squa.res.
Since any square of the closed knight's tour can be the starting square,
without loss of generality, we can assume that we start from a "middle"
squa.re. The described tour gives an alterna te sequence
.M(start)  0 M  0 · · · M  0 .M(finish), (10.4)
ending at the sta.rt ing square. Wfe emphasize t hat a knight can't da.re visit
two middle squares in a row anywhere along the tour because of the following.
Assume that we start with this double move M M (which is possible
because these moves belong to the circuit), then we will have the sequence
ANSWERS T O P ROBLEMS 277
M  J\11  (2n  1) x (0  J\11) . In this case we have 2n + 1 M moves and
2n  1 0 moves, t hus each different from 2n. Note furt her that the double
move 0  0 in the parenthesis in the last sequence is impossible because a
knight cannot jump from t he outside line to the outside line.
On the other hand, the same knight's tour alternates between white and
black squa.res, sa.y,
black  white  bl ack  whi t e  · · ·  black  whi t e  /ll ack (10.5)
(or opposite). Comparing the sequences (10.4) and (10.5) we note that all
squa.res of t be outer li nes are in one color IJ.nd a ll squares of t he middle li nes
a re in t he ot her color. But t his is a contradiction since the board is colored
alternately. Thus, the required path is impossible.
10.3. One solution is displa\)'ed in Figure 10.12. The threedimensional
4 x4 x 4 board is represented by the four horizontal 4 x 4 boa.rds, which lie one
over the other; the lowest board is indicated by I, the highest by IV. The
knight's moves a.re denoted by the numbers from 1 (starting square) to 64
(ending square). The knight can make a reentrant tour because the squares
64 and 1 are connected by the knight's moves.
57 30 47 36 42 37 56 51 27 62 15 2 10 7 22 17
48 33 58 31 55 52 43 40 14
26 63 21 18 9 6
29 60 35 46 38 41 50 53 61 28 3 16 8 11 20 23
34 45 32 59 49 54 39 44 4 13 64 25 19 24 5 12
I II
III IV
FIGURE 10.12. Kni ght's reent rant path on the 4 x 4 x 4 board
10.5. LetS be the area of a square of then x n chessboard. Considering
fo rmula (10.1) in Pick's theorem, it is sufficient to prove that t he number of
boundary points B is even. Since the knight's tour a.lternates between white
(w) and bla.ck squares (b), in the case of a.ny closed tour (the starting square
coincides with the ending square) it is easy to observe tha.t the number of
traversed squaJ·es must be even. Indeed, the sequence b (start)  w b tv
· · ·  b w b (fi nish) , associated to the closed knight 's path, always has
an even number of moves( = traversed squares); see Figure 10.13. Since the
number of squmes belonging to the required closed knight's path is equal to
the number of boundary points B , the proof is completed.
278 10 . CHESS
" "
,...
I)
v v
)t
1...
......
...
"'
FIGURE 10.13. Area of a simply closed lattice polygon
10.6. As mentioned by i\1.!. Ga.rdner in Scientific American 7 (l 967),
S. Golomb solved the problem of a. camel's tour by using a transformation
of t he chessboa.rcl suggested by his colleague Lloyd R. ·welch and shown in
Figure 10.14: the chessboard is covered by a. jaggededged board consisting of
32 cells, ea.cb of them cor responding to a. bla.ck square. It is easy to observe
that the camel's moves over black squares of t he chessboard aJ·e playable
on the jagged board a.nd turn into knight 's moves on the jagged board.
Therefore, a camel's tour on the chessboard is equivalent to a knight 's tour
on the jagged board. One simple solution is
1 14 2 5 1D23 17 2926 32 20 8 19 22 9 21 18
3D271536112412741628 312513.
FIGURE 10.14. Solution of camel's tour by transfonm•tion
ANSWERS TO P ROBLEMS 279
10. 9. If you have not succeeded in solving the given problem, see the
following solutions found by Y. I<usaka [120]. Using a computer program
and backtracldng algorithm he established that there are only 10 solutions
in this eight queens problem with constraints (we recall that t his number is
92 for the ordinary case; see Ta.ble 10.1 for n = 8) :
25741863 27581<163 36418572 36814752 36824175
37286415 42736815 51468273 51863724 57142863
10. 10. The author of this book provided in his book Mathematics and
Chess [138] a comput,er program in the computer language C that can find
a ll possible solutions: the funda menta.l one and similar ones obtained by the
rotations of the board and by the reflections in t he mirror. The program
runs for arbitrary nand solves the standa.rd nqueens problem as well as t he
nsuperqueens problem. We emphasize that t he running time increases very
quickly if n increases.
The fundamental solut ion is shown in Figure 10. 15, which can be denoted
as the permutation (3,6,9,1,4,7,10,2,5,8). As before, such denotation means
that one superqueen is on the third square of the first column, one on the
sixth square of t he second column, a nd so on.
:11.
!if
N
!if
fj
FIGURE 10. 15. The fundamental solution of the superqueens problem for n = 10
The three remaining solutions (found by the computer) arise from the
fundamenta.l solution, and they can be expressed as follows :
(7,3,10,6,2,9,5,1,8,4) (4,8,1,5,9,2,6,10,3,7) (8,5,2,10,7,4,1,9,6,3)
280 10. CHESS
10. 11. There is no solution of the eight queens problem on the cylindri ca.J
chessboard of the order 8. We follow t he ingenious proof given by E. Gik
[84].
Let us consider an ordina.ry chessboard, imagining tha.t its verticaJ edges
a re joined ("vert ical cylindrical chess") . Let us wri te in each of t he squares
three digi ts (i ,j, k), where i,j, k E {1, . . . ,8} present column, row, and di
agonal (respectively) of the tra.versing square (Figure 10.16). Assume that
there is a repla.cement of 8 nona.tta.cking queens and let ( i
1
, j I> k!}, . .. ,
(i
8
,j
8
, k
8
) be the ordered triples t hat represent 8 occupied squares. T hen
the numbers i
1
, . .. ,i
8
are distinct and belong to the set {1, .. . ,8}; there
fore, L: i,. = 1 + · · · + 8 = 36. The same holds for t he numbers from the sets
.. . ,js} and {k1, ... ,ks }.
187 286 385 484 583 682 781 888
178 277 376 475 574 673 772 871
161 268 367 466 565 664 763 862
152 251 358 457 556 655 754 853
143 242 341 448 547 646 745 844
134 233 332 431 538 637 736 835
125 224 323 422 521 628 727 826
116 215 314 413 512 611 718 817
F IGUR£ 10.16. Gik's solut ion
We see that the sum (i
1
+ · · · + i
8
) + (j
1
+ · ·· + .is)+ (k
1
+ · · · + k,)
of all 24 digits written in the squares occupied by the queens is equal to
(1 + · · · + 8) x 3 = 108. Since the sum iv + iv + kv of the digits on each of
the squares is divided by 8 (see Figure 10.16), it follows that the s um of the
mentioned 24 digits must be divisible by 8. But 108 is not divisible by 8 a
cont radiction, and the proof is completed, we are home free.
10. 14. Although the chessboa.rd has an unusual form, the knight
switching problem is effectively solved using graphs, as in the case of Guar
ANSWERS TO PROBLEMS 281
ioi's probleo1 10.13. The corresponding graph for the board a.od the koigbt's
moves is shown in Figure 10.17(a), <1nd may be reduced to the equivalent
(but much simpler) graph 10.17(b).
a) b)
FIGURE 10.17. A graph of possible moves and a simplified gr;J.ph
The symmetry of the simplified gra.ph and the alternative paths of t he
knights along the graph permit a. number of different solutions, but the
minimum number of 14 moves cannot be decreased. Here is one solution:
13 7 2 11 4 9 8 1 7 13 11 3 1 7 13 8 3 2 7 1
Chapter 11 MISCEllANY
In this cha.pter t he reader will find some interesting problems and puzzles
of Alcuin of York, Fibonacci, Bachet , Huygens, Newton and
Euler. These problems have not been classified into previous chapters mainly
for two reasons: either they are similar to the presented problems or they do
not clea.rly belong to the subjects considered in the previous chapters. We
lea.ve it to the readers to find the solutions .
*
* *
Problems from Alcuin of York
1
Problem 11. 1. * Thr·ee .sons mttst equally divide and sha·re thi1ty flasks
1md the·ir among themsetve.s. How wut they accompt·i.sh th·i.s given
that o.f the thirty .fla$kB, ten me .full, ten haLfempty, and ten entirely empty?
Problem 11.2.* A mbbit pu·r.stted by a dog has a head sta·rt of 150 f eet.
Fo1· eve111 "7 f eet that the mbbit jumps, the dog bounds 9 .feet. In how rnany
leaps w·ilt the dog overtake the mbbit?
Problem 11.3. * In his will, a dying man stipttlates t hat his wife, who
is expecting a child, shall inhe7'it t of the p1·operty if she gives bi1·th. to a
son, and the son shalt ·inhe·r'it the other Ho·wever, ·if his widow g·ives /J'i7'th
to a. daughte1·, she tuill receive
1
5
2
of the pr·operty, and the
1
7
2
• In
the event that both a son and a daughte1· ar·e bor·n, hmu tuill the pr·ope1·ty be
divided?
Problems from Abu'IWafa
2
Problem 11.4. * Const,·uct a.n equila·teml t7'ia.ngle embedded ·in a given
square so tha.t one o.f its ve·rt·ices ·is ctt a corner of the square a.nd the othe1·
two lie on the opposite sides of the .squwre.
1
These problems of various origin are contained in Alcuin's collect ion of problems for
"quickening of the mind" ,
2
The solutions of t hese five problems cnn be found in [186].
283
284 11. J'vl ISCELLANY
Problem 11.5. * Dis.9ect tu;o r·eg·ula1·· hexagons of differ·ent sizes into se·uen
pieces and then assemble one, larger, regula?· hexagon jmrn the seven avail·
able pieces.
Problem 11.6. * Const1·uct the perpendiwla1· to the segment AB (Lt the
endpoint A ttsing onl:y a s·tmigh'ted_qe a.nd a .fixedopening compass, withou·t
extend·ing ·the segments beyond .4.
Problem 11.7. * D·ivide a g·iven line segment into any given numbe·t of
eq·ual J>M't,q u.s·ing only a stmightedge and compass.
Problem 11.8. * Using only a. strctightedge a:nd a. compass with (L fixed
opening eq·ual to the mdiu.s of a. given ci1·cle, constru.ct a regula1· pentagon
with vert'ices on this circle.
Amusing problems from Fibonacci
Among t he many problems that Fibonacci includes in t he t hird section
of Libe1· abacci, here are six presented in the form as in [61, Ch. 81 :
Problem 11.9. * .4 lion ·tmpped i.n a pit 50 feet deep tries to climb out of
it. Each day he climbs up t of a. foot, but each n·igh·t slips back t of a foot.
How many days will it take the lion to 1·each the top of the pi.t?'l
Problem 11. 10.* Two men each possess a ce1·tain amotmt o.f money.
The ji1·st says to the second, "If you give me nine dena?'i.i, we will both have
the same amount. " The second man 1epl·ies to the first, "If yov. give me nine
denar·i .. i, .£ ·will have ten t·imes as much as you. " H 01u m·uch money does each
man have?
Problem 11.11.* .4 hound whose speed inc1·ease.s a.rithrnetically chases
hm·e whose spee(l also ·inc·mases arithmet·iailly; how fm· do ·run befom
the hound ca·tches the hme?
Problem 11.12. * lf par·tridge.9 cost 3 co·in.s each, p·igeons 3 coins each,
and spa?'tows cost 1 coin jot· 2, how many lrird.s of each kind 'Wi Ll a merchant
have if he b1•ys 30 bi1·ds .fo?· 30 coins?
3
Fibonacci, by the way, gave a false solution; see 1113, p. 3081. He stm·ted from 63 as
a number divisible by both 7 and 9 and found that in 63 days the lion would climb up 9
feet and fall down 7. Hence, the lion advances 2 feet every day and, by proportionality,
he calculated t hat t he lion would take (50 : 2) x 63 = 1575 days to cli mb t he 50 feet to
reach the top of the pit . The answer is 1572 days; actually, the lion will be only
6
8
3
of a foot from t he top at the end of 1571 days, so that he will reach the top on the
next day.
11. M ISCELLANY 285
Problem 11.13. * Fou•t' rnen each have a certain Sttrn of money. Togethe1·,
the fir·st, .second, and th·i•td have 27 the thin.l, and fout·th men
have 31 dena1·ii among them; the thi1·d, fotwth, and fi!·st have 34; finally, the
fourth, fi1·st and second men have 37. How mttch money does each man
have?
Problem 11.14. * .4 rna.n bequeathed one bezant and a seventh of his
€$tate to his eldMt son. 1'o his next son he left t1110 anti aga·in, a
seventh of what was le.ft of ·the esta·te. Next, from ·the new 1·emainde·r, he left
th·ree bezants a.nd a seventh of what 1·emained to his thiTd son. He contimted
in this way, giving each son one bezant rnore than the p·revio'l.ts son and
a seventh of what 1·ema·ined. As a TMult of th·i.s d·i.sl't•ibution, the last .son
t•ecei.v€1:1 tlll tlwt was left and (Ill the sons shamd eq?.cJlly. How mawy sons
we·re the·re and how la·rge was ·the man's
Problems from Bachet
Problem 11.15.* A pe1·son !'andoml:y choosM an h07J,r', say m, and then
points to it on a watch displaying ,qome othe1' hou1>, say n. Beg·inning with
the mndomlychosen hou1·, and moving in the counte1·clockwise di1·ection, if
the pe1·son counts each sttccess·ive numeml on the watch as m, m + 1, etc.,
·until he !'ea.ches n + 12, then the la.st numeral he points to tl.l'ill be the how·
he or·iginall:y chose at r·andorn. Prvve th'is.
Problem 11.16. * Within a g·roup of people, an individual sec1·C'tly chooses
a numbe1· less than 60, and a.nno·unces ·the 1'emainde1·s, fo·r example, a, b, c,
when the cho.sen rmmber is divided by 3, by 4, and by 5. Prove that the
number or·iginally chosen eqtLals the remainder obta.ined when 40a+45b+ 36c
·is dimtletl by 60.
Huygens' probability problems
Problem 1 L 17. * .4 and B play a game tossing two dice; .4 wins if 7 is
thrown; B wins if 10 ·is th1·own; the game is a dmw if an)} othe·r numbe1· is
th!'own. Pi.nd the chances of w·inning fm' pla·yer·s A and B.
Problem 11.18.* An U!'!'t. holds 4 white and 8 bla.ck balls }'01· a total
o.f 12. Th.!'ee pla.ye·rs, A, B, C, each blindfolded, dmw a. ball, A fi1·st, next B,
and then C. The playe1· who wins ·is the fiTst one ·to dmw a white ball. If
each black ball i8 r·epla.ced ajte1· a. plo.yet· has dmwn it, fincl the ·ratio of the
thre.e player·s' cha.nces.
286 11. J'vl ISCELLANY
Problem 11.19. * A certain pack of car·ds contains 40 canis, 10 from
each S'!tit. A 1oage1·s B that ·in dm·wing /07t1" canis, he •will dm1o one canl
j1·om each su.it. What amotmts can be faidy wage1·ed jo1· each playe1·?
Problems from Newton
Problem 11.20. * One morning two co1wier$ A a1ul B, .separated by a
(li.stance of 59 miles, set o1d to meet e(U;h othet·. Wh·ile A has com7Jleted
·7 m·iles in 2 hotws, B tm·vels 8 miles ·in 3 hou·rs; B, howeve1·, sta1·ted his
journey l hotw late?' than A. How fa·r a distance mttst A still tmvel bejor·e
meeting B?
Problem 11.21. * A certa·in scl'ibe takes 8 days to copy 15 sheets. How
many .scr·ibes, capable of prodttcing the same amount, will be needed to copy
405 sheet5 in 9 day.s?
Problem 11.22. * Among th?ee wo1·kmen, eve1·y thtee weeks A finishes a.
given job once; every eight weeks, B completes the job tlwee times, <md C
finishes the same job five t·imes ever·y t·wel·ve weeks. If the three wor·kmen
undertake to complete the .fob togethe?'
1
how long w·ill i·t ·take ·them?
Problem 11.23. *
4
A number of 1mbio.sed (fair) dice are rolled simttlta
neously. Detennine which of the follo·wing events is most likely:
1) The appearance of o:t least one s·ix when 6 dice are I'Olled;
2) The appearance of M least two s·i3:es when 12 dice (!1'€ ·rolled;
3) The appearance of at least th!'ee sixes when 18 dice a1e ?'olled.
Problems from Euler
Problem 11.24. * 1'wen·ty men and women have dinne·r at a. ·tavem. Each
man's sha1·e of the bill is 8 crowns, each woman's sha·re 7 C1'0Wns; the enti1e
bill ammmts to 145 crowns. Of the twenty dine·rs, how many me men and
how many M'e women?
Problem 11.25. * A horse dealer bltys a horse j'o1· a cer·tain rwrnbet· of
cnnun.s, an<l then .sells it a.g<tin fo1· 119 crowns. Thi.s amo·unt includes hi.s
4
'rhis problem was posed by Samuel Pepys (163:l 1703) in a letter to [sa.'\C Newton;
see E. D. Schell's paper, Samuel Pepys, Isaac and P1·obabili·ty, The American
St.atician 14 (1960), 2730. Pepys was an English naval administrator, a member of
Parliament and a fellow of tbe Royal Society, and wrote a famous diary.
11. M ISCELLANY 287
pn>fit, 111h'ich 111a,s a.s rrw.ch per cent as the horse cost him. What is the init·ial
p·ur·chase pr·ice of the hm·se?
Problem 11. 26. * Three b1vthe·rs bj1y a vineya·rd for 100 ci'Owns. The
youngest .9ays that he co1dli p?L?'Ch<LBe the viney111'd on his own ·if the second
brothe1' g·ives h·im ha(f o.f the money he ha.s; the second b?o·the?· says that if
the eldest wo11ld give him only a thi·rd of his money, he co11ld pay fo1· the
vineya.rd by himself; lastly, the eldest asks fo1· only a fourth of the youngest
lwothet•'.s money to purch1J$e the v·ineyard h·im.self. How much money doe.s
each b1·oth1W h1we?
Problem 11.27. * Three ga:mble?'S play togethe1·; •in. the /i?'st game, playe?'
one loses ·to ·the ·two othe?' playe?'S a sum o.f money equ.a.l to Ut e sum that each
o.f the othet· two playe?'S possesses. In the next game, the second gamble?'
loses to each of the other two M much money as they have al1eady. In the
third game, the /i1·st and second gamblers each ga·in from the third gambler
as much money as they had be.fo?'e. At ·that rnornent they stop theit· play to
discove?' that ·they all possess the equal sum of 24 c?owns each. How mttch
nwney does ea.ch gctmble·r )Jossess when they fi·rst begin to plcty?
APPENDIX A
Method of continued fractions for solving Pell's equation
In this book Pell's equation appears in several tasks studied by great
mathema.ticiaus. To clarify the presentation of solutions of t hese tasks, we
give in the sequel an a.ppendix which presents a procedure for solving Pell's
•) ?
.lily = 1,
where N is a. natural number which is not a perfect square. For more deta.i!s
see, e.g. , Davenport's book [45J. Since the described method uses t he con
vergent s of a continued fraction of ..fN, let us recall first a basic fa.ct from
the theory of continued fra.ctions.
The expression of the form
bl
a.o + '.b
2
a.l + '•tJ3 
(L2 + _ __;:__
a3 + .. ·
is ca.Ued a cont·i nued fmction a.nd ca.n be written in the short form
bz b3 ... ]
'a'a ' a ' ·
l 2 3
(A.l)
In pa.rticula.r, if b
1
notation is used:
· · · = b., = · · · = 1, then the following simpler
[ao; a.l, az,O.g, . .. ].
Let us consider a sequence of continued fractions which is obtained fTorn
(A.l) ta.king a finite number of its terms, and set
Ck = Qpk = [ao; bz , .. . bk ] .
k a1 az ak
The ratio Ck is called t he k con'Ue'l'gent a.nd t he li mi t
c = lim ck,
k+oo
if it exists, is the value of the continued fraction (A.l).
289
290 SOLVING PELL'S EQUATION
Ta.k..ing
Po = ao , Qo = 1, P1 = 0, Q1 = 0,
by induction one can prove the following recurrence relations for Pk and Qk:
Pk = a.kPk 1 + bkPk b
Qk = akQk 1 + bkQk 2·
(A.2)
These relat.ions are known as Euler's formulae. Let us note that Pk and Qk
are two solutions of the difference equation
(A.3)
Let L n J denote the integer pa.rt of a number n. If qo is the integer part
of .JN (tba.t is, q
0
= L .JN J), then it can be shown (see 145]) that the
continued fra.ction for .JN + q
0
is purely periodic and has the form
Hence, the continued fraction for IFf is of the form
where the over line poi nts to the period. The period begins immediately aft.er
the first term qo. In addition, the following is valid:
Hence, we have
IN = [ qo; q1, fJz , . .. , q2 , fJ1 , 2qo] ·
The symmetric pa.rt may or may not have a central term.
The development of .JN into a conti nued fTaction is easy to realize by
implementing the fo llowing simple procedure:
1° k = 0, Ak = Jlii, qk = L Ak J;
2° k := k + 1, Ak = 1/ (Ak l  fJk  1), Qk = L Ak J;
3° If qk = 2q
0
, tben STOP; otherwise, go to step 2°.
For example, using the a.bove procedure, we find that
v'l9 = [4; 2, 1, 3, 1, z, s]
SOLVING PELL'S EQUATION 291
wi th the central term 3, a.nd
J29 = [5;2,1, 1,2,10]
without a central term.
Now we ma.y present a. method for solving Pell's equation. Let A,..f Bn
be t he convergent coming before the term 2q
0
in the continued fraction for
.JN, that is,
A,. [ ]
B
= qo;q1,q2,· ·· , q, ·
"
It is not difficult to prove that A,, and B"' sa.tisfy the relation
A
2
 NB
2
= (  1)"
1
Q .
Hence, if n is odd, x = A,.. a.nd y = B,.. are solutions of Pell's equa.tion. If
n is even, we continue searching for the convergent unt il the end of the next
period A2n+1/ Bz,.+l,
A2·n+ I
B2n+1
In this case we have
A
2 AfB2 ( )2"
2n+ l " 2n+ l = 1 = 1
and we take x = A2n+ l and y = B2n+ 1 for the solutions of Pell's equa.tion.
We recaJJ t bat the nurnerator and denominator of t be convergents A • .; Bn
and A
2
.,.+1f B
2
n+l can be found using Euler's recurrence relations
A,.n. = CJnt. A?n l + A ·m2:
B,n = q.,.. Bm 1 + B,,  2,
(m = l , 2, . . . )
starting with Ao = qo, Bo = 1, A1 = 0, B1 = 0 (see (A.2)). Below we
give a program written in t he Mathemat'i.ca for finding t he least solutions of
Pell's equation x
2
 ny
2
= 1; n can take a.rbitrary values (odd and even)
from the set of natural numbers that are not perfect squa.res.
Pel [n ] :
Modul e[{k = 1, A= Sqrt [n), a, vek , ok, kk, m, i ,
a1, b1, a2, b2, a3, b3} ,
a= IntegerPart [A] ; vek[k] = a· ok
'
= True;
292 SOLVING P ELL'S EQUATION
While[ok,
vek[k] =
kk = k 
k++; A = 1/(A a); a = IntegerPart[A] ;
= vek[k] < 2 vek[1] ] ; a · ok
'
1; m = k  2 Int egerPart [k/ 2] ;
I f [m < 1, Do [vek [k + i ] = vek[1 + i ] ,
kk = (k 1) (2 m); a1 = vek [1]; b1
a2 = a1 vek[2] + 1; b2 = vek[2] ;
i , k  2] ] ;
= 1.
'
Do[a3 = vek[i]*a2 + a1; b3 = vek[i ]*b2 + b1 ;
a1 = a2; b1
{a2 , b2} ]
= b2· a2 = a3·
' '
b2 = b3, {i , 3 , kk} ] ;
Solving Pell's equation
 ny
2
specific value of n.
= l is executed by calling Pe l [n ] for a.
We note that from one solution of Pell's equation :c
2
 Dy
2
= ±1, an
infinite number of sol utions may be found. If p and q a re t he least values
satisfying the equation x
2
 Dy
2
= 1, then
which leads to the factorization
Equat ing the factors with the same sign, we obta.in
1; + vv'T5 = (1' + qJl5)" ,
X  y,fjj = (p q,fJ5)".
Solvi ng for x llJl d y we get the genera l formulae:
(p + q/]5)n  (p  q/15)"
y = 2/D
Taking n = 1, 2, 3, .. . we obtain an infinite number of solutions.
(A.4)
(A.5)
Ba.sic fa.cts from the theory of difference equa.tions (see Appendix D) indi
cate that formulae (A.4) and (A.5) present a general solution of a. difference
equation (with different initial conditions), whose characteristic equat ion has
the roots
7.1 = p + qJD, 1.2 = p  qJD.
GEOMETRICAL I NVERSION
Therefore, t his equat ion reads (1·  ·r
1
)('r  1·
2
) = 0, tha.t is,
r
2
 2JJT + p
2
 q
2
D = 0.
293
Hence, the difference equation, associated with Pell's equation x
2
 Dy
2
= 1,
has the form
Yn+2  2py,.,+J. + (r}  q
2
D)y,. = 0. (A.6)
Formula (A.4) is obtained for the initial va.lues Yo = 1, Yt = p, whi le (A.5)
a.rises for Yo = 0, Y1 = q.
APPENDIX B
Geometrical inversion
Below we give a review of the ba.si c properties of inversion necessaJ·y for
solving the arbelos problem (page 68). For more deta.ils see, e.g., Coxeter's
book Int?'Oduction ·to Geometry [43, Ch. 6].
Given a fixed circle with center I a.nd radius p (Figure B. l(a)) , we define
the invet'se of any point A (distinct from I) as the point A' on the straight
line I A whose distance from I satisfies t he equa.t ion
IIAI· IIA'I = p
2
•
The circle centered at I (the cente•t of inve1'sion) and wi t h ra,di us pis caJled
the ci1cle of ·inve7'sion.
A'
a) b)
FIGURE B. l. Inverse of circles a nd st n•ight lines
294 BASIC FACTS FROM GRAPH THEORY
To find t he inverse of a given point A outside the circle of inversion, let us
construct t he semicircle on I A as diameter. If T is the poi nt of intersection
of t his semicircle and the circle of inversion, then the desi red point .4' is t he
foot of t he perpendicular from T to /.4 (see Figure B.l (a)). Indeed, since
the right tria.ngles 6/T A and 6! A'T aJ·e similar a.nd liT I = p, we obtain
II A' I
liT I
liT I
II AI)
whence II A' I · II AI = IITI
2
= l.
It follows from the definition that the inverse of A' is A itself.
From t be definition of inversion, t he following properties follow:
(1) The straight line (circle) through the pair of associated points A and
A' inverts into itself and represents a. foxed line (circle) of inversion (for
example, the st raight line /A and the ci rcle 7 in Figure B.l(a)).
(2) Every circle orthogonal to the circle of inversion inverts into itself.
(3) All points belonging t,o the circle of inversion are fixed a.nd inva.ria.ble.
Accordingly, the circle of inversion inverts into itself.
(4) Any straight line not passing through the center of inversion I inverts
into a circle through I , a nd vice versa; a circle through I inverts into a
straight line not passing through I . For example, t he circle centered at 0
that passes through the center of inversion I inverts into the straight line
A' P' as in Figure B.l(b).
(5) The inverse of any circle not passing through the center of inversion I is
a.nother circle that also does not pass t hrough I.
(6) Inversion preserves a.ngles between curves, although it reverses the sense
of the angles, a.nd hence it preserves tangenc:y of curves.
APPENDIX C
Some basic facts from graph theory
In graph theory a graph is defined as any set of points, some of which
are connected by line segments. The poi nts are called vertices or nodes of
tbe graph (e.g. , the points A, B, C, D, E in Figure C.l(a)) , a.nd the lines
are called its edges. The line segment that joins two adjacent vert ices is
incidental for these two vertices. A graph that has no selfloops, (that is,
lines joining a point to itself, for instance,,\ and 7 as in Figure C.l(b) and
C. l (d)) and no multiple edges of two or more lines connecting the same
BASIC FACTS F'ROI\1 CRAPII THEORY 295
pair of points, is a szmple graph (Figure C.l(a)), otherwise it is a multigmph
(Figure C.l(b}).
A
B
a) Simple graph
Ks
c) Complete graph
11 =4
• •
b) Multigraph
d) Digraph
• •
c) Tree
FIGURE C. I. Vari011s types of graphs
Th<' degree of a vertex is the numb<'f of edges that are connrcted to tbis
v<•rlrx. counting sdfloop and parallrl I in('s. The degree of a vcrtrx, say a, is
d<•notcd by deg(n). For rxample, the degrees of the vertices in Figurr C.l (a)
arc dcg(A} = 2, deg(B) = 4, deg(C) = 2, dcg(D) = 3. deg(E) = 1. A
graph is ·reg·ula·r if all iLs vert ices have Lhc same degree (as the one shown in
Pigme C.l(c)). A wrlrx of a graph havi11g a11 odd degree is called an odd
V<'l'l<'X. A vertt•x having an even degree is called an evert vcrt<•x. Since the
sum of several int<•grrs is even if and only if thr number of odd addrnds is
<•vrn, it follows that the number of odd vertices iu any graph must be even.
A graph is called com1Pcfed if any two of its vertices are connected by a
palh (a sequence of edges, each of which st.arts at t he endpoint of the previous
011<'). A clo::;cd pall•. n path whose starling a.nd ending vert ices coincide, is
296 LINEAR DIFFERENCE EQUATIONS
ca.Jied a. cycle. A gra.ph consisting of n verti ces is cornplet e (denoted by I<,.)
if ea.c:b vertex is connected wit h a ll n  1 remaining vertices, tha.t is, if any
two vertices are adjacent . Figure C.l(c) shows a. complete graph K
5
.
A connected gra.ph t hat does not contain any cycle is called tree. The
tree contains exactly n  1 edges. T he two trees for n = 4 are displayed in
Figure C.l(e).
If an arrowhead is added to each edge of a graph, determining a direction
for each line that orders its endpoints, t he graph becomes a di.1eC'ted graph,
or briefly digmph. Figure C. l (d) shows a digra.ph.
APPENDIX D
Linear difference equations with constant coefficients
A linea·r diffe·rence eqtwtion of o·rde1· n with constant coefficients is a re
currence rela.t ion having the form
etoY n+k + Ctt)l n+k1 + · · · + a,,)Jk = f(k) ,
(D.l)
where ao :/: 0 and ao, a.
1
, .. . , a,. 1ne all real consta.nts. If ! ( k) = 0, then we
have the hornogen01lS L·inem· di.ffer'lmce equ<ttion
(D.2)
Assume t ba.t Yk = r·k is a solut ion of (D.2). Then, upon substitution we
obta.in
or
Tk(a
0
1·" + a11'" 
1
+ ·· · + a . ., ) = 0.
Hence it follows that !'k is a solution of (D.2} if 7' is a solution of
n n  l 0
aor + a
1
1· +··· +a, = , (D.3}
which is called t he chamcte'l'istic equation. This equation has n root s
1"1> r
2
, ... , 1·,. which ma.y or ma.y not be different . Also, some conjugate
complex numbers may occur among these roots.
Vve restrict our attent ion to the case w heu ·r
1
, .. . , r·,. a.re a.U reaJ a.nd
distinc:t roots of t he equa.tion (0.3). Then one can prove that the general
solution of t he difference equation (D.2} is
(D.4}
L INEAR DIFFERENCE EQUATIONS 297
where c
1
, c
2
, . .. , c, are real co.nsta.nts. T bese constaJ1tS ca.n be determined
if t he initial conditions of the form Yo = A.o, Y1 = A, , ... , Yn 1 = A,. 1 are
known. T hen we put k = 0, 1, ... , n  1 in (D.4) and obtain a system of
linear equa.tions
c
1
+ c
2
+ · · · + c,. = Ao
c1r1 + Czrz + · · · + c,,r.,. = A.1
C
·r·" 
1
+ c 1·"
1
+ · · · + c .,.n l  A
1 1 2 2 n n  n1
whose solutions are t he constants c1 , c2 , ... , c, .
As an example, let consider the linear homogenous difference equation
of the second order,
Yn+2  1J,.+l  Y·n = 0,
(D.5)
wit h the initial condition Yt = 1, '!12 = 1. From the above recurrence relation
it follows t hat a.ny t,erm of t he sequence y
3
, y
4
, y
5
, ... is equa.l to the sum
of t he two previous t,erms. Substituting Yk = .,.k in (D.5) we get
After dividing with r" one obt.ains the ch<Lmcte?'i$tic equation
r·
2
 r 1 = 0
of the difference equation (D.5) with rea.! solutions
1 1
7'
1
=
2
( 1 + 15) and 7'2 =
2
(115) .
Now the general solution of (D.5) is given by
(
1+v'5) k (lv'5) k
1/k = A1·r + B1·; = A
2
+ B
2
,
where A and B are constants which can be determined from the initial
conditions y
1
= 1, y
2
= 1. These conditions lead to the syst.em of two linea.r
equat ions in A and B with solutions A = 1/ J5, B =  l/v'5 giving the
explicit formula
'1. =.2... [(l +J5) k  (l  J5)k]
Yk J5 2 2 ,
(D.6)
for any term from the sequence {yk} . Let us recall that the difference equa
tion (D.5) de6nes the wellknown .Fibona.cci sequence 1, 1, 2, 3, 5, 8, 13, .. . .
The kt h term of t bis sequence ca.n be obtajned direct ly from the explicit for
mula (D.6}.
BIOGRAPHIES  A CHRONOLOGICAL ORDER
Al'chimedes . Bor n ca. 287 B.C. , Syracuse, Sicily, died ca. 212 B.C. , Syracuse.
Considered one of the greatest m<t.thematicians of all times, Archimedes received
his education in Alexandr ia. His remarkable achievements in pure and applied
mathematics, physics, and mecha nics include t he method of exhaust ion (the early
form of integration), geometrical solut ion to t he cubic equation, the quadrattue
of t he parabola, and t he famous pr inci ple named a fter h im. Legend has it that a
Roman soldier attacked Arclriroedes wit h his s word while th e h<t,t:er was imrJl ersed
in solvi_ng <J. geometrical problem, illustra.ting t he clas,sic example of brute force
and ignorance triumphing over i.ntellect and nobility of spuit .
He r on of Alexandria. Born ca. 10 A.D. , Alexandria, d ied ca. 75 A.D. Some
histor ians, however, suggest that t he dates ca. 65 A.D. ca. 125 A.D. more closely
match his lifetime. Best known for the pneumatica.l device commonly known as
Heron's fount ain and the formulaS = J s(s  a.)(s b)(s c) for the area. of a.
triangle, Heron invented a s imple form of the steam engi ne and wwte on pneumat
ics, dioptrics, mechanics, geometry and mensuration. He also derived an iterat ive
method Xn+ l = .. + (LjX, for approximating the square root of a number a,
although the Babylonians already kn ew of this method some 2000 years before.
Diophantus of Alexandria. Born C<L. 200 died ca. 284. One of ancient Greece's
most celebrated mat hematicians, Diophantus intwduced improved algebraic nota
t ion a nd worked on numerical solut ions of det;n·mi nate and indete1·minat:e equa
t ions. His most important work, Arithmetica, collects about 130 problems from
t his field. Indetermi nate algebraic problems, where one must find only the rational
solut ions, have known liS (lio7>hantme prob/.ern.9.
Bra hmag u pta. Bom ca. 598died ca. 670. A proiJlinent seventhcentury
Hiodu mathematician, Bnrbm<J.gupbJ. wrote his major work on astronomy, Bmhma
sphuta.sidd'hiinta (Correct astronomical syst em of Bralun a) in 628. The book
contai ned 21 chapters , incl uding two chapters deali ng wit h mat hematics. Brah
ma.gupta. succeeded in solving the indet erminate linear equation ax+by = c in inte
gers and a L;o solving some s pecial cases of the socalled Pel! equation y
2
= Ax
2
+ l ,
using methods rediscovered seve•·al cent uries later.
A lcuin o f York. Born 735, York, d ied 804, Toms, Ftance. T he head master at
York, one of t,he most import,aot centers of lea rni ng in Europe, A leu in lat:er became
t he abbot at Tours. He wrote elementary texts on arithmetic, geometry, and
astronomy. Known as a n historian, A leu in also collected puz.zles and mat hematical
recreiltion problems .
299
300 B IOGRAPHIES
Maha vira Bon1 CfJ •. 800, Mysore, [ndia, died ca. 870. He wrote t he only
known book, Gan·it<• Sam S<mgmha, to update the work of Brahmagupta, t he
seventhcent ury Indian mathematician, providing s ignifican t simplifi cations and
explanat ions in greater detail of Brahmagupta.'s text . . Mahavira examined methods
of squari ng numbers, operations with fractions and discussed integer solut ions of
fu·st degree indet erminate equations. He was the first to give au explicit algorit lun
for calculating the nutnber of combinations.
T a bit ibn Qon a . Born 826, Harran, Turkey, died 901, Baghdad. The A,·a
bian mathematician, astronomer , physician and philosopher ibn Qorm moved to
Ba.ghdacl in about 870 where he became a great scholar. He translated Euclid's
Elements into Arabi<U1 and w1·ote a commenta,ry ou t his famous work. He solved
algebraic equations and studied munber t heory and tr igonomet ry problems.
Ab u' lWafa. Born 940died 998. A famous Persian astronomer, algebntist and
t rigonometer who invest igated the moon's orbit a nd wrote, 1'heo1·y of the A1'oon;
he translated one of the last great classic.s, t he A , .. ithmetica by Diophantus, from
Greek. However , Abu'lWafa is best known for t he first use of the tan function as
well as introducing t he sec and cosec {reciprocals of cos and sin). Abu'lWafa de
rived a uew method of calculati ng sin tables. His t rigouometric tables Me accurate
to 8 deci ma.l plac:es!
Ibn a l Hayt ham. Boro 965, Bas n>, Iraq, died 1039, Cairo, Egypt. Alt.bough
born in Basra, Alhazen, as be is known in Europe, spent most of Ills life in
Egypt. One of is lam's most illust rious scientist s, his opus magnus, l<it(tltz (Optics)
fi lls seven books. After its transla.tion into La.ti.n, it greatly influenced European
thought for several centuries t hereafter. Albazen solved numerous problems re
lated t.o a variety of reflecting surfaces successfull y using elementary and advanced
geomet ,·y of the Greeks.
Bhas kar a . Born 1114died 1185. A promi nent twelfthcentury Hi ndu mat he
matician a nd astronomer, Baskara spent most of his life at the astronomical obser
vatory in Ujj ain where be wrote, Siddhiinta.§·i•·omani, a major work on astronomy.
Bhaskara also wrote mathematical works oo arithmetic, Liliivati and on a lgebra,
These books contain a number of problems dea.Ung wit h determi nate
and indet erminate linear and quadratic equations, arit hmetic and geometric pro
gressions, t l·iads, and other problems.
Leonard o Pisano (F ibona cci). Born 1170, Pisa'/, Italy, died 1250. Al
though born in Italy, Fibonacci, known also as Leonardo de Pisano or Leonardo
of Pisa., received his education in North Africa. The Midclle Ages' greatest and
most product ive mathemat ician, a fter travel ing extensively, he w1·ote TAber Abac·i
{The Book of t he Abacus), iu which he treats <u·ith metic and eler.oentary a lgebnt in
1202. This book played a n important role in the in tl'Oduct.ion of the HinduArabic
placeval ued decimal system and Ar abic numer als in to Europe.
Yang Hui. Born ca. 1238 died ca. 1298. Hui, who lived in south China under
the Song dynasty, wrote two books Xia.ngjie Ji•Mhang S1w.nja {A Detailed Am> lysis
BIOGRAPHIES 301
of AdthmeUcal Rules in Niue Se<!tious) (1261) aud Yang Hui (Yang Hoi's
Met hods of Computation) (1275). He made contributions mainly in the form of
reports on the work of au eleventhcentury Chinese mat hemat.ician, Jia Xian, who
gave a method for the calculation of square and cubic roots to higher roots us ing
what the \.Vest knows as Pascal's triangle. Hui also wrote on multiplication and
division as well as mathematical educat ion.
Nicolas Oresme. Born 1323'?, Normandy, France, d ied 1382, Lisieux. A
French cleric, scholar, a nd one of the greatest mathematicians of the fourteenth
century, Oresme was a professor in the College de Navarre of the University of Paris
(1355), dean of Rouen (1361) and bishop of Lisieux (1377). He wrote five mathe
matical WOl·ks a nd translated Aristotle's De Goelo et Mundo. The first known use
of fractional exponents appears iu bis tract Prormr·tionum .. Orestne's
Tractatus de Uniform.itate, which may have influenced Descartes, anticipated co
ordinate geomet ry by using two coordinates to locate points.
Johann Muller. Born .June 6, 1436, Konigsberg, died .July, 1476, Rome. Bet
ter known as R egiomontanus, the Latin translation of his birthplace, I<linigsberg
(king's mountai n). Art iofluerttial mathematician, bis greatest work, Detriang!£lis
Omnimodis (On Triangles of Every Kind) contained important results devoted to
plane and spherical trigonometry. Regiomontanus composed an extensive t able of
s ines with t he interval of 1
1
, He t.ranslated Ptolemy's, .4lmagest, as well as works
of Apollonius, Heron, and Archimedes. His death was said to have occuned under
mysterious circumstances
Niccolo Fontana Tartaglia. Bmn 1500, B1·escia, Italy, died December 13,
1557, Venice. One of Italy's greatest mathematicians, as a boy be survived a sabre
attack from which he sutl'ered facial wounds. T he attack resulted in permanent
speech d ifficulties, and gave r ise to t he nickname "Tartaglia," or "the stammerer."
Today, Tartaglia is best remembered for his formula to solve cubic equations,
the CardanoTartaglia formu la. In addit ion to bei ng the first to describe new
ballistic methods in art illery science, includi ng the first fi ring tables, Tal'taglia also
publ ished edit ions of Euclid a nd Archimedes.
Gerolamo Cardano. Born September 24, 1501, Pavia, Italy, died September
21, 1576, Rome. Immensely talented and versatile, Gerolamo Cardano worked as
a physician, mat hematician, physicist, astronomer, astrologer, a professor at the
University of Bologna. His most important mat hematical work A1·.s Mllgn<i (The
Great Art, 1545), one of the most inllueotial books in mat hematics of his century,
contai ns the formula providing t he solution of the cubic equation, today known as
t he Cardano Tat·taglia formu la.
R obert Recorde. Born 1510, Tenby, Wales, died 1558, London. A highly
influential writer of textbooks in sixteenthcentmy England, Recorde studied
medicine at Oxford and Cambridge and taught private classes in mathematics at
both institutions . After leaving Cambridge, Recorde served as a physician to Ed
ward VI and Queen Mary. He wrote at least. five books (one of t hem, The G•·o·und
of Artes, had more than 28 editions) on mathematics, astronomy and medicine.
302 BIOGRAPHIES
His book The Whetstone of Whitt e, p ublisl1ed in 1557, was the first major English
resource on algebra.
Ftanc;o is Viete. Born 1540, FontelayleComte, France, died December 13,
1603, Paris . Educated as a lawyer , Viete achieved pt·ominence in a diplomatic ca
reer, serving as a parl iamentary councilor a nd as t he king's confidante. Viete, also
a gifted mathematician , made valuable and significant contributions in geometry,
arit hmetic, algebta, and trigonometry. He introduced the fi r·st systematic algel)l'aic
notat.ion in his book, In A1·tem Analytico.m lsagoge (1591), using symbols + (plus)
and  (minus), and letters as symbols for quantities, both !mown a nd un.known.
Johannes Kepler. Born December 27, 1571, 'Neil der Stadt, Germany, died
November 15, 1639, Regensbmg. The great German scientist Johannes Kepler is
chiefl y known in the fi eld of astronomy, alt hough he made important contribu
t ions to ma.tl1e.ruatics and optics . KepleJ" ma.de s ignifi cant adv<tnces in t he use of
infinitesimals in geometry a nd <l.Stronomy, and d id important work on polyhedra.
(1619). He also studied t he problem of fi lling spaces wit.h regular polyhedra and
spheres. Kepler's monumental d iscovery t hat t he planets move around t he s un in
ell iptical orbits with t he sun as their focus , as well as his formulation of tho t hree
mathematical laws of planetary motion, helped enormously to advance scientific
thought .
Claude Gaspar Bachet , S ie w· d e Mezil'iac. Bom October 9, 1581, Bourg
enBresse, France, died February 26, 1638. A mathematician, philosopher, theolo
gian, and poet, Bachet made in itial steps in number theory even before Fermat.
Bach et a uthored such classic books on mat hematical recreations such as Problems
et (1612, 1624). He also achieved renown for his L<tt in t,rans
htion of Diopha ntus' Greek text, Arithm.etica. {1621).
R e ne Descar t e s . Born March 31, 1596, LaHaye (s ince renamed Descartes),
France, died February 11, 1650, Stockhohn, Sweden. Al though an insightful phi
losopher, Descartes' achievements in mathematics, especially his masterpiece La
Geornet1··ie in which he uni fi ed algebra and geometry, have assured his place in his
tory. By t.hus unifying them, he created a new mathematical discipline, analytical
geomet1·y, one that represented a turning point. and an ext.remely powerful point
of departtue t.o fm ther t he advancement of mathematics and natural sciences.
fVIany mathematical terms test ify to his influence: Cartesian product, Cartesian
coordinates, Cartesian coordinate system.
Bonaventura Cavalie ri. Born 1598, Milan, Italy, died November 30, 1647,
Bologna. An influential seventeenthcen t ury math ematiciao, Cavalied was a d is
ciple of Galileo and a professor of mathematics a.t the University of Bologn;J, from
1629 until his death. He has largely gained recognition for introducing Italy to
logarithms as a computational tool. Cavalieri wrote on mathematics, optics, as
tronomy, and astrology, however , he also laid t he groundwork for integral calculus .
In his Geometric. indivisiblis continuorum nova (1635), Cavalieri elaborated his
principle of i11div·isibles, a kind of crude calculus and used it in the computation of
arens and vohtn1es.
BIOGRAPHIES 303
Pierre d e Fermat. Born August 17, 1.601. , Be<tumontdeLomagne, France,
died January 12, 1665, Castres. A lawyer by training and vocation, Fermat made
great d iscoveries in mathematics; he was a pioneer in t he development. of differential
calculus, number t heory, and, with Pascal, probability t heory. His method for
finding t he extremes of a function represents his most important contribution.
Fermat's conj ecture t hat no integral values of x, y, z can be found to satisfy t.he
equa.l:ion x"+y" = z""" ifn is an integer greater tha.o 2, is probably the bestknown
problem in the entire history of mathematics.
Evangelista Torricelli . Born October 15, 1608, Italy, died October
25, 1647, Florence, Italy. Torricelli collaborated with GaUleo and be.;;ame his suc
cessor as court mathematician to the Grand Duke of Thscany. f\·1ost famous for
his d iscover ies in pltysics, e.g. , l:he inveotioo of tl1e barometer, accelerat.ion due
to gravity, the mot ion of fluids, and the theory of projectiles, Torricelli also took
great interest in mathematics. Early on, he made use of infinitesimal methods
(the tangent method), squared the cycloid and found the length of an arc of the
logarithmic spiral.
B laise Pascal. Born J tme 19, 1623, ClermontFerrand, died August 19,
1662, Paris. As a young man Pascal produced important theorems in projective
geomet ry, and by t he age of 22 he had invent ed the first calculati ng machine.
P:.tscal laid the foundations for the theory of probabili ty in his correspondence
with Fermat. Through his investigations of the action of fluids s ubj ected to ai r
pressure, he gained himself a reputation as a physicist. Pascal a lso worked on the
triangular arrangement of the coellicieuts or the powers of a binomial (Pascal's
Triangle). Although he was one of the most t alented mathematicians ever, at the
age of twenty five he suddenly abandoned scientific work to devote his life to the
study of philosophy a.nd religion.
Christiaan Huygens. Bom April 14, 1629, The Hague, Netherlands, died
July 8, 1695, The Hague. Chiefly recognized as the inventor of t he penduhun
clock (1656) , the Jaw of fall ing bodies and the wave theory of light, Huygens was
one of the world greatest physicists. He also developed a n internat ional reputat ion
io m.ecl•a.nics and astronomy for his detect ion of the first moon of Saturn in 1655.
In mathematics he introduced t he notion of evolutes and involutes; WTOte on the
log:uithmic curve and probability; proved t hat the cycloid is a tautochronous curve
and significant contribut ions in the application of mat hematics to phys ics.
Huygens was a member of t he London Royal Society.
Seki Shins uke Kowa, or Takakazu. Born 1642, Fujioka, .Japan, d ied Octo
ber 2<1, 1708. Seki Kowa is rightly celebrated not only as the greatest Japanese
mat,hematicia n of l:he seve nteenth cent ury, but as one of J apan's g•·eatest math
erna.tici:J.ns ever. He systematized and improved :J.!rea.dy known methods such as
the Chinese method of solvi ng higher order equations and the early Chinese use
of determinants in solving s imultaneous equations, t hus anticipating Leibniz' s d is
covery. Seki I<owa's reputat ion as a g•·e;'l.t, teacher won him nurnerous pupils. Aside
from mathematics Seki Kowa demonstrated a keen ability and ingenuity in me
chanics. Excelling in the affairs of life in genera.!, he became a Shogun samurai
serving as master of ceremonies to Shogun Koshu.
304 BIOGRAPHIES
I saac Newton. Born J a nuaq• 4, 1643, Woolstho•·pe, England, died March 31,
1727, London. Some consider Newton to be t he great est scient ist who ever lived.
He made revolutionary advances in mat hematics, physics, mechanics, opt ics, and
astronomy. Published in 1687, his Ph.ilosophiae Nat"ll.ralis Principia M.ath.ema.t·ica,
in which be stat ed t he la.ws of motion and the law of gravitation is probably
the most monument al work in the whole history of science. Newton originated
d ifferential and integral calculus, several years before made his independent
discovery of it . From 1703 until his death Newton was the president of t he London
Royal Society.
Da vid Gr egory. Born J une 3, 1659, Aberdeen, Scotland, died October 10,
1708, Mnklenhead, England. A nephew of the emi nent mathe01aticin.n J ames Gre
gory, D<l.vid Gregory started hL5 studies a.t the University of Aberdeen when be was
12 years old! At the a.ge of 24, he was appointed professor a t. the University of Ed
inhmgh, wbel·e he lectured on mathemat ics, mechanics, and hydrostatics. There,
he was the fi.Tst to t each modern Newtonian theories. Receiving support from
Newton, David Gregory was elected professor at Oxford in Hi81 and in t he same
year became a fellow of the Royal Society. He is best known for his expet·iment.s
wit h telesc.opes and work on series and optics.
Ab raha m de Moivre . Bom May 26, :1 667, Vit ryleFran9ois, France, d ied
November 27, 1754, London. De Moi vre spent most of his life in England where he
worked mainly on trigonometry, probabili ty, analyt ic geometry, and the theory of
amt uit ies. The wellknown relat ionship for complex numbers (cos x + i sin x )"' =
cos si o bears bis name. Despite his eminence in the scientific community,
he d id not succeed in obt aining a chair of mat hematics si nce his foreign birth put
him at a d isadvantage. However , be was admit t ed t o membership in t he London
Royal Society and into the academies of Paris and Berlin.
Pie r r e Re mond d e Montmort. Bom Octobe•· 27, 1678, Pa ris, died October
7, 1719, Paris. Montmort lived most of his life on his t>.state, the Chateau de
Montmort, to which be often invited eminent European mathematicians. He wrote
on t he theory of probability, combinatorial problems, and infinite series. ln 1708
de i\'lontruort published an important work on probability, Essay d'a·nalyse sur les
jeux de hazcn·d. He is remembered for his extensive col"l"espondence with many
p•·ominent ruatbemat icinns. De Mout mort was a roe01ber of the London Royal
Society ,..ud the Par is Academie des Sciences.
Nicola us II Be rnoulli. Born 1687, Basel, Switzerland, died 1759, Basel.
The nephew of J acob and J ohann Bernoulli , Nicolaus worked on geometry and
d iffererttial equations as tl1 e appointee to Gali lee's chair at Padua fro01 1717 to
1722. After teac:hing <tt Padua, Nk:olaus II served <ts a professor of logic and later
as a. professor of la.w at t he University of Basel. He made significant contr ibutions
in the s tudy of orthogonal trajectories, differential equat ions, integral calculus, and
p•·obability theory. 13esides edit,ing Jacob Berooull i's complete wo•·ks, Nicolaus II
Bemoulli was elected a member of the Berlin Academy in 1713, a fellow of the
Royal Society of London in 1714, and a member of the Academy of Bologna in
1724.
BIOGRAPHIES 305
Nicolaus III Be rno ulli. Bow .Feb•·utHy 6, Basel, died July 31, 1726, St.
Petersburg. One of three sons of t he outstanding mathematician Johann Bernoulli ,
Nicolaus Ill studied law and became a professor of law at Bem. i n 1725 he and his
younger brother Daniel traveled to St . Petersbmg where t hey accepted positions
as mathematics professors. Nicolaus worked on the geometry of cmves, differential
equations, mechanics and probability, but a promising career was cut short by his
death at: age 31.
Da niel Berno ulli . Born .February 8, 1700, Grouingen, Netherlands, died
March 17, 1782, Basel, Switzerland. Daniel's fat her, t he famous mathematician
J ohann Bernoull i held t he chair of rnat,hematics at the Univel·sity of Basel. Daniel
himself became a professor t he prestigious Academy of Sciences in St. Petersbmg
and later in Basel. He was also a member of the London Royal Society, and the
academi<:>.s of Petersburg, Berlin and P<tris. D. Bernoulli is regarded <ts the founder
of mathematical physics. He made important contr ibutions to hydrodynamics
(Bernoulli 's principle), vibrating systems, the kinetic theory of gases, magnetism,
etc. lrt mathematics, be worked ou d ifferential equat ions, t he t heory of probabil
il:y, series and other topic.s. Daniel Be.rnoulli won t he Gnu1d Prize of the P<tris
Academie of Sciences 10 times for topics in astronomy and nautical sciences.
Gabriel Cramer. Born .July 31, 1704, Geneva, d ied .J anuary 4, 1752, Bagnols
surCze, France. A professor of mat hematics and physics at Geneva, Cmmer
worked on geometry, algebraic curves, analysis and t he history of mathematics.
Cramer is best known for his wo•·k on deteriJlinant,s a nd their use in solving linear
systems of equations (Cn•mer 's rule) .
Leonhard Eule r. Born April 15, 1707, Basel, Switzerland, died September
18, 1783, St. Peters burg. One of t he most outstanding mathematicians of all time,
Leonhard Euler wrote close to 900 scientific papers on algebra, differential equa
tions, power series, special functions, d ifferent ial geometry, number t heory, rational
mecha nics, calculus of variations, music, opt.ics, hydwdynamics, and astwnomy.
He produced almost half of aU his work even after becoming nearly blind. Euler
was a member of the Petersburg Academy of Science and the Berli_n Academy
of Science; as a testament t o his achievements, sevel·al a lgebraic expressions were
n;uned afl:er him.
Alexandre The ophile Vande rmonde . Born February 28, 1735, J>aris , died
J anuary 1, 1796, Paris. Music was the fi rst love of the French mathematician
Vandennonde, and be did not begin his work in mathematics until he was 35
years old. He contributed to the theory of equations and the general t heory of
determinants. Vandennonde also devoted t ime to the mathematical sol ut ion of
the knight's tour problem, and was a rue111ber of tl1e A.cadernie des Scie11<::es at
Paris.
Carl Frie d rich Gauss. Bom Apri130, 1777, Bru11swick, Germany, died Febru
a ry 23, 1855, Gott.i ngen, Germany. Gauss figures among A•·chimedes and Newton
as one of the greatest mathematicians of a.JJ time. He s pent almost forty years
as t he director of t he Gottingen Observatory. Gauss worked on problems in as
tronomy, geodesy, electricity, cel<:>.stial mechanics, and in almost a.JJ of t he leading
306 BIOGRAPHIES
topics in t he fi eld of ma.t hematics: num.beY theory, complex numbeYs, the t;J,eory
of surfaces, congruences, least squares, hyperbolic geometl'y, etc. He was one of
the first to consider t he quest ion of nonEuclidean geometry.
Louis Poinsot. Born J anuary 3, 1777, Paris, France, died December 5, 1859,
Paris. Together with Monge, the French mathemat ician and mechanist Louis
Poinsot was one of the leading French mathematicians in the field of geometry
duri ng the eighteeuth century. He invented geometric mecha nics, which investi
gates the system of forces act ing on a. rigid body. Poinsot also made import ant
contr ibutions in s tatics, dy namics, number t heory (d iophantine equations), and to
the theory of poly hedra. 1n 1816, by the age of thirtynine, be had been elected to
t he Academie des Sciences.
S imeon Poisson. Born .June 27, 1781, Pithiviers, France, d ied April 25, 1840,
Sceaux (nea1· Paris). Poisson published ove1· 300 mathematical works covering a va
d ety of applications from elect d city, elasticity, and magnet ism, to astyonomy. His
most imp01·tant pape1·s treated definite integrals and his own advances in Fourier
series. Poisson also contr ibuted to t he t heory of probability (the Poisson dis tri
but ion), differential equations, sur faces, t he calculus of va riations, and a lgebraic
equations. His name is associated wit h such wide ranging scientific branches as
elasticity (Poisson's rat io); potential theory (Poisson's equation); electricity (Pois
son's constant ) and mathematics (Poisson's integral).
Jakob St e iner. Born l'v1arch 18, 1796, Utzenstorf, Switzerland, died April 1,
1863, Bern. Although t he Swiss mat hematician Steiner did not. leam to read and
write until the a.ge of fourteen, he lat er became a professor of rna.t hematics a.t the
University of Berun in 1834, a post he held unt il his death. Steiner , regarded as
the greatest geometer of modern t imes, wrote a ser ies of prest igious papers on
projective geometry a nd t,he theory or curves and s urfaces of the second degree.
Willia m R owan Ha milton . Born August 4, 1805, Dublin, Ireland, died
Septembe1· 2, 1865, Dublin. A child prodigy who knew 13 foreign languages by
the t ime he was thirteen, H<tmiltou creat:ed a. new a lgebr« u1 1843 by introducing
quaternions, an extension of complex numbers to t hree He devoted 22
years to t he study of quaternions, a nd furthermore, obt ained noteworthy results in
optics, mechanics, calculus or va riat ions, geometry, a lgeb1·a , di fferent ial equations .
Severa.! not:ions in mathematics and mechanics bea.r his rlame. Hamiltorl was a
member of ma ny academies of sciences a nd scienti fi c associations.
Thomas Kir k man . Boro l\·1arch 31, 1806, Boltort, England, d ied Februa ry 4,
189.5, Bowdon. Kirkman served vicar to t he P11rish of Southworth in Lanc<tshu·e
for 52 years, while also dedicating much effort to mat hematics. Although he d id
not take up mathematics until the age of 40, he became an expert in group t heory
a nd combinatorics, working on knot:s. Kirkr:n an gaiued reconition for his work ou
Steiner systems a nd a related topic, t he fifteen schoolgi rls p.oblem. As a result of
his work on t he enumeration of polyhedra, be was named a fellow of t he Royal
Society in 1857.
BIOGRAPHIES 307
.Johann Bene d ict Listing. Born July 25, 1808, Fra.okfur t am Maio, Genoauy,
died December 24, 1882, Gottingen. A German mathematician a nd physicist who
helped to found a new branch of mathematics: topology. He also made an inde
pendent discovery of the properties of the .Mobius band contempora neously with
Mobius. Listing made important observations in meteorology, terrestrial mag
netism, geodesy, and spectroscopy. He introduced such new terms as topology,
entropic phenomena, nodal points, and one micron. TAsting was a member of the
Gottingen Academy and the Royal Society of Edinburgh.
James Joseph Sylvester. Born September :3, 1814, London, died on Ma.rch
15, 1897, London. Together wit h W. R. Hamilton and Arthur Cayley, Sylvester
was one of Britains most promi nent nineteenthcentury mathematicians. He was
a professor at: J ohns Hopkirts Univers it,y in Baltimore, Maryla rtd, from 1877 to
1883, and at Oxford from 1883 to 1893. Sylvester helped to furt her t.he progress
of mathematics in America by founding t he Amer·ican Jountal of Nfathematics in
1878. He performed important work on matrLx t heory, invariants, theoretical and
applied cinema.tics, mathematical physics and higher algebra. Sylvester was the
second president of the London 1"1athematical Society (after de Morgan).
Ar thur Cayley. Born August 16, 1821, Riclunond, Surrey, England, died J a n
ua r·y 26, 1895, Cambr idge. Cayley s pent 14 years as a lawyer devoting his leisure
hours to until 186a when he was a.ppointed professor Cambr idge.
He publis hed over 900 papers coveri ng nearly every aspect of modern mathematics.
Cayley developed the t heory of a lgebraic inval'iance, and worked on problems of
ell iptic fu nctions and nonEuclidean geometry. His development of ndimensional
geometry has been applied in physics to t he study of spacetime continuum, while
his work on mat rices ser ved as t he foundation for quantum mechanics.
Edouard Lucas. Bom April 4, 1842, Amiens, France, died October 3, 1891,
Paris. He worked at the Paris Observatory and as a professor of mat hematics
in Pa ris. He is best known for his results in number theory; in part icular , he
studied t he Fibonacci sequence and t he sequence associated with it and named
for him, the Lucas sequence. Lucas a lso devised the methods of testing primali ty
that esseutiaUy remain those in use today. His four volume work on recreational
mathematics, Recr·eations Mathrfwtiques (1882 94) , attained status as a classic in
its field. While attending a banquet , Lucas was struck on t he cheek by a piece of
glass when a pla.te was dropped. As t he result of this bizarre accident , he died of
erys ipelas a few days later.
Fe rdinand Georg Frobenius. Born October 26, 1849, Charlottenburg, a.
suburb of Berlin, Germany, died August 3, 1917, Berlin. He received his doctorate
io 1870 supervised by \"leierst r·ass a1> t he University of Berl io. Frobenius was
a professor <J.t the Eidgenossische Polytechnikum (now ETH) in Zur ich between
1875 and 1892 a nd then he was a.ppointed professor at the University of Berlin. He
made remarkable contribut ions to differential equations, group theory (part.iculal'ly
io t he representation Hreory of groups), number theory aod the t heory of posit ive
and nonnegative matr ices (Peron Frobenius t heorem). Frobenius was the first
who gave general proof of t he famous Cayley Ha milton t heorem (1878). He was
elected to the Prussian Academy of Sciences in 1892.
30
llJOCRAPIIIES
Frededck Soddy. Born September 2, 1877, Eastbourne, England, died Sep
tember 22, 1956. Brightou. The Britis h physicist aud chemist was a professor at
the of Aberdeen and Oxford. In 1921 , he received the obel Prize in
chemistry for his discovery of isotopes. The Soddy was named
in recognition of his research on radioact.ive decay. Soddy devoted his leisure Lime
to rnat.heruatics and poetry.
John E. Littlewood. Born .Juue 9, 1885, Rochester, England, died September
6. 1977, Cambridge. The English nullbematician J . E. Littlewood was a mathe
matics professor at Trinit.y Colleg<', Cambridge, and was a member of the Royal
Society. lie made distinguished contribut ions to function t heory, nonlinear dif
ferential equations, the t.heory of series, inequali t.ies, the Riemann zeta functiou,
summability, number theory, Tauberian theory, etc. He also gained recognition for
his collaborat.ion with Godfrey H. Hardy. another famous English mathematician.
George P 6lya. Born December 13, 1887, Budapest, died September 7, 1985,
Palo A Ito, CA. P61ya received his doctora te in mathematics from the Universit.y
of Budap<'sL in 1912 aud worked at t.lr e University of Zurich from 1914 unt.il 1940
when he left for America. Aft<'r working at Brown University for two years, he
look an appointment at Stanford until his retirement. P6lya worked in probability
(t heorem of random walks), analysis, uumber theory. geometry, astronomy, com
bi uatorics (enumeration t.heorem), mathematical physics, and other matters. He
jointly published a famous monograph Inequalities with Hardy and Littlewood in
1934. P61ya is widely known for his contributions to mathematical teaching. The
first edition of his book 1/ow to Solvr ft. published in 1945, sold over one million
copies.
Srinivas a Ramanujan. 13orn December 22, 1887, Erode, Tamil Nadu state,
India, di ed April 26, 1920, I<umbakonam. The story of this Indian mathematician
who died ala very young age makes for some extremely compelling reading. A self
mathemat.ical genius, Ramanuj an demonstrated an uncanny and amazing
abi li ty for intuitive reasoning and stati ug fascinating number relations. The out
standing Brit. islr number t heorist G. II. Hardy observed his work and brought. him
to Englaud to study at Cambridge University. Hardy and Ramauujan c<rautlrored
seven remarkable mathematical papers. Ramanujan made important contributions
to the analytic t heory of numbers, ellipt ic integrals. hypergeometric series, contin
ued fractions, and infinite lie was elected a fellow of the Royal Society in
I !J 18.
Abram Besicovitch. Born Janua.ry 24, 1891 , Berdyansk, Russia, died Novem
ber 2. 1970. Cambridge, England. li e 8tudicd and worked in St . Petersburg until
the mid1920s when he escaped from Russia and made his way to Copenhagen.
lie later worked at Trinit.y College. Ca111bridge, where he spent over 40 years of his
life. He made important. contributi ons to periodic functions, the classical Lheory
of real ftmrtions, fractal geomet ry, nwasur e theory, etc. Besicovitch was elected a
fellow of the Royal Society in 1934.
Stephen Banach. Born March 30, 1892, I<rak6w, Poland, died August 31,
1945, Lvov, Ukraine. T he Polish ma.t hcmatician Stefan Banach aLt.ended school
BIOGRAPHIES 309
in I<ra k6w, but be received his doctora.te in tl1e Ukrainian city of J.,vov, where
he lectured at the Institute of Technolog;y and at the University of Lvov. Banach
founded modern functional analysis and made major contributions to t he theory of
topological vector spaces, measure t heory, integrat ion, and orthogonal series. Ba
nach literally left his signature on mathematics wit h t heorems and concepts such as
Banach s pace, Banach algebra, t he Hahn Banach theorem, t he Banach Steinhaus
theorem, the Banach fix.edpoint t;heorem, <t nd the Banach Tarski. paradox. Ba
nach's most important work is t he Theorie des Operations Lineaires (19a2).
Paul Dirac. Born August 8, 1902, Br istol, England, died October 20, 1984,
Tallahassee, FL. The English physicist and mathematician Paul Dirac played a
huge role in the creation of quantum rnecln•nics and quant um electrodynamics; in
the words of Silvan Schweber, he was "one of the principal architects of quantum
fi eld t heory". Dirac was appointed Lucasian professor of mathematics at the Uni
versity of Cambridge i.u 1932, a post he held for 37 years . He began his research in
the field of quantum theory in 1925, a nd five years later he published The princi
ples of quantum mechanics, for which he was awarded the Nobel Prize for physics
in 1933. He w<JS made a fellow of t,be Royal Society in 1930.
John von Neumann. Born December 28, 1903, Budapest, Hungary, died
February 8, 1957, Washington, D. C. Von Nemnann, regarded as one of the
twentiethcentury's most illustrious mathematicians began his scientific work in
Budapest, moved on to Berl io aod Hamburg, artd from 1930, continued his career
in the United States. He contributed substantially to set theory, quantum physics,
functional analysis, operator theory, logic, meteorology, probability, among other
t hings. He laid the foundations for ma.thematical game theory and applied it to
economtcs. Von Neumann also played a part in developing highspeed computing
machines.
Richard Rado. Born April 28, 1906, Berlin, died December 23, 1989, Henley
onTh<Jmes, England. Rado studied a.t t he University of Berlin where he completed
his doctoral dissertation in 1933. When t he Nazis came to power i.n 1933, Rado,
being J ewis h, could not secure a teachi ng position, and so left Germany wit h his
faro ily for .Etrgland. Rado held var ious appointments as professor· of mat:heroatics
at Sheffield, Cambr idge, London, and Read ing. He carried out important work
in combinatorics, convergence of sequences a nd series. In addition, Rado studied
inequalities, geometry, and measure theory. In the field of graph theory, he worked
on infinit e graphs and hypergraphs.
H aro ld Scott MacDonald Coxeter. Born February 9, 1907, London, Eng
laud, d ied Marcl1 31, 2003, Toronto, always known as Donald, fr·om the t:hi rd name
M<J.cDonald. He recei ved his graduate diploma and doctorate (1931) a.t the Univer
sity of Cambridge. Coxeter became a. professor of mathemat ics at t he University
of Toronto (1936), a post he held unt il his death. He is best knO'IV11 for his work
iu geometry. He made s ignifi ca nt, contribution in t he t heory of polytopes, non
Euclidean geometry, combinatorics and group theory (Coxeter groups). Coxeter
wrote several very influent ial books and revised and updated Rouse Ball's Mathe
mat·ical Recreations and Essays (1938). He received nine honormy doctonJ.tes <Jnd
310 BIOGRAPHIES
w<JS a fellow of the Royal Society of J.,on.don and a. fellow of the Roy<tl Society of
Canada.
P a ul Erdos. Born March 26, 1913, Budapest, died September 20, 1996, ·war
saw, Poland. The Hungarian mathematician Paul Erdos st udied at the University
of Budapest, and received his doctorate there in 1934. He continued his career in
England, t.he United States , and Israel. A giant among twentiethcentury mathe
maticians, Erdos contributed s ignifi cantly to number theory, combi natorial anal
ysis, and d iscrete He loved to pose and solve problems that were
beautiful, simple to understand, yet very difficult to solve. Erdos wrote proufically
and p ublis hed some 1475 papers.
R oge r Penrose. Born August 8, 1931, Colchester, Essex, England. Roger
Pemose, a. ma.t;hematic:al physicist;, cosmologist <tud philosopher , is one of Br it ish
most prominent scient ists . He received his doctorate in mathematics from the Uni
versity of Cambridge in 1957. l n 1973 Penrose was appointed Rouse Ball Professor
of Mathematics at t he University of Oxford, a post be held for 25 years. Endeav
oring to unite relativity and quantum theory, he invented t he twistor theory in
1967. Penrose is best. known for his works on general relat ivity, qua ntum mecha n
ics and cosmology, but; also for his very popular books on science. Peorose has
been honorary degrees from eminent universit ies and pr izes for his
contr ibutions to science. He was elected a fellow of t he Royal Society of London
(1972) a nd a Foreign Associate of t he United States National Academy of Sciences
(1998). In 1994 he was knighted for services to science.
J ohn Ho r ton Conway. Born December 26, 1937, Liverpool , England. J. H.
Conway received his doctorate in 196<1 at t he University of Cambridge. He was
a professor of mathema.tics a.t Cambridge until 1986, when he was appointed the
John von Neumam1 Chair of fVIathema.tics at Princeton. Conway made dist in
guished contr ibutions to he theory of l'inite gl'Oups (Conway groups) , knot theory,
number theory (he proved Wadng's conjecture that every posit:ive iut:eger could be
represented as t he s um of 37 fifth powers), combinatorial game theory, quadratic
forms, coding theory and geomet ry (studying the symmetries of crystal latt ices).
ln lviarch 198 1 Conway was elected a fellow of t he Royal Society of London. He
is widely known for his contribut ions and in ventions to recreat ional mathematics,
primarily t he discovery of the cellular automata called the Game of Li fe.
Donald Knut h. Bom January 10, 1938, Milwaukee, WI. Knuth, a professOI' a t
Stanford University, has a.cbieved i.ntern<J,t ional renown an incredible computer
scientist. He has written more than 150 papers dealing with software, compilers,
programming languages, const.ruction and analysis of algorithms, mathematical
modelling, combinatorial geometry, and many other s ubjects. He authored t he
threevolume monument al work The Art of Computer· Pr·ogromming ( 1968 1973)
and invented a revolutionary typeset.ti ng program for tech nical mater ial named
TE)( . In 19'74 Professor Knuth won t he Turing Prize, computer science's highest
achievement; be holds more than 30 honorary doctorates from emi.nent universities
throughout t he world.
BIBLIOGRAPHY
[1] S. N. Afriat, The Ring of Linkecl Rings, Gerald Duckwort h and Co., Loudon, 1982.
[2[ W. Ahrens, Unterhaltungen und Spiele, B. C. Teubner, Leipzig, 1901.
[3[ M. Aigner, C. IV(. Ziegler, P.roof$from THB.800}(, SptiogerVerla.g, BerlinHeidelberg
New York, 1998.
[4] T. Andreescu, D. Audrica, An Introducti(m to Diopharrt·ine Eq·ua'tions, Gil Publishing
Z<>lau, 2002.
(5] J . Arkin, P. Smith, E. G. Straus, Euler 36 officers problem in tl•ree dimensions solved,
Joumal of Recreational i'v1athemat.ics 15 (1982/83), 8184.
[6] B. Averbach, 0 . Chein, Problem Solving Through Recreational Mathematic.•, W. H.
Freeman and Company, San Franc isco
1
1980.
[7] p_ Avery, Mathematic.• in sport, The Mathemat ical Gazette 7a (1989) , 1 2.
[8] L. Bankoff, The g<>lden arbelos, Scripta Ma.them<>tica 21 (1955), 70 76.
[91 L. Bankoff, A•·e the huin circles of Archimedes reC!lly t.wins?, Mathematics Magazine <17
(1974), 214 218.
[10] L. Bankoff, Haw did Pappu.s do it?, In: The Mathematical Gardner (Ed. D. Klarner),
Prindle, Weber and Schmidt, Boston, 1981, pp. 112 118.
[I l.j A. Beck, Jv(. N. Bleicher, D. W. Crowe, Excursion into Mathematic.,, A K Peters, Natick,
2000.
[121 M . . Beck, S. Zacks, Refined 'lL)>per fo•· the linear Diophantine J>roblem of Frobe
Advances in Applied Mat.hematics :32 (2004), 4544.67.
[t:ll E. Behrends, FiveMinute Mathemat·ic.s, Americn.u \\·1athema.tica.l Society, 2008.
[14] A. H. Beiler, Recre<ttions in the Theory of Numb&r·s, Dover Publica.tions, New York,
1964.
[15] E. T . Bell, Men o.f Mathema.tics, Simon and Schuster, New York, 1937.
[H;I P. J. Bent ley, The Book of Cassell Illustra ted, London, 2008.
[171 E. R Berlel<amp, J. H. Conwa.y, R. K. Guy, Winning Ways for Yo·tt>' MathcmQ.tical
P/Q,ys, Vols. 1 2, Academic Press, LondonNew York, 1982.
j18l G. Berman, K. D. F\·yer, Jnt>·oduct·ion to Cmnb·inatodc.s, Academic Press, New York
London, 1972.
{I9J D. T. Bernard, The Tower·s of 1/a.n.oi.: An exerci..:se in nort .. 1'e(..."U1'sive algorithm develop·
nten.t, Queen
1
.s Univers ity, Computer and lnforrna.tion Science Technical Report 80103,
1980.
[20] \V. Blaschke, Krei.s and I<ugel, Leipzig, 191.6 (reprinted by Auflage, DeGruyter, Berlin,
I 956).
[211 H. P. Boas, Reftect·ions on the m·belos, Tbe American Mathematica.l Monthly (2006),
236249
[221 W. Borbo, On. Thabit i bn .f{v;rroh'.$ formv;la fm· amicable num.be>'.$, Mathematics of
Computa.tion 26 (1972), 571578.
311
312 BIBLIOGRAPHY
[2aj R.. C. Bose, S. S. Sbrikhande, On the fal.sity of E11ler'.s =njectrtre a.bortt the nonexi.•tence
of two orthogonal Latin squares of orde•· 4t + 2, Proceedings of t he National Academy
of Science 45 (1959), 7a4 737.
(24] R.. C. Bose, S. S. Shrikbande, On the construction of.set.• of mutually oTthogonal Latin
.'fquare .. 'l and the faLtity of a conjecture of Euler, Transactions of the American j}..fathe.
matical Society 95 (1960) , 191 209.
[25[ R.. C. Bose, S. S. Sb.J:ikhande, E. T. Parker, Pt11·ther •·estdt.s m>. the r.on.str .. ct·ion of nw.
t·uall1J orthogo,.al Lo.t·in squa•·es and the falsit" of Bule•· '.s c.onjech.re, Canadjan Journa.l
of Ma.t hematics 12 (1960), 189203.
[261 C. B. Boyer, A Hi.stoty of M(•thematics, PriJlceton University Press, Princeton, 1968.
(27] N. L. Briggs, E. I<. Lloyd, R.. J. Wilson, C:mph Theory 1'1361936, Chuendou Press,
Oxford, 1976.
[281 Br. A. Brousse!•u, Towe·r of Hat1oi with more pegs, Journal of Recreational Mathematics
8 (1976), 169 176.
(29] P. Buneman, L. Levy, The Towers of Hanoi pr·oblem, Informa.tion Processing Letters,
10 (1980) , 243 244.
[30] S. A. Burr, 13. Gri.inbaum, N. J. A. Sloan, The orchard problem, Geometriae Dedicata
2 (1974), 397424.
[311 J . N. Cadwell, Topic.s in Rec•·cotiorw.l Matilcmotic.s, Cambridge Uruversity Press, New
York, 1966.
j32l F. C<,jori, A History of Mathematics, 5th ed., AMS Chelsea Publishing, Providence,
Rhode Island, 2000.
[331 E. C<>llandl'e<>u, Celebres P1'0bleme..• Motluimatique.s, Editions Albin Michel, P<>ris, 1949.
j34l P . .J. Campbell, Gnu.ss c'ncl the eight queens pmblern: A stucly in miniatuTe of ·the
prvpagation of historical error, Historia Mathematica 4 (1977), 397404.
(35] R. D. Carmichael, The Theor·y of Nurnber8 and Di.ophantine Analysis, Dover Publica
tions, New York, 1952.
[361 M. Claget t, 'l'he Science of Mechanics in the Middle Ages, Wis. University of Wisconsin
Press, Madison, 1959.
[371 M. R. Cohen, I. E. Drn.bkin, So·ur·ce Book in Greek Science, McGrawHill, New York,
1948.
[381 J . H. E. Cohn, On .squ.are numbcr.s, Journal of the London Mathematical
Society 39 (1965), 537 541.
[391 L. Comtet, Advanced Cmnb·irw.t.o·rics, Reidel, Boston, 1974.
(401 A. Conrad, T . Hindrichs, H. tvlorsy, I. \Vegener, Solution of the knight's Hamiltonian
p<.ttJ• problem on chessboar(ls, Discrete Applied Mathematics 50 (1994), 125 134.
[41] J . H. Conway, N.J. A. Sloane, Spher·e Packing•, Lattices <<nd G1Vups, 2nd ed. , Springer
Verlag, New York, 1993.
[421 K. L. Cooke, R.. B. Bellman, J. A. Lockett, Algorithms, G•·aphs and Computers, Aca
demic Press, 1970.
1431 H. S. M. Coxeter, Intr·o,luctior• to Geom.ett·y, John Wiley Sons, New YorkLoudon,
I96L
[441 H. T . Croft., K. J. Fa.lcouer, R .. I<. Guy, Unsol·ved P•·oblems in Geometry, Springer
Verlo.g, New York, 1991.
BIBLIOGRAPHY 313
(45] H. Davenport, The Higher Arithmetic: An Introduction to the Theory of Numbers,
Dover Publications, New York, 1983.
(46] J. L. Davison, On the linear Diophantine problem of 1?\·obenius, .Journal of Number
Theory 48 (1994) , 353 363
[47] P. Delsarte, Bounds .for um·est>·i.cted codes, by linear progrt11nming, Philips Research
Reports 27 (1972), 272 289.
[48] 0. Demirors, N. Rafraf, M. Tanik, Obtainir.g nqueens solutions from magic squares
an<l constructing rrwgic squares jrom solutions, Journal of Recreat.ional Math
ematics 34 (1992), 272 280.
{49] K. Devlin, Mathematic.: The Science of Pattems, Scieut.ific American Library, New
York, 197'7.
{50J A. K. Co·mputer recreaticn.'i: Yin and yang
1
recur.c;i.on and iteration; the
Tower of Hanoi and the Chine.•e ring.•, Scientific American 11 (1.984), 18 28.
[51] L. E. Dickson, Histo••y of the Themy of Number.s: Di.t,oi.sibilit·y <m<l P.ri.m<<Nty, Vol. 1,
Dover Publications, New York, 2005.
[52] E . .J . Dijksterbuis, Archimedes, Princeton University Press, Princeton, 1987.
(5aj C. vV. Dodge, T . Schoch, P. Y. \Voo, P. Yin, Those lli>iquitou.• Archimedean circle.s,
Mathemat ics Magazine 72 (1.999), 202 213.
[54] H. Dorrie, 100 Great Problems of Elementary Mathemat·ics, Dover New
York, 1965.
[551 H. Dudeney, The Canterb'ury Ptv:zles, Nelson, London 1907 (reprinted by Dover Publi
cations, New York, 1958).
(56] H. Dudeney, Amusements ir. Matlremat·ics, London 1917 (reprinted by Dover Publica
tions, New York, 1958).
(57] A. J. W. Duijvest ijn, A simple pe'rfect square of lowest order, T he Journal of Combina
torial Theory, Series B 25 (1978), 240 243.
[58] G. W. Dtuu1ingtou, Carl Fried•·ich Gomss: Titon of Science, Exposit ion Press, New
York, Hl55 (reprinted by Ma.t hema.t icnl Association of America, 2004).
]59] J. Dutka, On tile 7>roblimte des mbwges, The Mathemn.ticnl Intelligencer 8 (1986), 19
25.
(60] M. C. Er, A general algorithm for finding a shortest p<<th between two n confi.gumtions,
lufonu..tion Sciences 42 (1987), 137 141.
{61] H. Eves, An lntroducti.on to the lfi.•tory of Matherna.tic•, Holt, Rinehart and Winston
(3rd edition) , New York, 1969.
(62] H. Eves, Math.ema.tical Circle . .: Ma.thematical Circle.• Adieu, Return to Math.ema.tical
Circle.s, Vol. III, Mathematical Association of America, 200:3.
]63] L. Fejes T6th, Lagerungen ·in de•· Ebene <mf der I<·ugelwul im Rau.m, SpringerVerh>g,
Berlin,
[641 S. Fisk, The secret<<ty's p<lcket p'toblem., Mat hematics l'vlag<•zine 61 (1988), 103 105.
(65] L. R. Foulds, D. G . .Johnston, An a]>plication of graph theory and integer programming;
chessboor·d nonattacking puzzles, Mathematics Maga.z.ine 57 (1984), 9:> 104.
]66] R .. Freley, K. L. Cook, 'P. Detrick, Graphical solution of difficu,lt crossing puzzles, Math
ematics Magazine 39 (1966), 151157.
]67] D. Fuchs, S. Tn.ba.chnikov, MathemMir..al Om.nilms, American Mathematical Society,
2007
314 BIBLIOGRAPHY
[68] H. Fukagawa, D. Pedoe, Japane.se Temple Geometry Problem .. s, Winnipeg, Canada,
1989
[69] M. Gardner, Mathematical Games: About the ·remarkable similarity between the fcosian
game and the Towe•· of Hanoi., Scientific America.o 196 (1957), 150156.
[70] M. Gardner, The Scientific American Book of Mathemat·ical P·uzziM and Divcr.sion.s,
Simon and Schuster, New York, 1959.
[71] M. Gardner, More Mathe?Twtical Puzzles and Di11ersions, Penguin Books, 1961.
[72] M. Gardner, The Second Scientific Am.edcan Book of Puzzles and Diversions: A New
Selection, Simon and Sehust.er, New York, 1961.
[73] M. Gardner , Mathemo.tical Games: The problem of Mr.s. Perkins'.s quilt, a.nd answer.s
to la•t month'• puzzles, Scientillc American 215 (1966), 264 272
]74] M. Gard11er, Mm·t·in Gardner's New Ma.them.atic<Al Di·ver.sions from Scientific Americ<m,
George AUen and Unwin Ltd, London, 1969.
]75] M. Gardner, Mathenwtical G<Unes: Plotting tile crossing numbeT of gmphs, and answers
to la.,t month's mi.scellany, Scientific American 228 (1973), 106 111
{76] 1\.'f. Gardner
1
Mathetnati.cal Game.'l: Some elegant brick··packing
and a new
order7 perfect magic cube, Scient ific American 234 (1976), 122 127.
[77] M. Gardner, Mathe7YU1tical Game . .: The symmetrical arrangement of the star.• on the
Ameri.can flag and ,·elated matter.,, Scientifi c American 235 (1976), 102 109.
[7SJ M. Gardner, Mathem.at·ical Garnes: The diveo·se of circles that are tangent to
one another, Scientific American 240 (1979), 1828.
[79] M. Gardner, Mathenwtical C:<tmes: Chess problems art a higher plane, inclt<ding mirror
images, •·otations and a.e superqueen, Scientific American 240 (1979), 18 22.
[80] M. Gardner, Mathe'ltuttical Games: Graphs that • help wnr.i,b(•/.s, rwissionaries,
wolves, goo:ts Mul ca.bb<tges get there jrom. here, Scient.ific American 242 (1980), 24 30.
J8l j M. Gardner, Knotted .Ooughm<ts and Other Mathematica,l .$nte·rtainment, W. H. Free
man, New York, 1986, pp. 1517.
]82] M. Gardner, The Colosso.l Book of Mathematics, W. W. Norton and Company, New
YorkLondon, 2001.
]83] M. Gardner, The Colossal Book of Short Puzzles <md Pmblems, W. W. Norton <> nd
Company, New YorkLoudon 2006.
[84] E. Gik, Mathema·tic• on a Che.>board (in Russian), Nauka, Moscow, 1976.
[85] E. N. Gilbert, Knot• and cia ••. .. of rruinage permutati.on•, Scripta Mathematica 32
(1956), 228 2:33.
[86] .J . Ginsburg, Ga1l.<.s'.s arithmetization of t.he problem of 8 queens, Scripta Mat.hemo.tica
s (1939), 63 66
J87J S. W. Golomb, Polyominoes, Scribners, New York, 1965.
[88] R. L. Graham, D. E. Knuth, 0 . PatMbnik, Concv·ete Motilenwtics, AddisonWesley,
1994.
l89J H. Greenberg, Solution f..o a l inear Diophantine equa.tion for nonnegative integer, Jour
nal of Algorit hms 9 ( 1988) , :343 353.
J90J El. Gri.inbaum, C. C. Shephard, Tilings and Patterns, W. H. F'r<*lman and Co, New
York, 1987.
j!) J. j R .. K. Guy, Unsolved P.roblem..s in Number Theory, SpringerVerli>g, New York,
pp. lU114.
BIBLIOG RAPHY 315
[92] A. Hald, A fli.story of Probability and Statistic.< and Their ApplicatimM before 1750,
John Wiley and Sons, New York, 1990.
[93] T. C. Hales, 'l'he stat·us of t he Kepler conjcctm·e, Tbe Mathematical lntelligencer 16
(1994), 4 7 58.
]94] T. C. Hales, Cannon.l:>all.9 and Honeycombs, Notice of the American Mathematical So
ciety 47 (2000) , 4'!0•!49.
[95] T. C. Hales, A proof of the J<epler conjeC't·ure (abridged), Annals of Mathematics, 162
(2005), 1065 1185.
[96] T. C. Hales, A proof of the J<epler conjecture (unabridged), Discrete and Computational
Geometry 36 (2006), 1 265.
[97] T. C. Hales, Formal proof, Notices of the American Mathematical Society 55 (2008),
1UO la80.
[98] P. R HaJ mos, The legend of .John von Neumann, T he American Mathematical Monthly
80 (1.973), 382 394.
1991 P. J. Hayes, A Mte on the Towers of Hc.no·i problem, T he Computer .Journal 20 (1977),
2$2 285.
[100] T. Heath, The Wo•t k8 o.f A·rchi.metles, Dover Publications, New York, 1953.
[101] F. V. Henle, .J . iVL Henle, Squaring the 1Jhme, T he American l\.Jathematical Monthly
115 (2008), 312.
[1021 S. Hildebrandt , Variationsrechung heute, RheinischWestfiilische Academie der Wis
senschaften, 1986.
[103] A. M. Hioz, The t&wer o.f Hano·i, L'Eusagnement Math0mn.tique 35 (1989), 289321.
[1041 E. J. Hoffman, J. C. Loessi, R. C. Moore, Con.st>'tt.ction .fO'T' tJ•e solution of the nq·ueen..s
problem, Mo.t hemo,tics Magazine 42 (1969), 66 72.
[105] P. Hoff1nan, The Man Who Loved Only Numbers, Hyperion, New York, 2000.
[106] R. Honsberger, Mathem«tical Gems II, Mathematical Association of America, 1976.
[1071 E. I. lgnj o.t 'ev, V r..o,r.9tve smekalki (lu Russian) , Na u.ka, l"loscow, 1979.
[1081 D. S. Jones, P. G. Moore, Circular seating arn:mgem.ents, Journal of t he Institute of
Actuaries 108 (1981), 405 411.
[1091 R. Kanigel, The Ma.n Who Knew Infinity, Scribner, 1991.
[110] I. Kaplansky, Solu·tion of the 'probleme des mlnages', Bulletin of the American Math
ematical Society 49 (1943), 784 785.
[111] I. Kaplansky, J. Riordan, The probleme des menages, Scripta Mathematica 12 (1946),
113 124.
[112] V. Karapetoff, Problem 4202, T he American lvlathemat ical Monthly 54 (1947), 488
489.
[113] V . .J. K<>.tz, A Histo·ry of Mathemotics, AddisonWesley, Re<>ding, 1998.
[1141 D. Klamer, T l1e M(•thernaticol Ganlner (ed.), Prindle, Weber Schmidt, Bost.on,
1981.
[115] D. E. Knuth, The Art of ComptCter P·rogramming, Vol. I, AddisonWesley, Re..ding,
1997.
[116] M. Kobayashi, P. Pollack, C. Pomerance, On the distribution of soci«ble members, Jour
nal of Number T heory, to appear.
[1171 B. Kor<leroski, Moscow P.uzziM, Dover Publicat.ions, New York, 1992.
[1181 M. Kraitchil<, Mathemati<:.o.l Rec•·eation.s, Dover Publicn.tious, New York, 195:3.
316 BIBLIOGRAPHY
[119] S. G. Kranz, Technique.• of Problem Sol11ing, American Mathematical Society, 1997.
[120] Y. K usaka, On t·he p.oblern of 1·efl.ecling queen•, Journal of Recreational JvJat hemat ics
12 (197980) , 179 181.
[121] L. H. Lange, Constn.<cting an old edreme viewpoint, Mathematics Magazine 60 (198·7),
301 304
[122] J . Leech, The problem of the thir·teen .sphere.s, The Mathematical Ga.7.ette 40 (331),
1956, 22 23.
[1231 H. W. Le11stra .Jr. , Solving the Pell cqrwti . .,n, Notices of t he American Mathematical
Society 49 (2002), 182 192.
[124] K. E. Littlewood, A Mathematician'., Miscellany, Methuen, London, (reprint.ed in
1957).
[125] E. Lucas, Recreation• Mathemati.que.•, GauthierVillars 1882 94 (reprinted by Blan·
chard, Paris 1960).
[1261 P. A. MacMabon, Combinatory AnaJysi.,, Cambridge 1915 (reprinted New York, 1960).
[127] J . S. Madachy, Madachy'.• Mathematical Recreational, Dover Publica.tions, New York,
1979.
[1281 S. Mendel5on, Races with t·ies, Mathematics Magazine 55 (1982) , 170 175.
[129] D . .J. Muder, A new bound on the l.oeal density of .sphere packing.•, Discrete and Com
putat ional Geometry 10 (:199:3), :351J75.
[1301 T. Nagell, Selected Mathematical Po,pers of Axel ThtAc (ed.), Universitetsforlaget Oslo,
1977.
[131] J. Needham, Science and Oivilization ·in China: Mathema.t·ic!l and the Sciences of the
Heaven and the Earth, Vol. 3, Cambr idge Uni versity Press, 1959.
[132] H. L. Nelson, .4 solution to Archimedes' cattJ.e problem, .Journal of Recreational Math
ematics 13 (1.980 SI) , 162 1.76.
(J. Newman, ed.), The Wor/4 of Mathematics, Vol. 4, Simon and Schuster, 1956.
{134} l. Ni ven, ./J;faxi1na and minima 111ithmtt calcul1LS; Dolcia.ni !Mathematical Expositions, no.
6, Mathematical Association of America, 1981, pp. 71 7:3.
0 . Ore, G•·a1>hs and The,ir U.se.,, Mathematical Associa.tion of America,, New Math
Library, 1990.
[1361 8. T . Parker, Orthogonal Latin .,qr•ares, Proc. of t he National Academy of Sciences 45
(1959), 859862.
[1371 I. Peterson, Jslan<ls of Ti·ut/r.; a, Mathema.tical Mystery Orwise, W. H. Freeman <1nd
Company, New York, 1990.
[138] M. Petl<ovic, Mo,tJu::matics and Ches.s, Dover Publications, New York, 1997.
[1391 F. Pfender, G. M. Ziegler, J<i.s.sing numbers, sphere P<•cl>ing and some tmexpeeted proofs,
Notices of t he American Mathematical Society 51 (2004), Sn883.
[HOI C. Pomerance, On the d'i$tri.bution of amir..able nv,mbers, II, JotuM.l fiir <tie reine und
angewandte Mathematik 325 (1981), 182 188.
{141] G. P61ya, Mathemat·ics and PlarLsible Reasoning, Vols. 1 2, Priuceto11 Uni versity Press,
PriucetoJ, , 1954.
[142) G. P<Slya, Mc.tilemat·ical Di.scovery, Vol. I, John Wiley <>nd Sons, New YorkLondon,
1962.
[14:31 C. Radin, Tile pinwllccl til, ing$ of tile 11lane, of Mntbemo.tics I:W (1994), 661 702.
BIBLIOG RAPHY 317
[144] P. R.ado, R. Rado, More aOOlLt lions and other animal.<, Mathematical Spectmm 7
(1974/ 75), 899a.
{145] R. R.ado, How the li.on t·amer· was saved, Mathematical Spectrum 6 (1973/74), 1418.
(146] J. Riordan, Threeline Latin rectangles, T he American Mathematical Monthly 51
(1944), 450452.
{147] J . Riordan, An Introduction to Com.binatoTial Analysis, .John Wiley and Sons, New
York, 1958.
(148] C. A. Rogers, Po.cking and Covering, Cambridge University Press, Cambridge, 1964.
[149] T. Roth, The Tower of Brahma revi.<if.P.d, .Journal of Recreational Mathematics 7 (1974),
11.61.19.
(150] \V. \V. Rouse Ball, H. S. l'vL Coxet.er, M«them.atical Recreati<ms and ElUSays, Dover
Publications, New York, 1987.
(151] 0. J. ROdseth, On. a linear Diophantine problem of Frobenius, Journal fiir die reine und
a.ngewandte Mathematik 301 (1978), 17'1 178.
{152] S. J . Ruberg, The three planting problem on a sphere, 1\·fathernatics Magazine 53 (1980),
235 237.
[153] V. Sanford, ]'he Histmy and Sign·ificance of Ce•·tain Standard Problems in Algei>ro. (Ch.
6  Recreations), Teachers College, Columbia University, New York, 1927.
[154] P. Schreiber , A note em. the cattle problem of Archimedes, Historia Mathemat ica 20
(1993), 304306.
{155] K. Schiitte, B. L. van der \IVaerden, Das Problem de1' dreizelm Kugeln, Mathernatische
Annalen 125 (1953),
[156] A. J. Scbwenk, Which rectangular chessboards ha11e a knight 's to .. r ?, Mathematics Ma.g
nzine 64 (1991), 325 332.
[157] R S. Scorer, P. M. Grundy, C. A. B. Smit h, Some binary game.<, The Mathematical
Gazette 28 (1944), 96 103.
[158] E. S. Seimer, The linear Dio)>hantine p•·oblem of F>·oi>enitt.s, Journal f(ir die reine und
angewandte Mathematik 293/ 294 (19'77) , 1 17.
[159] 8. S. Seimer, b. Beyer, On the linear Di.ophantine p>·oblcrn of Frobenius in th•·ce vari
ables, Journal fiir die rei.no und angewa.ndte 301. (1978) , 161.170.
[160] D. W. Sharpe, Pour theorem .. for a de.sert i.•land, 1\.fa.thematical Spectrum 12 (1979/ 80),
70 75.
[161] K. Sigm\l.lld, J(eple•· in Eferdir>g, T he lvln.themntica.l !J1telligeucer 23 (2001), 47 51.
[162] F. Sphem packing, T he lv!athematical tntelligencer 5 (1983), 3538.
[163] D. Singmoster, S &w·ces in Rec•·ea.tiono.l Mathe matics, Au Annoted Bibliography, Lou
don: Deportment of Computing and Mathematics, South Bank Polytechnic, 1989.
[164] S. Skiena, Jmple menting Oi.5cref,e Mathemat·ic.s, Combinatoring and G•·aph 'l'hcory ·with
Mathematica, AddisonWesley, Reading, 1990.
[165] W. M. Smart , Te:.ct.book on S7Jhe••ical ;!st.·o,.onvy, Cambridge University Press, 19i7.
[166] F. Smetz, 1'he e.·11olution of ·in anc·ient China, 52
(1979) , 10 19.
[167] D. E. Smith. Hi.story of Matllem.atic.s, 1 2, Ginn and Company, Boston, 1923 25.
[166] D . .8. Smi t h, Y. Mi.kami , of Ja1>anese Mathematics, The Open Cotu:t .Publishing
Company, Cbicn.go, 1914.
3 18 BIBLIOGRAPHY
[169] S. Stein, Archimede.s: What Did He Do Be.s·ides Cry Eureka?, Mathematical Association
of America, 1999.
[170] H. Steinhaus, M«lhematico.l Srwpshots, Oxford University Press (USA edit ion), 1983.
[171] I. Stewart, Four encour"ters with Sierpiri.ski 's gaske·t, The Mathematical Intelligencer 17
(1995), 52 64.
{172] G. G. S"piro, [(epl.er's Conjecture, Wiley, New .Jersey, 2003.
(17:3] V. Thebault, RecTea.tiorw.l geometry, Scripta Matbemat ica 14 (1949) , 8288.
(174] D. E. Thomas, Note, .Jomnal of the Institute of Actuaries 110 (1983), 396 398.
(175] L. C. T ien, Const«atsum figures, The i'vlathema.tical Intelligencer 23 (2001), 15 16.
(176] V. M. Tikhomirov, Stories <lbout Mcuri1tta uml American Mathemat.ical Society
and Mathematical Associat ion of America, 1991.
(177] J . Touchard, Su·r un pr'Oblbne des permut<ttions, Comptes Rendus de L' Academie des
Sciences, T. 198 (1934), 631 633.
(178] .J . Toucbard, Pennutations discordcmt wi.th two givetl penn,.tc•t·ions, Scripta l'vlathema.t
ica 19 (1953), 109 119.
(179] P. D. Wanington, GmecoLati.n Cubes, .Joumal of Recreational Ma.thematics 6 (1973),
4253.
[180] V>/. C. Waterhouse, On IJ•e ca:ltle problem of Archimedes, Historia Mathematica 22
(1995) , 186 187.
[1811 J . J. Watkins, Acr·oss the BoMxl: The MC!thern.atics of Cl!essbO<"'d P1·oblem.s, Princeton
University Press, Princeton and Oxford, 200•1.
{182] R. J . Webstet , The le!Jend of Leonardo of Pis<l
1
Mathematical Spectrum 2 (1972), 51 55.
{183] I. Wegener, Branching Pmg•·ams and. Bi1WY'1J Decision D·iagmm.s, SIAM, Philadelphia,
2000.
{1841 P. Weidlinger, A Rarnanmjan t>uzzle, The Mathematical lutelligencer 17 (1905) , p. :3.
[185] E. W. Weisstein , CRC Concise Encyclo7>ed·ia of Mathemat·ics, Chaptn<Hl and HaU/CRC
Boca RatonLoudonNew YorkWas hington, D.C. , 1999.
[1861 D. G. The Book of OttY'iovs a.nd Interesting Puzzles, Penguin Books,
London, 1992.
[1871 H. C. Williams, R.. A. German, C. R .. Zarnke, Solution of the cattle trroblcm of
Archimedes, M.a.t hematics of Computa.tions 10 (1965), 671 674.
[1881 R. J. Wilson, J. J. Watkins, Gmphs: An JntroductonJ At>prooch, John Wiley and Sons,
New York, 1990.
[1891 D. Wood, The Towers of Brahm<> and. Hanoi revisited, Journal of Recre<>tional Mat.he
matic:; 14 (198182), 1.7 24.
(190] G. Worsnup, An <t·id to conversations in ·rugby, T he Mathematical Gazette n (1989),
225 226.
[191.1 M. Wyman, L. Moser, On the t>robleme dM rneno.ge.,, Canadian. Journal of Mathematics
10 (1958), 468480.
[192] Lu Xuemiao, Tower• of Hanoi graph• , International Journal of Computer Mathematics
19 (1986) , 2a3s.
[19a] A. M. Yaglom, l. M. Yaglom, Challenging Ma.themn.tical Problem.s 11Jifh Element.n.1·y
Sol ut·ions: Combin.otoTin.l ilnalysi" an.d Probacilit·y T heory, Vol. 1, HoldenDay, San
Francisco, 1964.
[1941 C. ZoJ1g, Sphere Po.cking, SpringerVerlag, New York, 1999.
NAME INDEX
The names of mathematicians rela.ted to the considered recreational prob
lems a.re boldfaced. T be first appearance of aJly problem is marked by t he
page in boldfa.ce. Jtalic numbers point to the page where t be corresponding
short biogra.phy is situa.ted.
Abelson, H., 26
Abu'lWafa, Mohammad, 68, 81,
82, 96, 116, 283, 300
(dissection) problems, 96
Afriat, S. N., 182
A.hrens, W. , 272
Aigner , M., 134, 136
Aitken, A. C., 184
A leu in of York, 3, 5, 9, 29, 173, 174,
240, 242, 283, 299
classic (rivercrossing) problem, 2•10
al Aclli, 27 4
al Din, Nasir, 81
ai F·arisi, Kamal aiDin, 46
Ambrose of Milan (Hegeisippus ), 2, 176
Amthor, A., 41, 42
Apollonius, 45
Archimedes, 2, 26, 38, 39, 414.3, 45,
67, 68, 69, 113, 152, 153, 268, 299,
defense weapon, :l9
screwl 39
burning mirror> 39
law of hydr<>Stat ics, 153
73, 151
Arkin, J ., 189
Aryabb.ata, 50
Averbach, B. , 2:l8. 239
Bachet, ClaudeGas par, 5, 6, 10,
17, 18, 20,21, 22, 173,176,
285, .902
weight problem, 23
Josephus problem, 177
Banach, Stephen, 224, 308
matchbox problem, 210, 225, 227
319
Bankoff, L., 69, 71
Barrow, I. , 83
Bartels, M., 268
Bock, A. , 235
Beck, M., 63
Behrends, E., 183
Beiler, A. H., 42, 45, 49, 56, 77
Bell , A. H. , 42
Bell, E. T., 234
Bellman, R. E., 240
ben Ezra, Rabbi, 176
Bender, C. , 135
Bennet t, G., 269
Bentley, ? ., 21, 45, 77
Berger, R. , 126
Berlekamp, E. R., 142, 182
Bernoulli, Daniel, 13, 220, 221, 222,
305
Bernoulli, Johann, 155, 184, 214, 222
Bernoulli, Jacob, 184, 218, 2'19
Bernoulli, Nicolas (II) , 184, 210,
222' 265, 304
Bernoulli, Nicolas (Il l) , 210, 220,
221, 305
Bert rand, J ., 210, 221
Bert rand, L., 260
Besicovitch, Abram, 152, 161, 162,
308
Beverley, W. , 263
tour , 263
Beyer, 0. , 63
Bezzel, lVL, 269
Bhaskara, as, 48, 49, .900
Binet , J ., 1.3
Bjorner, A. , 171
320 NAME INDEX
Bla.schke, W. 96, 97
Bleicher, M. N., 235
Boa.s, H. P., 69, 72.
Bogol' bov, A. N. , 222
Boole, G., 209
Borho, W., 47
Bose, R. C., 188
Boyer, C. B., 155
Br ahrnagupta,48, 68, 77,299
Bravais, A., 139
BrigJ,'S, N. 1. , 236
Brown, D. , 13
Buffon, Compte de, 221
Buteo, J ., 3, 4, 176, 177
Biittner, J. G., 268
Cajori, F., 50, 177
'
Callandrean, E., 41 , 83
Campbell, T . l\·1. , 131
Carcavi , M., 218
Cardano, Gerolan1o, 4 , 5, 23, 172,
176, 180, 181, 182,212, 301
CardanoThrtagli•< formula, 23
Carmichael, R. D., 19
Cassini , J .D., 30
identity, 30, 31
Cavalieri, Bona ventu ra, 68> 91 > 92.,
302
Cayley, Ar t hur , 7, 25, 189, 192,
193, 195, 201, 233, 307
counting problem, 172
Chart r<•nd, G., 229
Chein, 0. , 2:l8, 2:39
Chuquet , N. , 176, 248
Clagett, M., 153
Clavius, C., 3
Cohn, J. H. E., 31
Colburn, Z., 233, 234
Coil , P. E. , 130, l:l 1
Comtet., L. 184
Condorcet, N., 221
Conrad, A., 261, 262
Conway, John Horton, 119, 120,
126, 127 129, 136, 142, 182, 310
ConwayRadin's pinwheel tiling, 128
cube puzzle, 121, 143, 1.44, 148, 149
Cooke, I<. 1 ., 24.()
Coolidge, J . 1., 184
Coxeter, (H. S.M.) Donald , 2:l, 68,
71, 104, 105, 106, 125, 174, 1.76, 182,
184, 192, 197, 199, 222, 260, 293,309
Cramer, Gabrie l, 210, 220, 222, 305
Ct'emona, 71
Croft, H. T., 203
Crowe, D. W., 235
Colin, S., 1.81
D'Alembert, Jean1 eRoud, 210, 221
Dali, S., 123, 124
Davenport, H., 42, 289
Davison, J . L., 63, 65
Dawson, T. R. , 145, 274
Delsarte, P., 136
Demirors, 0., 2i2
Denniston, R. H. F., 192
Deo, N., 229
de Moivre, Abrah am, 13, 214, 2Hl,
240, 258, 259, 260, 304
de Montmort, PierreRen1ond, 184>
214, 220, 240, 258, 259, 304
de Morgan, A. , 10, 11
de Parville, H. , 197
Descartes, Rene, 46, 68, 104, 105,
108, 212, 301, 302
(geometrical) method, 85
Det rick, P. 240
Devlin, K., 139
Dewdney, A. K. , 182
D'Hooge, G. 261
Di Cosuli, C:., 153
Dickson, L. E. , 47
Dijl<sterhuis, 8. J., :l8
Diophantus of Alexandria, 9, 10,
24, 44, 299
Di ra.c, G. A., 238, 239
theorem (graph), 238
Dirac, Paul, :l8, 52, 55, 56, .909
Dirichlet , P. L. , 120
Dodge, C. W. , 69
Dorrie, H., 28, 34, 83, 89, 184, 192, 201
Dudeney, H. E., S, 5"7, 75, 82, 145, 177,
203, 204
met hod of umavelling, 275
Duijvestij n, ,1. W. , 133
Dunnington, G. W., 269
Dun·el, G. V., 184
Dut ka, .!. , 201, 202.
NAME INDEX
E)Jkjes. N 0 , 261
El Madschrity, 4.5, 4..6.
Erdos, Paul, 31.,. 2illi,. 20£,. 230, 244,
310
Escher, M. C., 1.1.9,. 124, 1.2.2,.121.
Euclid, 31.,. 4.5, ll,. 1.05.,. 211
construction, illl
(Euclidean) geometry, fi1.
tools ) 80.
Euler, Leonhard, 3,. 6.,.1.., 23,. 3B,. !1.1,.
5fi,. 5.1.,. 52, 155, 172, 1.M. 186, 187
1.89,. 210, 222, 229, 230, 231, 232,
2dJ1. 250, 2hl,. 2llft,. 259, 265, 2fi1.,.
2.83. 2Bfi,. 290.,. 29.1.,. 305
conj ecture, 1.88,. 1.89
cycle, 229
graph, 229, 231, 232, 233, 234
knight's circle, 2till
method (Diophantine equation),
5.l.,. M
officers problem, .lS8
path, 231, 233, 246, 250
polyh.ed rn.l formuln., 205.
problem of Konigsberg's bridges,
1.., 229
recmreoce relatiollS, 59.,. 29l
rule (amicable nwnbers), 4.1.,. fi5
squares 172, 186, 1.81
t heorem (graph) , 231. , 232, 233,
238,. 250
Eves H83
' .
Fedorov, E. S., 124
8'ejes 'J'6t h, L. , 1.20.,.1.39.
Ferguson, S. P., lill.
Fermat, Pierre de , .25.. 31,. 44 47,
fi8,. Z5.,. 9.1.,. Q2. .2.09.. 21 0' 211 '
212 214, 217, 218, 303
point (isogonic center) ,
}e rmatr Pascal's problem of points,
213
Last T heorem, 31,. 211
principle of minimal time, Z5.,. 211
Penni , E., 55
Penn S d el 23
l l
Fibonacci (Leonardo Pisa.no) , 3,.
:ill,.ll.,.l.2,.1.3.J..5.1.6.,.2142.1.3ll.
32,. 2.83. 2.8.4,. 300
numbers, 3,. 12,. 1.5. 3ll. :U
(iomnnl), 1.3
rabbit problem, 1.2,. 155
rectangle, :U
sequence, 3,. 1214, 155, 2ll1
Fisk, S., l.&l
Forbes, D., 2ful.
Pomier , J ., 1.00.
Freley, R. 2.!10.
321
Ftobenius, Ferdinand George, 3B,.
1!.0.,. 6.1,. 63,. 307
coin problem, fill
equat ion, fi2
number, 63,. fili
Fuchs, D., 1.32,. ill
Fyzi , d.8
Galilei, Galileo, 9.1., 1.53.
G mdoer, M . , S,. 52,. 56.,. 123, 1.26.,. 121,.
1.2fl,. 112. 1.13. 1.82,. 190' .2lli.,. 2illi.,.
2dJ1. 254, 2Z2., 27!\, 21S
Gauss, Carl Friedrich, 6.,. 26.,. 31,.
12ll.l.3Z,. 138140, 258,. 2JiB,.
269 271, 305
Gerasirnov
1
V .! lifi
German, R. A., 12
Gik, E., 2JU.,. 273, 215,. 2.80
Glaisher, .J. W. , 2Zl
Goldbach, C., 31,. 2till
Golomb, S., 1.29,. 2ful.,. 21S
Gombaud, A., 212
Copula, 1.3
Gosset , T ., 11.0,. 210.
Gounod, C. , fill
Gra.atsma, W., li2
cube puzzle, 1M
Graham, R. L., 3,.1.29,.1.1S
Gray, F., 5.1.82.
code, 182 184
Greenberg, H., ltl
Gregory, David, 12ll. 1.35.
304
Gregory Newton problem, J..2fi,. l..34.
Gregory, .l ., l..34.
Gros, L. A., 1.82.
Gri.inbaun1, 8 ., 124
Cri.inwald , T., 2Jl5.
Guarini , P. , i1.,. lli
knightswitching problem, 21!1.,.
215,. 2.81.
322 NAME INDEX
Guy, R. K., In.l82. 2ilil
G
.. h s '""
unt. er, ., ..L....li.i.
Hald, A., 214
Hales, T. C., l2Q,. 121,.131.,. lllfi,. 1dl.
proof (Kepler's conjecture), 121,.
ldl1, L4l.
Halmo.s, P., 151. 227
Hamilton, William Rowan, Z. 230,
233, 234, 235, 236, 239,. 306
cycle, Z,. 229, 230, 236, 2:17, 239,.
252,. 2fi.l
Hardy, G. H., 5.6.,. 5Z
Han·iot, T., .t.:rZ.
H<>wking, S. , fi1
Heat, T., 3S
Heiberg, J. L., 42
Hemachandra, S., 13
Henle, F. V., 133.
Henle, J. M., l33
Henrici , P., 120.
Hermite, C., 120.
Heron of A lexandria, 11,.18, 19.,.
1.1. :ill.1fi.ll. 299
problem (minimal d istance), ld,.li
reflection principle, 68.,.1fi. !ll,.lli
t riangles, 132.
Hilbert, D., 120.,.ldll, 15.1
Hildebrandt, S. , 15.,. 96
Hindrichs, T., 2fil
Hoffman, E. J., 212
Hoffman, P., 2n.:.
Honsberger, R., 1.43
Hooper, W., ll
Hoppe, R , 1.35.
Hsia.ng, \V .Y . , 1.:1.0.
Hui, Yang, lll,.ll. 300
Huxley, T., 251
Huygens, Christ iaan, 83,. 210, 215,
211, 218, 220, 283,. 285, 308
anagram, 215
ibn alHaytham (Aihazen) , 68.,.83.,.
300
(billiard) problem, .83
ibn Khallikl\n, A.bu' l, 3.
ibn Qorra, Tab it, 3S,. JL!i.&fi,. n,. 68.,.
8!1, 300
theorem (amicable .46.
I gnat' ev, 8. L, 2fil1. 2fi.l
Iverson, K. E., fill
Ji•enisch, C. F. de, 261 263
(knight) tour, 2fi3
Jobling, P. , 4.1
John of Palermo, 15,. lli
Jones, D. S., 202
Johnson, R. A., 11.
Kamke, E., 220, 222
Kanigel, R. , 5Z
Kaplansky, A., 201, 202
I<arapetoff, V. , 223
Kasner , B., 2ll9.
Ka.spnrov, G. , 25.8
Katz, V. J. , l1l,. 25.,. !1.5. 85,. 172, 2<12
Kazuyuki, S., 108
kissing circless, 1ilil
Kepler, J ohannes, 3fi,. fiB, llil,..M,.
95.,ll.fl, 120,. 1.21.,. 12 3' 124 ' 1..3:4
138141, 302
conjecture, 120.,. UZ,.138,.ld1
mosaics, 121
spherepacking problem, 12ll,.13.1
Khayynm, 0., lU
Kir kman, Thomas, 6, 189. 192, 236,
306
schoolgirls problem, 172, 189 192
system, 188.
J< i•·kmanSteiner tl'iples, 203
Klamer, D. , 1Mi
Klein, F., 269
Knuth, Donald , 3, 42,.1.2fi,.l.2R,.
l3lL lll. 142. 1 72' 118. 25.8,.
273, 21!L, 310
pentarnino pU2zle, 121.
uncrossed knight's tom, 2L1
Kobayashi , M., lii
Kordemski, B., 242
Kowa, Seki Shinsuke, 68.,. l.Jl4,.1Jl!l,.
308
Kraitchik, lVL, 23, 221, 222, 2lll,.2ful
I<ranz, S., 176, 1M
Kronecker, L. , 3S
I<rumbiegel , B., 4l
Kusal<a, Y ., 279
Lagrange, J. L. , 120.,. 214, 221
M. , 201.
relation, 2ll2.
Lange, L. G. ) 8B
NAME INDEX
Laplace, PierreSimon de, 2!19.,. 210,
214 222
'
Lasker, E., 258
Leech, J. , 1.36.
Legendre, A. M., 2.5.8,. 259
Lehmer, D. I:L,. 155
Leibniz, G. , 2.1,. 22, 210
Lenstra, H.. W., 4.3
Lessing, G. E., &1,. .42
Le\U'echon, ,J. , 3,. 5.
Levenstein, V. , 1.3fi
L'Hospital , G., S3
Libri, G. , 24.8
Listing, .Johann Benedict, 230, 233,
249, 307
diagramtracing puzzle, 250, 255
Littlewood, J ohn Edensor, 1.5.2. 161,
162, 308
Lloyd, E. K, 2a6
.Lockett, J. A., 2!ill
Loessi, J. C., 212
Lorsch, A. , BZ.
Loyd, S., 8.
Lucas, Eda uard, !l, 1 . 12 , 1 55.
1.llii,. 1.91.,. 199' 201 > 202,. 307
checkerinterchanging problem, 200
LncMLehmer test, 155
married couples, 201, 2ll2.
Tower of Hanoi, 3!1,. U!6.,. Ul1
'Machin, J. , 21
MacMahon, A. P., 23
Madachy, J . S., S3
Magmts, L. J , 71
Mahavira, 9, 11. fi£.ZB. l72, 300
Martus, H.., 89.
'McKay, :B., 26.1
McLaughlin, M. , 5l
Melchior, E., 2fi5.
Mendelson, S. , 193, l..!l.:.
Merz, M., 15.
Metrodorus, 1.0
Mikami, Y. , Z&,.lilll
Miukowski, I:L,.12il
Moon, J . V.'. , lfi7.
Moore, E. I:L,. 190
Moore, P. G., 2ll2.
Moore, R. C., 212
Moreau, M. C., 201
Jvlorsy, H .. 2fi.1
Moser, L., 155, 1.fi1.,. 254
point problem, 254
Muder , D. J. , L40.
Muir, T. , 201, 2ll2.
Muramatsu, K. M., lZ.I
1vlusin, 0.
1
1.36
Nauck, F., 6, 269, 211.
Needham, .J. , 32
Nelson, H.. L., .42
Nesselma.nn, G. H.. P., .42
323
Newton, Isaac, 1.0,. 2fi. 21,. 28,. 93,.
12ll,. 121,. l.3A,. 1.35.,. l.3fi,. 2fi8,. 283,.
2.8fi,. 304
kissing number, 1..&l
problem (<mimals on a. field), 28.. 2.9
N Ul'll'l, J *I 258
Odlyzko, A., l.3fi
Ore, 0 ., 238.,. 24.8
t heorem (graph), 238
Oresme, Nicole, 15.2.l.liS.l.ful.. 155,
lfi1,. 301
Ozanam, .J. , 5.,. .29
Pacioli, L. , 3,. 5.,. 212
Pagauini) N., .41
Pajitnov, A. , ill
Pappus of Alexandria, 6:Z, 10,.11.
Parker Fi 'I 89
j j
GraecoLatin square, 189.
Pascal, Blaise, l.fl, 6:Z, 209,. 210,
211, 212214, 217, 218, 220,
25.1. 303
t riangle, 1.01
Patashnik, 0 ., 128.
Peet.. TE . Z
Penrose, Roger , l.l9.,.12ll, 121,. 310
t iles (kite, dart), 121.
t il i ng, l.l9.,. 121,. 128.
Pepys, S. , 2.86.
Petkovic, tv!., 26.1
Pick, G. A.,
t heorem, 2ful.,. 277
Pierce, B. , 192
324 NAME INDEX
Pierce. C. $., 210
Poinsot, Louis , 230, 245, 306
diagmmtracing puzzle, 245
Po isson, Simeon, 210, 221, 230, 247,
2!1.8,. 306
milk puzzle, .2.48.
Pollack, P. , fl
Pomerance, C., fl
P61ya, Geor ge, 28., 68,. Z2.. 1.1Jl.l.LL
124, l1ii. 908
bisecting arc, lll.
Pto1oruy, d.5.
Pythogorns, d.5.
theorem, 85. 1.12.11.3
t riples, 1.8
• A., 83
Radin, C., 1.1.9., 1.2&
Rado. P. A .. 162
R.ado, Richard, 152. 161. 162. 909
Rafmf, K., 2j?
R.amanujan, Srinivasa, 3.8.,. 5..6.. 57,
5!1,. 908
Ramus, P. , 176
Rangacarya, lVL, ll
RayChaudhuri, D. I<., 192
Recorde, Robert , 1.0,. .2!1. 901
R.agiomontanus (Johann Muller),
6.&.. 8Jl,. 301
optimal viewpoint, .SZ. 8ll
Reichert, H.. 1.3!1.
Rhi ud , A. H...,. 2.
Riccati, J. F. , 83
Rio t·dan, J ., 201, .2fi2
l'lobiusou, R. 1vi. , 126
llohson, A., 1.&1.
Roder, C. , 8fi
Rogers, C. A. , 120.
Roget, P. l\1.,
knight's reentrant path. 6
Roul!e Ball, W. W., Z, .2.1. d2,. 1 i4, 176,
1.82.1&1. 192' 1.9.1.. 19 9. 2 22' .2.G.ll. 2fil
R.i:klseth, 6. J. , fi3.
Rube•·g, S., 203
Rutherford, E., 15.1
SMford, V. ,
Schreiber, P .. 43.
Schr&lingcr, E., 55.
Schumacher , H.. c., m
Schur, L
theorem, fi3.
Schwenk, A., 2fi2.
Scott, D., liCi
Sci mer
1
Jj, S., 63
&>veri, F., llfi
Sharpe. D., 5.!1.
Sluikhande, S. S., 1.8&
Shiitlle, K., 134 136
Singma..te•·, D. , 1.82
S. , 176, 1.82
Sloane, N. J. /\ ., 12!l,.l.3fi
Slothouber, J ., ill
c ube puzzle, .l.ilil.
Smart, W. M., 9.1
Smith, D. E. , 4.B, :U,.J.illl., 176
Smith, P .. .lil!l
Smith, $. , !l
Snell, W., fill., 15
Soddy, Frederick, fiS,.l.llA, .l1l!l. 308
formula (kissing circles}, 1M
formula (kissing spheres), lCl!l
poem, lll5.
Spi'Agnc, R. , l3;i
Stanley, R, ll1,. 2fil
Stein, S., 38
Steiner, .Jakob 2. z.. 6B,.1.1.,..1U.. !12..
9A.. !lZ.. !1.8.. lill.,. 1.l.l.. 1 72. l.8ll..
190, 306
tri ple system, 98, 190, ) 92, 203
isopodmctric (Dido's) P•'Oblom, liZ
Steinhaus, H .. l.8l
Stortcnbrink, G., .2.fi3.
Straus, E. G., .lil!l
Sti'Uyck, N. , 218, 219
Sylvester , J a mes J oseph, Z.. 2li, 3.!!,.
6D.,. 61 63, 172, 1.8!l,. 191, 102, 19:1,
2Jl.2.. 203, 205. 229, 233, 907
line problem, 2llii
stamp problem, fill
Synge, J. L., 172
Szpiro, G. C. , l2!l,. .1.39.
Tabach nikov, S., 121.
Tait, P. G., 3.ll1.. 202,. 230, 233, 2.5.1.
net, 233, 2.5l.
Takabc, K., lCl!l
lAME INDEX
Tauik, M., 212
Tarry, C. , 176, 188. 247
Tartaglia, Niccolo. 35. 10. 20. 21
23. 173, SOl
Taylor, B., 223, 2fiQ
Taylor , H. M., 201
Theodosius, &.5
Thomas, C. B., 202
Thoma.s. L Z3
Thomson. W. (Lord Keh·in), ll
Thue, A., 138. 139
T ien, L. C., 73. ill
Tikhomirov, V. M., !11
Todhunter, 1. . 222
Torbijn, P. J., 1..44
Torricelli, Evangelista, 68, 91. 92.
309
(i::lOgonic 92. 93. 11.8
Toshihisa, L 12
Touchard, J ., 202
Topkin, !L ili
Trainin, J., !U
Trenchant, J., 3
Ts'ang, C., ZB
Ulam, S., 2lll
van dcr Linde, A., 2lil
'"'" der Waerclen, B. L., 134 136
Vandermo nde, Alexandre, 240. 258,
259261' .905
Vejmolf•, S., U£1
Viete, Franc;ois, 10. 25. 26. 302
Virgil, ?., 50, 68, 9fi
Viviani l V ., !12
325
Volpicclli , P. , 2lil
von Neurn .. nn , J ohn, 152, 157. 158,
309
Wallis, J ., 18, 181, 182, 215
Wang, II. , 1.2£
Wamsdodf, U. C., 2fil
Waterhouse, W. C., 43
Watkins, J . J., 187. 232, 259, 260. 261 ,
262. 2fU
Watson, C. N., il1l
Wegene•·, L 2£i.l
Weidlingcr , P., 51
Weierstrass, 1<., !11
eliptic functions, 203
Welcb, L. R., 21S
Wells, D., !J.., 20, 88, 174, 200
Wilczek, F., 15.1
Wiles, A. , 211
Wilf, H. S., 3
Williams, li. C., 42
Wilson, R. J., 232, 236
Wilson, R. Il l., 192
Wood, D., :J_(}B
Xian, J.. l!i
Yardbrough, D. , lli
Zacks, S. , 63
Zarnke, C. R. , 42
Zermelo, E., 251
Ziegler, G. :''1.. 131, Llfi
Zong, C., I 19. 120, ili
FAMOUS PUZZLES
of Great Mathematicians
Miodrag S. Petkovic
AMB .IU Cd.N M~TI:I£.MA1'J C AL SOCI£T1'
®AMS
Providence, Rhode Island
2000 MC1tlr.ema: i"" Subject Cla:11rifimtion, Primary OOA08, 97 A20, 0 1A05 , 01A70, 05A05, t 05045 , 05C90, ll 004, 11009, 51E:l0, 51Ml 6, 52015, 52C22, 97040.
Por additiona l in fo n1ut.tion and u pd ates o n t his book: visit
www.ams.o rg/ b ookpages/ mbk63
Libra r y of Congress C ataloginginPublication Data Petlowit, Miodrag.
Fam ous puzzles of g reat mathematicia ns / M iodrag S. PetkoviC.
p . em. [ucJudes b ibliograph ical references a nd index. ISBN 9780821848142 (alk. paper)
1. Mathemat ic:al rec reations. 2. Ma.thEJmatics Populn r works.
I. T i t le.
QA95.P4358 5 l0  dc22
2009 20090 l'l018
Copy ing and r e print ing. (udh,;dua.l readers of this p ub H catiou, and nonp1 ·ofit libra ries acting fo r t hem, are 1 >ermiUed to make fai r use of the material, such as to copy a chapter fo r use in teach ing o r research. Permission is granted to quote br ief passages from this publication in revie ws, p rovided t he <;\Ust..ornary tl<:knowl(;ldgme nt o f t be $tll..m;e }$give n . Republi<:a.t.ion, l5'y.sterntttic copying, or muJt.iple reprod utt.io o o f any rrmterittl in ~hi1; p ub lit<ttiou is permitted on ly under license from the American Mathematical Society. R<Equests for such permission should be addressed to the Acquisitions Depa. tment, American !\{atbematical Socie ty, r 201 Charles Street, Providence, Rhode Island 020042294 USA. Requests can also be made by email 'o r e print  per!Qie eionCam or g. a.
@ 2009 by t he Ame rican Mathematical Society. All l'ights reserved . The Americtl.u Ma.tbemat.k<t l Society r< t ius oll rights :!t<except L bose granted to the United ShAot.es Government.
P rinted i n tbe U 11ited States of America.
§ The pa.per used in t his book is acid~ free a nd falls ,...,it.b in the guidelines
estabJish0<l to AllSure pe•·m a.nenca aod d ura bili ty. V isi t the AMS home page a.t ht t p://www.ams .or g/
10 98 7 6 5 < 3 2 I I
14 13 12 :II : 0 09 1
To m y fa m ily
CONTENTS
Preface
Xl ll
Art and Phot o Credits
1. RECREATIONAL MATHEMATI CS
xyu
" I
2. ABTTHMETICS
Diophantus' age (Diophantus) Number of anows (1 \fahiivim) How many rabbi ts? (Fibonacci, p. 11) Fi bonacci's sequence Chessboard paradox Square numbers problem (Fibonacci) Money in a pile (Fibonacci) Magic configuration ( Hui)
Triangle wit h integral sides (Bachet) ';>,'eights problem (Fibonacci, TM·tagl· a., .Bachet) i MacMahon's gene ral a.pproacb
9
10
11
12 13 14
15
16
17
17
20 23
24
Division of 17 horses ( Ta1·taqlia, p. 23) Wine and water ( Ta·1·taqlia) Coins in hands (Reconie) Sides of two cubes ( Viete, p. 25) Animals on a. field (Newton) P6lya's solution
Dij rrie 's va riant
Other va.rjan ts
v
25 25 26 27 28
?8
?.9
p . Sylveste1·. and the monkey ( P.ma:nu.hmaguptct) Heigb t of a suspended string (Ma. GEOMETRY 57 61 62 64 1)7 Arbelos problem (A1chimedes) A rch jJ n f::dea.a Diopbao t ine equat ion ( E'(tler) The sailors.18) Dividing t ile square (Diophcmt1!S) Wine problem (Diophantus) Amicable numbers (ibn Qo1•ra) Qorra's formula Euler's rule How many soldie rs? (Bhaskam) Horses aod bulls .hiivim) The diameter of the ma. p. .f Y01·k) Ans wers t o P roblems 3.vi CONTENT S Gathering an anny (AlC 1Ain o. 60) Generalized problem Ans wers t o P roblems 4 .Wafa) Dudeney's si:xcut dissection 69 70 73 75 76 77 78 78 80 81 82 . drop of honey Peninsula problem The same distance of traversed paths (Brahmaqupta) Broken bamboo (B?a.terial sphere ('ibn Qor1"a) Dissection of three squares (Abu 'l. N UMBER THEORY 29 30 37 41 Cattle problem (A1chimedes. the coconu ts. Dime) Dirac's solution 44 45 45 47 47 t18 50 52 .u cjrch~:o: 68 Per pendicular distance Two touching circles Minimal distance (Heron) A fly and a.56 General sol ution Unknow n address (Ra.jan) Stamp combinations (F1obenius.
Waja. Fe1mat.ne Number of bounded re2'ions Road system in a. TILING AND PAC KING 119 121 124 126 126 128 129 131 132 134 137 137 138 141 Mosaics ( K eple1 ·) Escher's mosaics Nonpe riodic tiling (Pemose. p. To!'ricelli. K owa) I<azavuki 's problem Five kissing spheres ndinlensional kissing spheres The shortest bisecting arc of area ( Polya) An swers t o Problems 83 83 86 88 89 91 94 96 98 99 101 101 104 108 109 110 110 11 2 5.CONTENTS V II Dissection of four triaJ1gles ( A. 95) Division of space by planes (Steine1') Division of pla.) Billiard problem (Alhazen} Distance of the optimal viewpoix1t (Req·iomontanus) Rugby football problem Saturn problem The minimal sum of clistaJ1ces in a. triangle ( Steine1·. Newton) The densest sphere packing (I<eple1·. 93) Dido's problem (Ste·iner·. square (Steind) Kissing circles (Soddy. Gauss) Kepler's conjecture Circle packing HaJes ' sol ution . Conway) Pemose's kitedart t iling Conway's piuwheel t iling Maximum area by pentaminoes (Knuth) Pentamino tilings Squaring the square Kissing sp heres (D. Gn3QO!~lf.bu 'l. Descartes. Cavalie1·i) Volumes of c:ylinders and spheres (Kepler. p.
viij CONTENTS Cubepacking puzzles (Conway) Answers to P roblems 142 144 15 1 6 .res (Eu. Besicovitch. Eule1·) E uleri an squa. Sylveste1·.Le1·) Latin sq nares GraecoLa. Rado) Answer s t o P r oblem s 7 . 157) Von Neumann's easy series i'vlore difficult problems The lion and the man (Littlewood. {II) Benw1•lli. Cayley) Steiner trip le system Genera.tin squares Euler's officers pro blem Euler's conjecture Parker's square of order 10 Kirkman's schoolgi rl~ 172 175 176 177 177 178 181 182 184 186 187 187 188 188 189 189 190 192 192 problem (Ki1·kman. 155) A girl and a bird ( Von Ne'UmrLnn. C O M BINAT O RJCS 152 153 156 158 158 160 161 166 171 Combination with flavors (Mahavim) Married couples cross the river (Bachet) Four o1arried couples cross the river Josephus problem (Bachet and othe1·s) Dudeney's version Japanese version Gra. p.ha. p. R. PHYS I CS The gold crown of King Iliero (A1·chimedes) The length of traveled t ri p ( Oresme) Meeting of ships ( L11cas. 180) Gray code numbers The problem of the misaddressed letters (N. p. Steine1·.mKnuthPatasnik's version Rings puzzle ( Ca1·dano.! problem Sylvester's problem .
ci ng puzzle Euler's theorem Euler's pa.) problem 212 213 215 217 218 The Petersbmg paradox (N.s) Shunting problem (L·ucas) Problem of ma.Hied couples (probleme des menages) (L·ucas) The tree plant ing problem (Sylveste•t') Dudeney's rnilitaJ·y puz. GRAPHS The problem of Konigsberg's bridges (E!lle't) Diagramtra. 211) P<<ScaiFermat's genera. Fermat.ygens) Gambler's ruin problem (Pascal.ITY The problem of the points (Fe1'mat. Eule1·) Matchbox problem (Banach) Combinatorial sum 222 224 225 225 229 A nswers t o Prob le m s 9. 205) 193 194 196 198 199 200 200 201 202 203 204 206 206 209 Answer s t o Proble m s 8 .CONTENTS ix Counting problem (Cayley) Races with ties The Tower of Hanoi (Lucas) Benares tem ple Interchanging the checkers (I) (L~1cas) Interchanging the checkers (II) (Ltt. Bernot1lli.me with dice ( Hu. Pascal. Huygens) Genera. ( III} Ber·noulli.ca. PROBABII.zle Dudeney's four planting problem Different distances (Er'diis.riaJ1t 222 The probabili ty problem with the misaddressed letters (N.th 230 231 231 231 . D. (II) Bemoulli. Cmme1·) 220 Bernoulli 's moral expectat ion 22 1 Cramer's va. p.) problem Gamb ling ga. p.
p. 2. a wolf. 268) n q ueens problem Number of solutio ns The longest uncrossed knight's tom (Knuth} Guarini's knightswitching problem A va.ph solution Listing's diagramtracing puzzle (LiS'ting) A nswers t o P r ob le m s 10.tonic solids Dira."J.c's theorem Ore's theorem King Arthu r 's knights A man.ss.in of Yo1·k} Explorers and carmibals 232 23a 234 234 236 237 238 238 239 240 242 2•1:~ Seven towns and oneway roads (Enlos) Poinsot's diagr amtra. a goat and a C<tbbage ( Alcu· n of Yin·k) i A sto ut family crosses the river ( Alc1.gic reentrant route Nonattacking rooks ( E·ul er) The eight queens problem ( Ga·u. Eul e'l'") De Moivre's reentraJlt route Eo ler)s r een t.'J) Icosian puzzle Hamiltonian cycles a nd t he Tower of Hanoi Hamiltonian cycles on the Pla.ciug puzzle (Poinsot) Complete graph K 7 and dominoes Milk puzzle (Poisson) Gra.nt route Vandermonde's ap proach Schw•m k 's thP.orP.ra. de M ontm01"t. p.riant of the knightswitching problem 260 21 )2 262 265 269 271 272 2n 274 276 . C HESS 244 245 2t16 247 248 249 250 257 258 259 21 )0 Knight's reentrant route (de Moiv'l'e. Vandetmonde.x CONTENT S Crossing over 15 bridges Tait 's net Hamilto n's game on a dodecahedron (Hamilton.m Semiroa.
a chronological ordet· Bibliography Name inde x 299 311 319 . MISCELLANY Pro blems from Alenin of Ymk Pro blems from Alm' IWafa. Amusing problems from Fibona.CONTENTS XJ Answers t o Proble m s 11.~  B iographies .s 2"f> ' .cci Problems from Bachet Huygeos' probability problems Pro blems fro m Newton Problems from Eu le r 2· 6 7 28~3 283 283 284 285 285 286 286 APPENDIX A: Method of continued fractions for solving Pell's equation 289 293 294 APPENDIX B : Geometrical inve rsion APP ENDIX C: Some basic fa.cts fro m graph theory APPENDIX D : Linear difference equations with constant Jr • co em cwn t.
.
ntiquity to the present have a. Vol.t creative stimulus and aesthetic consi demtions are closely interwoven .mdoxes .thema. .l puzzles and games endures because they fulfill t he need for diversion." ? t Perhaps t he popularity of mathema. mathema.y should be rn1s.nd diversions might lend credence to the notion tha.ctivity is a m. and it i5 a ·wholesome plCLn.~ubject j'01· discussion tha. to stock it i t the m ·i nd w· · h ilS many puzzles as poss·ble. and entertaining problems that have fostered the development of new disciplines and sparked further research. 4 (ed.mt1sing.l importance.tica. . optimization theory. since · hese se?'Ve much the same pu. . no oppO!'tunit. in thinking abo·t d logic.nd number theory. That ma. Of equa. geometry.n. .. combinatorics. No branch of intellectual a. therej01·e. a.allengiog subject matter or simply to test our intellectual capacities.l amusements also offer an ample playing field to both the amateur and the professional ma. the inclination to seek diversion and entertain ment has resulted in the uni ntended revelation of mathematical truths while also tempering mathematical logic.t hematicians from a.·man).PREFACE Mathematics is too se?'ious and. games.on~ approp1'iate . In fact. Mineola 2000) declare: " . to name only a few.sed to make it a. Important connections exist between problems originally meant to amuse and mathematical concepts critical to graph theory.ticia. Bertrand Russell (18721970) once noted: "A logicCLl the01y rno. Edvard Kasner a. The history of mathematics is replete with examples of puzzles.y be tested by its capacity jo1· decLling 'With p·uzzle. .s. Puzzles X Ill . As a motivating force. B laise Pascal Mathematical puzzles and games have been in evidence ever since man first began posing mathematical problems.nd James Newman in their essay Pastimes of past and present times (in The Wo·rld of Mathematics.lways taken interest and delighted in puzzles a. James Nev. pose as is se?'Ved by expel'irnen· s in phys·ical science. Dover. the desire to achieve mastery over ch. then.n puzzles and pa.tica.
dy mentioned. 'I'he too ls " a. and dreams and wonde1·s about. I most freq uently confronted as I selected problems was this: What determine. Another 50 related problems have been a. the famous mathematical physicist Roger Penrose.an. Huygens. . the same quaiities that make for good careful mathemat ical research. M.xiv PREFACE in one sense. no less than the child.rdUJ'IO. Kepler. Erdos and others. 'I'he rnajod ty of t hese mathematical diversions fi nd thei r basis in number theory.5k is 1 ecreational or· not? As alrea. Euler.thematical problems (ex .eter.) Donald Cox. l have provided out li nes in the book's four appendices because I believe that the t ime Md effort needed to master a ny additional rna.J and chess problems. Restricting problems to only those requiring the use of elementaq mat hematics consequently forces the omission of ot her equally celebrated problems requiring higher mathematical knowledge or familiarity with other mathematical disciplines not usually covered at the high school level. in centuries past al most all ma. Gauss.ns such as J ohn E . Pascal. Cayley.l. t he NobelPrize winning physicist Paul Dirac. 1ejlect its m al1vays youthfu. J ohn von Neu mann. At so me point when writing a book of t his kind. better than any other· single b• nch of mathematics. and absolute genius in mathematical t hought by using recreational mathematics as a framewor k. P·uzzles are made of the things that the mathematici. Noteworthy mathematicians ranging from Archimedes..nd probability.t . Even so. the eminent mathematician and puzzle composer J ohn Horton Conway and t he great computer scient ist and mathematician Donald I<nuth.. The dilemma.s 'Whethe1·· a ta. graph t heo ry a. and still others in geometrical and arithmetical puzzles. methodological approaches leavened \Vith humor. I have selected 12'7 problems from t heir worb. S. and ·inqu. Ca.i1·ing sp'i1•i.ticia. have all communicated brilliant ideas. Newton. 'I'his book also explores the brainteasing and puzzling contributions of contempora.re simple: nothing but pencil and paper.t's requi red is patience and persistence. I have purposely selected problems that do not require advanced mathematics in order to make them accessible to a variety of readers. I have made several exceptions in t he application of certain nonstandard yet elementary techniques in order to solve some problems.terial are negligible when compared to the reader 's enjoyment in solving those problems.. Littlewood . most authors must limi t their choices.nach. 1Lnspoilef}. Stepbeu Bauach.ry scientists aud matbema.~ ·in. Sylvester. (H. To help readers. ·'' In attempt ing to bring the reader closer to the distinguished mat hematicians. plays with.dded to this collection. Wha. Hamilton. jo1· they an~ made of the things and ci1·cumstances of the wor·ld he live. to von Ne umann. Ot hers find their basis in combinatoria.. Paul Erdos. Ba.
I note that. it does not aJways strictly observe the customary rigorous treatment of mathemat ical details. Mat hematicians whose tasks are included appear in the book's index in boldface. marked by *. I ha. a significant number of recreational mathematics problems have become integral to the development of eutirely new bra.r raugement of materials. followed by the autho r's name in parentheses. Brief biogra.t p. for their comments during the prepa.310. <tnd t hei r neverfailing support and love. In the course of writing this book. and proofs. Although several tasks may app ear trivial to today 's amateur matbema. An especially warm thank you goes to my wife and colleague Ljiljana.ting mathemat ical exactitude. a few comments regarding t he a. however. definitions.nuscript. I received great suppo rt from my family. deciding the recreational merits of a given problem involves imposing arbitrary clistinctions and artificial boundaries. are given as exercises to the rea.ve included sometimes amusing anecdotal material si uce I wa.plties of these contributors appeaJ· in chronologicaJ ord er on pages 299. difficulties arose wit h respect to reproducing exact quotes from various sources. we must reca ll that several centuries ago. when introducing the tasks themselves. Petkovic. . However. we must also remain alert to t hei r historical context. About 65 intriguing problems.PREFACE XV eluding. in some instances. Furtherm ore. 'While ineluding such problems provides historical insight into mathematical studies. reaJLife problen1s of measuren1ent a.nted to und erscore the informa l and recrea.nd entertain (and only incidentally to introdu ce the generaJ read er to other intriguing mathematical to pics) .tional ma.nd coun t ing) existed chiefly for intellectual pleasure and stimulation. Ultim ately.tica.p hy is given in the text behind the name of the contributor and his puzzle (for example. As t his boo k is intended principally to amuse a. friends and eclitors. Last.tisfactory. are familiar to readers. most of t hese problems were not easy to solve. Given t hat the majority of terms.tional chara. Over time.ration of the ma.nches in t he field . If the reader takes pleasure in squaring off with the problems included here. The page location indicating a particular biogra. and my elder sou Ivan. 299). The table of contents lists the tasks by their title. there is no subject index.t these minor inconveniences will not detract fTom the book's overall worth .tician.t hematics problems.ders. Acknowledgment s.l or otherwise. I t rust t ha. Fwthennore. then the author may regard his selections as sa. mathema. scientific journaJs often take as thei r subject of study problems having the same features as those that characterize recrea. .cter of the book. of course. without viola.
who read the manuscript from beginni ng to end and ma. England. remarks and criticism greatly im proved the exposition. who read a. and to Christine M. I wish to tha. Columbia University. Serbia and the Institute of Mathematics. Belgrade. I have made use of personal materials collected over a twenty year period from university libraries in Freiburg.xvi PREFACE . Novi Sad.tical Society. I am also thankful to the a. suggestions and encouragement.nt and Professor Biljana 'MisicIlic.. :France. A very talented co mputer artist and designer . but be also solved several intricate problems discussed in this boo k. Thivierge. Martyn Durra.~teur) .din1ir not only crea. great deal of the manuscript and suggested some improvements in language and style.~sistaJ1ce . Miodrag S . I especially wish to acknowledge the assistance and exceptional efforts of Ma. and Luann Cole.ok the staff of t hese libra ries for their a.nk my younger son Vladimir Petkovic for bis eyecatching ill ustrations.rgaret Alice Hanson who helped me rewrite and edit sectioJL~ of the manuscript to prepa. a production editor at the American Mathematical Society. Associate Editor for Proceedings of the American Mat hema.de a number of im provements. Austria. Tsukuba.Most of all. I tha. Serbia February 2009 . London. Vienna. Min neapolis. Serbia. Vla. Minnesota. Oldenburg. for her great effort and persistence in providing the photos of great mathematicians and several very valuable illustrations. their helpful suggestions. the Publi~her of the American Mathematical Society. GerroaJw. Many thanks go to Sergei Gelfand. for his helpful comments.ted computer artworks that are both aesthetically attractive and mathematically flavo red. J apan. the Department of Mathematics.nonyrnous referees. and Kiel. Strasbourg (Universit€ Louis Pa.re it for pu blication. I wo uld also like to say thanks to dear friends Dr. Petlcovic University of N is.
New York George Csicsery/ Zala Films Photo of Paul Erdos by George Paul Csicsery from his film "N is a Number: A Portrait of Paul Erdos" (1993). All Rights Re.li Fo undation/ Artists Rights Society (ARS). Bossard Radiolaria.ART AND PHOTO CREDITS The American Mathematical Society gra. David C. xvu . Used by permission.tisches Forschungsinsti t ut Oherwolfa. Bossard.tefully acknowledges the kindness of the following institu tions and individuals in granting these permissions. erved. England J ohn Horton Conway The pi ow heel tiJing GalaSalvador Da. American Mathematical Society Photograph of John von Neumann Archives of t be !Vla. @George Csicsery/Zala. Prepared from origina l documents in the li brary holdings of Dartmouth College. GalaSalvador DaJi Foun dation/ Artists Rights Society (ARS). Filius. Renaud Camus Photograph of Newton's birth house at Woolst horpe. which as seen from two yards change into three Lenins masquerading as Chinese and as seen from six yards appear as the head of a Roy<\l Bengal T iger.therna. @2009 Sa lvado r Dali." 1963.ch Photographs of Carl Fdedrjch Gauss. @2003 by Dr. Plate 117.c t paintings. Roger Penrose. painting. "Fifty abstra. and Srinivasa Ramanujan David C. New York Salvador Dali.
14.xviii ART AND PHOTO CRED ITS Hector Ga.14 are by Vladimir Petkovic. Princeton University and John Horton Conway Photograph of . ented in Figures 1. 5.5 and 9. 5. 1. 1.27.ph of Donald Knuth M.9. 5. 3.4.5. Escher CompanyHolland. 4. 4. C.16.2. 5.26. The University of Texas at Austin Photograph of Sir Isaac Newton AU other pbotographs were taken from pub U a'"aj Jab le sources.John Horton Conway Vladimir Petkovic Computer artworks and photographs pre. 3. 3.13. 4. 1.3.10.mcescher. University of Texas Libraries. 3. 6.rciarMolina Photogra. C .com Office of Communications. Escher CompanyHolland M.17. cly . All Rights Reserved www. 4.5. Escher's "Symmetry Drawing E67" @ 2008 The M. C.21. 5.2.
the books [6].Chapter 1 RECREATIONAL MATHEMATICS Rec1·eational p1·oblerns ha·ve su1·vived. Vol. not becaltse they were fostered by the textbook write1·s.. to Chinese mat hematicia. Accorcling to V. e.. For more historical details see. I. 4]. 28]).nd those that depend on computation. or (167. Ch.t Emperor Yu s<tw ft tortoise of divine creation 1 . e. VI]. Vol.. Ch. II]. brief overview of the h:istory of ma. Known as loshu. VoL II].nipulation a. [118]. Ch. [la3. a.thema. [153.1. recreational ma.C..ns around 2200 B.g. [167. p. the magic sq uare was supposedly constructed during the reign of t he Emperor Yil (see.g.tics co mprises two principal divisions: t hose t hat depend on object rua. The oldest magic squareloshu Perhaps t be oldest kJlOwu example of t be 6rst group is the magic square shown in the figure above. VI]. b11t beca1tse of their inhenmt appeaL to our Love of rnyste111· Ve ra Sanford Before taking up t he noteworthy mathematical t hinkers and their memorable problems. [61. Chinese myth (27] holds tha.t hematical recreations may benefi t the reader. Sanford [153. 4 3 0 9 5 2 7 8 1 6 FJCURE 1.
i 1 Named .tions. One of the earliest instances. suggests that the early Egyptians based t heir mathematics problems in puzzle form. io each. gro up of men arranged in a circle so that if every kth man is removed going around t he circle.t iou of The R. Today tile problem of enclosing tile ma. establishedl'7 centuries later. or magic squaJ·e figure.) described in the Aeneid the legend of t he PhoeniciM princess Dido. but also into Arabian and .rs on pages 4 1 to 43. After esca. kills 7 mice.ping tyranny in her home co untry. she arrived on t he coast of Nort h Africa llJ1d asked the local ruler for a small piece of la. appeariog for the fi rst time in Ambrose of Milan's book ca. The classical Roman poet Virgil (70 B. J acob Steiner's elegant solut ion of Dido's problem is incl uded in this boo k. whose complete solut ion was not found unt il 1965 by a digital compu ter. REC REATIONA L MATHEMATICS swimming in the Yellow River with the lo sht!. Ano ther of the problems from ant iquity is concerned wi th a. as calculus ofvaria. As these problems had no applica. 1923. W hat is t he total of all of them'?" 2 The ancient Greeks also delighted in t he creation of problems strictly for amusement.ost famous problems io number theory.nd built the city of Carthage that would become her new horne.ximum area within a fixed boundary is recognized as a classical ·i sope'f'imett'ic Jn'Oblern. The clever Dido t hen cut the hull's hide into the thinnest possible strips.s. the survivors and victims were sa.t of Archimedes. The Rhind (or Ahmes) pa. each ear of s pelt will produce 7 hekat. /vet!'. El'ic Peet's t1·nnsla. adorn ing its shell. perhaps their main purpose was to provide intellectual pleasure.C.ilors aod after Alexa nder Henry Rhind (18331863). t he remainder shall be certain specified (favorable) individuals. has t he form of a nursery rhyme (see [153]): "Seven houses. It is regarded as the first problem in a new mathematical discipline.h·nd Mathematic(ll P(q>yru.19 B.tiou to daj)y life. enclosed a. One name familiar to us is t ha. It is one of t be m. 370. are 7 c<t. whose the cattle p!'Oblem appea.pyrus/ dating to aro und 1650 B. named " As I was going to St. This problem. each mouse would have eaten 7 ears of spelt . is known as the Jose phus problem.. Depending on the time and location where the particular version of t he J osephus problem was raised. only as much land as co uld be encompassed by a. large tract of land a. a Scottish antiquarian. .ncl.2 1 . each cal.ts. and it found its way not just into later European manuscripts.Japanese books. Tbe figure on t he left shows the lo Sh7t configuration where t he numerals from 1 to 9 are composed of knots in strings with black knots for even and white knots for odd numbers. 2T.C. layer and Egyptologist who acquired the papyrus in 1858 in Luxor (Egypt). bull's bide.C.
indeed. 1. Four centuries later. One of the most challenging problems appeared in Buteo's book Logistica (Lyons. co pied later by Fibonacci. Alcuin. The resulting number of grain$ is 264 .551. Clavius and Tartaglia.. the king could not fulfill Sissa's wish. This puzzle attracted attention of many outstandi11g scientist s.t grains placed on a standard 8 x 8 chessboa. Wilf. Ibn Kallika. 4 on the third. A variant involves how three couples sho uld cross the river in a. Yet another medieval mathematician.d terms.615. . Speaking in broa.n 's problem of the numb er of grains is a standard illustration of geometric progressions.nd constraints were very popular in medieval Europe. (see pages 1213). 3. or 18. sluggaJ·ds a.446. Christia. 34.nted to reward the Grand Vizier Sissa ben Dahir for having invented chess. pub U shed in 1202. 1.rd.llikan's was one of the earliest chess problems. and Knuth. 2. The problem is complicated by the jealousy of the husbands. '' gottt and a cabbttge across a river. Arithmetic progressions were also used in t hese entertaining problems.nd schoL HJ·s.073. 2 grains on the second. mathematical puzzles appear in t he third section of Leonardo Fibonacci's Libe·1· Abaci. Tartaglia.nd so on. including Euler. This medievaJ scholar's most famous problem. However.. In eighthcentury England. 64. formula. the ?Y. 8 on the fourth. The pla. 8. doubling the number for each successive square. and so on.ns and Turks. gave rise to the unending sequence that bears his name: the Fibona.Lbbit prvblern.1. As Europe emerged from the Dark Ages. . ibn Khallikan (12111282). Graham. Rivercrossing problems under specific conditions a. The solution shown on pages 240.ted a brain teaser requiring t he calculation of the total number of whea. .1.709. or Fibonacci numbers as they are also known. . boat tha t Clumot cany more than two people at a time. 1560): 3 3T be translat ion from Latin is given in 11531 p . 21. Ibn KhalUkan presented this problem in the form of t he tale of the Indian king Shirham who wa. 5. Pacioli.242 demonstrates how one can solve the problem accur ately by using graph theory. ibn Kha. RECREATIONAL MATHEMATICS 3 sn1ugglers. the number of grains is so laJ"ge t hat it is fHJ· greater t han the world's annual produ ction of wheat gra. interest in the arts and sciences reawakened.cement of the grains must respect the following distribution: 1 grain is placed on the first square. Tait. a. each husband is too jealous to leave his wife in the company of either of the other men. 1559. good guys and bad guys.cci sequence.ins. Sissa asked for the number of grains on the chessboard if each successive position is the next nlilllber in a geometric progression. Trenchant and Leurechon studied puzzles of this type. the mathematician and theologian Alcuin of York wrote a book in which he included a problem that involved a man wishing to ferry a wolf.744. 13.
they also found time for recreatio nal problems and games in their mathematical endeavors. he constructed a combinatio n lock with movable cylinders displayed in F igu re 1. 1559. with each pair placed at the corners of a 3 X 3 chessboard (see figure left). 1560). T he tree grows 1/4 of a braccia between t he cat and the mouse each day and it shrinks 1/8 of a braccia every night. sketched according to the illustration from Buteo's Logistica (Lyons.1557) and Girolamo Cardano (1501. The cat climbs one braccia a day and goes back 1/4 of a braccia each night.2. 4 5 Computer . RECREATIONAL MATHEMATICS "A mouse is at the top of a poplar tree 60 bn•ccia4 high . fou r of which.! is to effect the exchange of two black and two white knights.1576) labored jointly to discover the explicit formula for the solution of cubic algebraic equations.4 1. People's interest in chess problems and the challenge they provide has lasted from the MidcUe Ages. The solution of this problem by using gra. moreover. in the minimum number of moves. and how far does the cat climb?" At about the same t ime Buteo showed enviable knowledge of the general laws of permutations and combinatio ns. B uteo's combination lock (1559) In 1512 Guarini devised a chessboard problem in which the goa. In how many days will the cat reach the mouse and bow much has the tree grown in the meantime.5 FIGURE 1.y.pb theory is shown on pages 274. Tartaglia's General 'Jlmttato (1556) descr ibed several interesting tasks. >. Braccia is an old Italian unit of length.tnd a cat is on the ground at its foot. ar twork.2. through the Renaissance and to the present da.276. tZJ tZJ 4 4 While t he Italian mathematicians Nicco lo Tartaglia (1500. The mouse descends 1/ 2 of a braccia a day and at night it turns back 1/6 of a braccia.
who published under the name of Hendrik van Etten.l.1638). Most of the famous puzzles and curious problems invented before the seventeenth cent ury may be found in S achet's delightful book. Can you believe that the joint co nnecting the gear box to t he rea. Mathematical Recleations. which is also discussed la. D e Subtilitate (1550). the division of 17 horses. Cardano presented a game. probably served as t he inspiration for subsequent works devoted to mathematical recreation.rdan shaft? In an earlier book. Girolamo Cardano was one the most famous scientists of his time and an in ventor in many fields. a.rs consider Prvblems Plaisans et Delectables. Etten's work. and . FIGURE 1.Jacques Ozanam (1640. aJld other puzzle~ of Asian origin .1891) .r with several rings on it that remains popular even now. RECREAT IONAL MATHEMATI CS 5 t he weighing problem. often called the Chinese l'ing P'ltzzle (Figure 1. a re descr ibed on pages 20. first pubUshed in 1612 and followed by t he second edition published in 1621. In addition to S achet's original "delect able" problems. Bachet's book. Chin ese ring puzzle Many schola.3. by Claude Gaspa.qeful and Recreative.nd 173. t he wine and water pro blem . that made use of a ba. invented in l883 by Eclouard Lucas (1842.nd the ferryboat problem. first published in French .3).chet (1581. Other important writers on t he subject include the J esuit scholar Jean Leurechon (1591. to be the first boo k on mathematical puzzles and tricks. The Chinese riug puzzle also bea. The p uzz le's solution is closely related to Gray's errorco rrecting binary codes introduced in the 1930s by the engineer Frank Gray.r a. Tartagli<l and Cardano.ins puzzles by Alcuin of York.1717).xle of a. 01' a Collection of Sundry Excellent P1·oblems Out of Ancient and Modem Philosophe1·s Both U. the book conta. 24.1670) .r Ba. 25 a.ter in the book. Pacioli.rs similarities to t he Towe1· of Hanoi. re<tr wheel drive car is known to the present day by a version of his namethe ca.
1895) put forth the schoolgil'ls pr'Oblern presented on pa. Euler's conjecture on the construction of mutually orthogonal squares found resolution nearly two hundred years after Euler himself initially posed the problem.ges .n English trans lation appea. Gauss gave a solution of this problem.board solution (1840). discussed by Euler and later mathematicians. albeit incomplete in the first attempts.Roget's solution In 1850 Franz Nauck posed another classic chess problem.ring in 1633. one of the world's greatest mathematicians whose deep and exacting investigations led to the foundation and development of new mathematical disciplines. offers a remarkably attractive design. Further details about the eight queens pr'Oblem apperu· on pages 269273. The thirty.4. that calls for the number of ways to place eight queens on a chessboard so that no two queens attack each other. shown in Figure 1. M. This famous problem has a long history and dates back to the sixth century in India. have led to important work in combinatorics. often studied mathematical puzzles and games. A knight's reentrant path consists of moving a knight so t hat it moves successively to each square once and only once aJld finishes its tour on the sta.4. In t hat same year. RECREATI ONAL MATH EMATI CS m 1624 wi t h a. Roget's half.6 l. Leo nh ard Euler (1707.rting square. Euler's results from the sewn bridges of Konigsbery problem (pages 230. and his examination of the chessboard knight's 1eentmnt tou1· pmblem.1783).232) presage the beginnings of grap h theory. Knight's reentrant path. is a.six office?·s problem and orthogonal Latin squares (o r Eulerian squares). the eight queens problem. These problems. Kirkman (1806. are described on pages 188 and 258. FIGURE 1. compilation of mathematical problems interspersed with mechani cal puzzles and experiments in hydrostatics and optics that most likely borrowed heavily from Bachet 's work. P. Thomas P.
best known for his results in number theory. Cayley and Sylvester among them . the subject continues to generate important papers on combinatorial design theory. and many other amusing puzzles. which is covered on pages 196.ois Edouard Lucas. this task requires a Hamiltonian cycle in a certain graph and it is one of the most important open problems not only in graph theory but in the whole mathematics.r dodecahedron that passes through ea.volume book Rect·eations Mathematiques (1882.5. have become classic works on recreational mathematics. The Hamiltonian cycle problem is closely connected to the famous tmveling salesman pmblem that asks for an optimal route between some places on a map with given distances. as already mentioned. published in 1892.5). As in Euler's Konigsberg bridges problem.Jong the edges of a regula. also made notable contributions to recreational mathematics.94). Lucas' four. Several out~tanding mathematicians. . Steiner.1856) invented the icosian game in whlch one must locate a path a. Although some of these problems remain unsolved even now. Mathematical Recr·eations and Problems. The Tower of ll anoi The French mathematician Fran<. together with Rouse Ball's. RECREATIONAL MATHEMATI CS 7 189 to 192. among them. the Hamiltonian game is related to graph theory. dealt with this combinatorial problem and other related problems. In 1857 the eminent Irish mathematician William Hamiltou (1788.199. In modern te rminology. FIGURE 1.l.c h vertex of the dodecahedron once and only once (see pages 234 237) . the Towe1· of Hanoi (Figure 1.
he published quantities of amusing problems either posed or solved by notable mathemat icians. most certainly deserves mention as perhaps the greatest twentiethcentury popularizer of mathematics and mathematica.lso as the "Boss Puzzle". During the twentyfive years in which he wrote his Mathematical Games column for the Scientific AmeJ'ican. people all over the world were obsessed by this 9 10 11 toypuzzle.1931). in tbe royal pala. 1914 Tulsa.nd holds 15 squru·e blocks numbered from 1 to 15. OK).nd Henry Ernest Dudeney (1857. . factories. using the vacant square for moving blocks. two of the most renowned creators of mathematical diversions. The "15 Puzzle" (figu re below) consists of a square divided into 16 small squares a.l recreations. VoL 4] . Mru·tin Gardner (b. in the streets. or "Jeu de Taquin") is popular even today.ces. Loyd and Dudeney launched an impressive number of games and puzzles that remain as populaJ· now as when they first appeared. RECREATIONAL MATH EMATI CS No discussion of recreational mathematics would be complete without including Samuel Loyd (1841. from 1 to 15). Loyd's ingenious toypuzzle the "15 Puzzle" (known a.8 l.1911) a. 14 15 in homes. even in the Reichstag (see page 2430 in [133. It was played in taverns. The task is to start from a given initial arrangement and set these numbered blocks 2 3 4 1 into tbe required positions (say. For 5 6 7 8 many years after its appearance in 1878.
ding sta. Some of t hem are entertaining beca. that I found on an Intem et site. T be early puzzle problems were difficult at t hat t ime due to the lack of good symbolism and they lost t heir mystery when the algebraic relations had been developed. I VIodern arit hmetic puzzles are often based on tricks or relations hi dden under mislea. We st art to count to ten ." Puzzles and entertaining problems whose solutions depend ent irely on basic a.t a scene of horr'07 'S'? Sydney Smit h In the a?"ithrnetic of love. reads: ". Most of the arit hmetic puzzle problems presented in this chapter belong to mediewtlm <ttbema.Chapter 2 ARITHMETICS What would life be witho1 m'ithmetic. Act ually.. division. Alcuin of York.tions on numb ers. ." a basic skills oriented edu cation program: reading. 9 . how many eagles will catch 100 ha~es in 100 days ?" The question is well known and seems innocent at first glance.ctoriza. It is essential to almost every profession for tas ks ranging fTOm simple everyday counting to business calc ula tions and scientific research. wr iting an d a. one plus one equals eve1ything. Here is an example: "If th1ee eagles catch thl'ee ha~es in tluee days. Aritlunet. t he oldest branch of ma.ry scbool we first enco unter "the t hree R 's. A mnemonic for the spelling of "arithmetic". Mahavira.t bu. to add to hundred .be bouse may §. mult iplication. the correct answer cannot be given wi t hout ro ore inform ation. aml two m inus one equal.round us and is used by a lmost everyo ne. subtraction. and finally root ext nl.Ii t hmetic operations have been in evid ence from an cient t imes to t he present.Ction.themati cs.tion. This is arit hmet ic (o r aritbmetics) . fa.ri t bmetic.ll a.tements. Migno n McLa u ghlin In elementa.ics is a.!!: r. congruence calculation. and power computation. then gradually increase our operation ability using addition.9 noth·ing.use t bey are unsolvab le upo n given information. which records elementary properties of the above opera.at ! he ice £ream.at in !.t ici<t ns such as Diop bant us.
Of course.ther than with problems of elementary arithmetics. is included in this chapter. 1. recall that a si milar question was posed mu ch la. and · he fath. * * * D iophantus of Alexandria (ca. four years before Diophantus himself died at the age of 84.nd one of them. respec· tively.p terson number theory and arithmetics. t . a hnost everyone) can easily solve t his problem.(te1· h mo1e.n t he facts of his life (see.chet.ter. number theory. Once asked about his age. there were exceptions a. Today every pupil in elementary school (well. 200ca. Katz [113. Some details ca n be co ncl uded from t he collection of puzzles in the Greek Anthology compiled by Metrodorus around 500 A. after the development of the power algeb raic methods and i a.?·s old in · he year x 2 . Diophant11 ' boyhood lasted k of his life.+ .183]) .+ .10 2.01s. and his son was b01'n 5 yea·rs later·. aos of roodern era bave dealt wi t b new theories and disciplines ra.g. 173. according to the above information we form the equation . Reco rde and Viete. h e rna." Knowing that de Morgan was born in 1806.+ 4 = x 6 7 12 2 X X X X ' wherefrom x = 84.s mo1e. the eminent Brit ish mathematician Augustus de !v1organ answered: "/ was x yea. This task served to determine how long Diophantus lived and to identify other important dates in his life.e? died 4 years afte?· the i son. Second . Speaking a. . The reaso ns for sucb se· lection are twofold: first. which contai11s the fo llowing puzzle [37j: Proble m 2. the na. However . problems of this sort were formulated in an· tiquity only by words and the Jack of a good symbolism made them difficult to represent and solve.+ 5+ . Diophantus married at the age of 33 and had a son who died a t the age of 42. pp.bout the ages of great ma. If x denotes the numb er of years Diophantus lived .. Therefore. e. Ba.me used by some authors) are separated into two cha.lgorith. 01atbemat ic.rried ajte1· .D. AR!THMET!CS Fi bo nacci. the proble01s of classic a.thematicians. 284) (7 p. Tartaglia. ascribed to the great Newton.rithro etics aJld higher a:rithmetics (that is. h·is beard g1ew a. t t ' the son lived to half his fa·he?·'s age. 299) Diophantus' age Diophantus' co ntribution to mathematics is better known tha.
India. which gathered a wealth of practical material a. Ind ia} in 1912. F ibonacci 1170.nd a.nd integer solutions of first degree indeterminate equations.bic numerals. combinatorics a.lready known in Chi na.r y mathematics. ·in · he fonn of thin cylinde1·s with ci1·cula1' C1"0SSt section. In this book we give three problems (see below and Chapters 3 and 6) tba.2. still in common use in Europe at that time). determine the total m£mbe?' of the ar. Rangacarya and published by Govemrnent Press (l\lladras.de Morgan's age.t the use of the symbols 0 to 9 was much more convenient than the Roma. somet imes went hy t he name "Bigollo" . 300) Leonardo Pisano.Sangraha by Mahiivira. Liber· Abaci. published in 1202. If the1·e exist eighteen circumferential an"'ws.t can be found in Wells' boo k [186] .Ara.havira was a ninthcentury Indian mathematician who wrote on elementa.1250 took these p roblems from Mahavira's book The Ganita Sam. 1 Wells . Libe1· Abaci (Book of Calculation) . 870) (+ p.Arabic numerals instead of Roman numerals. 300) Ma.ca. 800. Fibonacci encountered numerous mathemat ical problemsolving tech niques. in pa rticula r. Leonardo P isano (Fi bonacci) {11701250) (+ p. a. and the Islamic worl d. was the most influential mathematical wo rk in Europe for at least three centuries.ny journeys.n assortment of problems. Fibonacci wrote a. especially in bringing a positional numbering system and the new form of number notation (Hindu.n numerals."'ws to be found (in the bundle) within the qui·ver·. translated by l\11. After his return to Pisa. number of important texts as well as his masterpiece. Mahiivira ( ca. the new Hindu. better known today by his nickname Fibonacci.NUMBER OF ARROWS 11 we form the quadratic equation x 2 = 1806 + x and find the positive solution x = 43. * A1"1"0WS. he trave led widely with his father who held a diplomatic post in North Africa. can be packed in hexagonal bundles. As a matter of fact. wh ich may possibly have meant "goodfornot hing'' or "traveler" . Throughout his ma. 1 Number of arrows Problem 2. He figured out tha.
12
2.
AR!THMET!CS
How many rabbits?
A problem in t be th ird section of Fi bo nacci 's famous book .L ibe·1· Abac· i (1202), led to the introd uction of the Fibonacci numb ers and tbe Fibona.c ci sequence for which he is best remembered today.
P roble m 2.3. A man bought a pai1· of rabbits. How many pa·irs of mbbits
can be pi'Odttced fr'Om the o?"iginal pair in a year· if it i.s as,q· med that et1e1y u month each pa.ir begets a ne· pai1· that can rep1'0d11.ce a.jter· tu10 months'? w
The solution to FibomJ.Cci's problem is given in Figure 2.1 , where the total number of pairs of rabbits is presented by the number of black points, counting from the top to the considered month. The numbers of rabbit pairs make a sequence 1, 1, 2, 3, 5, 8, 13, .... It is easy to conclude that any member of this sequence is equal to the sum of the previous two members. Therefore, the next members a.re 21, 34, 55, 89, 144, 233, . .. and hence, the total number of rabbit pairs in a year is 233.
~~1~
<J>
1~1~~
2 2~
/
number of pairs of rabbits
'
FIGURE 2.1. A graphical solution o f Fibonacci's rabbit problem
In the middle of the nineteenth century, the French mathematician Edoua.rd Lucas (1843 1891) named the resulting sequence "Fibonacci's sequence" 2 It is interesting to note tha.t the Fibonacci numb ers 1, 2, 3, 5, 8, 13, . .. l~<<d been mentioned explicitly in discussions of Indian schola.rs, such as GopiUa.
2Some witty guys ba.v e proposed "•·abbit sequence" .
FIBONACCI'S PROBLEM OF RABBITS
13
i a.nd Hen1 a.cha.ndra., before the appearance of Fibonacci's book, Libe~· Abac· (see [115]) . As mentioned, Fibonacci's sequence satisfies the recunence relation
F,, = F,,_l
+ Fn2
for n
> 3.
The explicit formula for t he nth term F,. (assuming F 1 = F2 = 1) is given by
F = ....!.._ [ (
"v'5
1+ J5) " _ ( 1 J5) "]
2 2
(see (D.6), Appendix 0). 3 V/hen using a calculator or a computer, it is easy to compute the nth member F,,. Since the influence of t he second term ((1 \1'5)/2}<'/ J5 is negligible because 1  J5)/ 21< 1, it is sufficient to calculate t he first term (1 ((1 + J5)/2)"IJ5 a.nd round off t he result to t be nearest integer to obtain t he exa,ct (i nteger) value ofF,.. To be n1ore exact,
F, =
"
l__!_ [(12 1\/S)n + 2 j '. ~J J5
where lxJ denotes the greatest integer less t han or equal to x. For example, for n = 20 one obtains
1 1 J5 ( l +2v'5) 20 + 2 =
6,765.5000295,
so that F 20 = 6, 765.
Let us note that the Fibona.cci sequence possesses a number of interesting and remarkab le properties (see, e.g. , [31, Ch. 2], [43], [88], [182], [185]). The Fibonacci QuarterLy, a rna.tbema.tical journal la.unchecl in 1963, is devoted to studying mathematics related to the Fibonacci sequence. lt turns out that this sequence is extremely versatile and appears in many different areas of mathematics, such as optimization theory a.nd the analysis of algorithms; it a lso a.ppeaJ·s in physics, chemistry, biology, architecture, and even in poetry and music. The first eight Fibona.cci numbers in a scrambled order 13, 3, 2, 21, 1, 1, 8, 5 appeaJ· in t he very popular novel TheDa Vinci Code by Dan Brown.
3 Daniel Bernoum (1700 1782) published this formula in 1728. It seems th at Abracham de Moivre ( 16671754) also knew this formula, which is often a. tributed to the Fre nch t mathematician Joc.ques Binet (17861856).
14
2 . ARITHMET ICS
Fibonacci's sequence gave rise to a mu ltitude of amusing problems to claim the attention of many mathematicia.ns. Below we present two wellknown geometric paradoxes. Perhaps a little bird will tell you a solution.
Proble m 2.4. * Let us conside1· an or·dinar·y 8 x 8 chessboar·d cut into fotw pieces two t1apezoidals and two triangles as shown in Figure 2.2(a) .
If these fo ul' pieces are put together in the shape of a r·ectangle as shown in Figure 2.2(b) , one obtains a 5 x 13 rectangle co1l'taining 65 smallsquams (one square more) . TherefoTe, 64 = 65?! Similarly, if we cut a 13 x 13 chessboaro into j01w pieces and reassemble the pieces, we obtain a 1ectangle 8 x 21 containing 168 small squares (one squam less, see Figu1e 2.3). In this ca.se we obtain 169 = 168?! Can you explain these pamdoxes?
...
l l.
lllllllpo.,
...
b)
a)
FIGURE 2.2. Chessboa rd pa radox: 64 = 65!?
..
\
"
~
'
~
po.,
.... po.,
... ...
...
b)
r"
\
a)
FIGURE 2.3. Cber;sboa rd pa radox: 169= 168!?
The first paradox "64= 65" can be found in a great variety of books (see, e.g., [88], [138]). It seems that the earliest reference appeared in the work Rational Rec1·e ations (1774), written by William Hooper . This paradox was la.ter discussed in Zeitschr·ijt fii1· M ath.ematik tmd Physik (Leipzig, 1868).
SQUARE NUMBERS PROBLEM
15
The Italian a.rtist Ma.rio Merz (b. 1925) has been obsessed for many years by the F ibona.cci numbers. In 1994 he decorated the chimn ey of t be Energy Power P lant in Turku (Finland), as an environment a.r t project, designing the Fibonacci numbers by neon tubes (Figure 2.4).
FIGURE 2.4. F ibonacci's numbers on the chimney in Turku (Finland)
Another example shows that Fibonacci's numbers can be applied to compose plane figures .
Problem 2.5. * Make a rectangle without any gaps by '<!sing small squmoes whose sides are the Fibonacci numbers 1, 1, 2, 3, 5, 8, 13 and 21.
Square numbers problem
In his book, Libet· Quadmto1·um (Book of Squares) (1225), Maste r J ohn of Palermo, a mem ber of Emperor Frederick II's entourage, posed the following problem to Fibonacci.
Proble m 2.6. Find a squa1''e nurnbe1'' .such that, when five is added o1· Sltbtmcted, the result is again a square mtmbet·.
16
2.
AR!THMET!CS
Master John 's problero can be interpreted the systero of equ.a.tions x 2 + 5 = y 2 , x 2 in solving a. more general problem in which cong1·uous numbers, that is numbers n of the
as finding int.eger solutions of 5 = z 2 . Fibonacci succeeded he introduced wha.t he called form
ab(a + b)(a  b)
a.nd
when
a + b is even
4ab(c£ + b)(a  b)
when a + bisodd.
He showed that congruous numbers are alwa.ys divisible by 24. He also showed that integer sol utions of
can be found only if n is congruous. Since Master .John's problem is obtained for n = 5 and since 5 is not co ngruous, it follows that this problem is not solvab le in integers. However, a. solution to tbe problem exists that uses rational numb ers. From the facts t bat 720 = 122 · 5 is a congruous number (with a= 5 and b = 4), and that 41 2 + 720 = 492 and 41 2  720 = 312 , it fo llows by dividing both equations by 122 that
41 49 31 X= 12' y= 12 ' Z= 12'
which is a solution in rational numbers to x 2
+5=
y2 , x 2

5 = z2 .
Money in a pile
pile, their shares being t, t, and fi of the total amount, 1·espectively. Ne:~.:t, each man takes some money j1'0m the p·le until no money 1emains. Now i A 1'etu·m s ~ o.f what he ·ook, B :f, and C t When · he returned money is t divided equ.a.lly among the men, it tm71.S 011.t that ea.ch h<l8 what he possessed at the beginning, bej'o1·e 1emoving money j'r'Om the pile. How much money was 1n the orig·inal pile?
Problem 2.7. * Three m en A , B , a.nd C each place money ·i n a common
t.
Yang Hui (ca. 1238 ca. 1298)
(~ p. 300)
Chinese mathematician Yang Hui was a. minor official who lived in the thirteenth centw·y. Yang Hu:i is best remembered as being t he first to represent Pascal's triangle, basi ng his achievement on the work of ,·mother Chinese mathema,tician Jia. Xian. He wrote two books, da.ted 1261 a.ncl 1275,
MAGIC CONFIG URATION/ TRIANGLE WITH INTEGER SIDES
17
which present works with decioHtl fractious, calcula.tious of square a.nd. cub e roots and t be earliest exta.nt docum ents in matheo1atics education io ancient China..
Magic configuration
Hui's second book Ya.ng H~1i 8'!tanfa (Yang Hui's Methods of Computation, 1275) contains the following magic configuration (see [186]).
FIG un.E 2.5. Magic configuration
Problem 2.8. * A1·mnge the rw.rnbeTS 1 to 33 in the srna.ll ci?cle.s shown u t ·y i.n Fig· re 2.5 so that every ci!·cle ·including i· s center and eve1 diamete1· has
the same sum.
Claude Gaspar B achet (15811638) (7 p.
302)
As mentioned in the Preface, Claude Gaspar Bachet, the French mathematiciaJ1, philosopher, poet, and a member of the Academie des Sciences, wrote the first books on mat hema.ticaJ puzzles a nd tricks ever published. His book P1·oblemes Plaisants et Delectables (1612) contains many mathematical puzzles, arithmetical tricks and recreational tasks.
Triangle with integer sides
A Heronian t1iangle is a. t riangle having side lengt hs t"l.nd t"l.rea expressed by rationa.J numbers. Multiplying t he three side lengt hs and a.rea of such
9. The conesponding triples of numbers (x .bles us to connect the above problem with Pythago1ean t·riangles. Namely.qe ar·ea is 24. and c can be calculated using the Heron formula A = . where s = Ha + b + c) is the semiperimeter.ngle by their least common mu ltiple.1) The relation (2. if (~:. If m and n (m > n) are natural numbers. 1) and. (2. then the trip les (k~:.. we know that the number of Pythagorean t riples is infinite.go rean trip le.tura.1) is of the form :r2 + y 2 = z 2 . after squa.a)(a + c . right triangles whose sides are integers. then Pythagorean triples can be generated by the twoparameter formula. AR!THMET!CS a tria. From number theory.n 2 ) .n) · (m + n). Proble m 2.b)(s . Solution. we have 4A = 96 = k(m 2  n 2 ) = k · (m.l number k . 2bc = k(m2 + n2 ) . .ring we obtain A2 = 1 16 (a + b + c)(b + c. y. kz) are also P ythagorean tri ples for any na.a)(s. b2 + c2  a2 = ±k · 2mn. z) is a. Some famil iar PythagoreaJl triples are (3.r y manipul<1tion. The area of a triangle wit h sides a. tl'iangle with integer· sides 'U. having in mind (2. 4. . Find a. after some elementa.Jho. Substituting s in the above formula.c).2) Let us retw·n to the relation (2. y. 5) aJld (5. ky . is obtained.l>)(a + b . b. a new Heronia. we write 4A = ~:(m 2 . The last relation can be rearranged in the fo rm (2. Claude Bachet considered the fo llowing problem. 13).18 2. or.c).gle witb integer side lengths and area. In particular. that is. z) are called Pythagorean l:riples.ny Pytha./s(s . 12. whicb ena.2).n trian.
the required Herouian triUid (4. 6. we find the pajrs (b. 16 = 2 .cto rs in t ile followi ng ways 96 = 1 . 11) . 4 . ( 1. 10. 16 = 1 .ngle (6.k 2 ) . c) and calculate the third side a by the formula a = )b2 + c2 ± 2kmn selecting only integer values of a. this solution is contained in 4gccl(7> (J)g•·eatest com mon d ivisor o f two numbers 1> and q.cft).1) . angles with the area equal to 24 a. + k 2 ).ctors rn . 8. After the checking procedure we find that only t riples (2. (2. 12 = 2 .8. 10) wi t h the given a rea r1' = 24. 4 . 4). nand A satisfy t he conditions gcd(m. (1. 2 .ra. 24 = 1 .8.5. . m .ndidates to give integer sides a. . (3. where t is an integer multiple and A • is the originally given 1nea. 11. For example. However. By splitting k(m 2 + n 2 )/ 2 = b · c into two factors (when it is possible) .ss of Heron ian triangles wit h A = t 2 A". 24 = 2 . 23). 6 . T hen the required side le ngths are (aft. n) (m > n) which are possible ca. 14. (4. 8 = 4 . b. (2.1) give integer sides. t he paramet ric formulae direc tly produce the integer tria. but omit the other solut ion (4. 25. 3 . 15). where integers m . I.k 2 ) . 13.8.re (6. 5). 10). 4 .metric version of the complete integer solutions to Heronian t riangles in the form a = n(m2 b = m(n2 + k2 ). b. 4 . 2). b/ t. (1. 6. where the first digit stands for k . 12 = 3 .4 The above formulae generate at least one member (a . 10) < Carmichael [35] gave t he pa. c = (m + n)(mn . . c) of a required cla. The underlined combinations should be excluded since the fa. k) = 1. 8 .4) and (4. 15). In this way we obtain t he following t rip les (k . 2).TRJANGLE WITH INTEGER SIDES 19 The integer 96 C<Ul be factored into t hree fa. 13. A = kmn(m + n)(mn. n. c : (1.5. mn > : k 2 > n 2 n / (2m + n) and m > n > 1. 13. 48 = I. 3 . .n and m + n are either bot h even or both odd. 32 = 1 . 96 = 1 . 2 .
P roble m 2. 15). D. 90) with A = 864 = 36 · 24 = 62 · A• . 13. Jet us fit together and t hen overlap these two triangles along their common side 12. Obtuse trian gle with int. 13. 15).ced in only one of the scalepans. 13) and (9.6.rdo Pisa. 13 a.no) 5 1b is the abbreviation o f r>o1Jmd""' 0.45:3 kg. incl~1sive. Problems Plai.6. Next. 12. see Figure 2.be triple (24. The obtuse triangle wi t b sides 4.s et Delectf1bles.nd 15 (in bold face) yields tbe required aJ·ea 54 . 302) p. 78/ 6. 5 Bachet gave two solutions describing two separate cases: (i) t he weights may be pla. (ii) the weights may be placed in either of the scalepans.30 = 24. 15) to find triangle (4. including thi~ classic problem of weights. 301) p. Wells mentions in [186] a trick method that co mbines the right t riangles (5. Fibo nacci (Leona. In addition to Bachet . 5 9 FIGURE 2.20 2. . giving t = 6. 12. 90/ 6) = (4.10.chet himself wrote. ARITHMETIC$ t. collects a multitude of problems many of which Ba. Detennine the least munbe1· of weights necessary to weigh any intege1· numbe1· of po~mds ft·om 1 lb. to 40 lbs. t he original triaJ\gle wi t b the area 24 is (24/6.9ant.e ger sid es Leonardo Pisano (Fibonacci) (11701250) (+ N iccolo Tartaglia (15001557) (+ p. 300) Claude Gaspar Bachet (1581. Hence. 78.1638) (+ Weights problem Bac:het's highlyregarded book.
so that the choice of 6 weights satisfies the conditio n of the task. . Q = a. t.t Leibniz._ J + · · ·+a3· 2'·+a2 · ' I + a 1· 2° (ak E {C 1}.4) is Q = ( 1 · · · 11 1)2 (the nwnber written in the binary system wi th n wtits) .. r'ight·wrong. t 3 . The weights t 1 . t hese so lu tions give t he least possible number of weights required . and 27 lbs.t every coeffi cient a. His treatment of bina.20 .. 40. poli tician. · 2. .3) bolds for every Q = 1. 2.2·nJ .2.. 4. 9. lawyer a. n}) is 1 if t he weight tk is placed o n the scalepan and 0 if no t .r·k . . 3.. .1.tisfied the solution.ry was main ly pbilosopbical. theo logist. . sa. Assmning t hat there a re no co nstraints in the problem posed . if we take "> t' 1 . t 2 . eel using (2. 8.k (k E {1.. t2. 4.. . (' 4) T he largest number that can be expres. the great German ma. Therefore. t he first person to study bina ry num bers was Gottfried Leibniz. yesno.n.. 16. . .2. . which is equal to (1 · .bove solutio ns. . 16.. be the requ ired weights.t hematician.2 + . . and 32 lbs. . lightdo.4 .1 = 63 > 40. k· A = 1.n tha. and 32 lbs. . philosopher.nd Niccolo Tartaglia <IJ'e ofte n cited in literature as having solved va ria. ) 2. physicist.ds to tbe a. \Ve observe that (2. . Consider first the variant (i).11 t2 . 2.y have been close to the concept of co mputing .5uch as malefemale. . 8.3) is equivalent to the re presentation of nun1bers in the binary system. a philoso pher. Taking n = 6. 2. it is necessary (t~nd sufficie nt) to take the weights of 1. + 2 2 + 2 1 + 2° = 2" .. t. Let Q be any integer numbe r of po unds < 40 and let t 1 . However .nd li nguist. assun1ing t ba. t n .2 l .  ·· · . ·111)2 = 2" 1 + 2" . Peter B entley wrote in The Book of Numbe1·s [16]: "He {Leinbiz} believed that the un·iverse could be rep!'esented mo!'e elegantly tlwot•gh binary and its conflicting. Other solut io ns with unequal weights do not exist. In case (ii) Bachet found that the series of weights of 1. onoff nat1tr·e .WEIGHTS PROBLEM 21 a." Does t his mea. Let us explain now what reaso ning lea. ma.  we wi ll obtain J. 2.nt (i) with the following series of weights: 1. have to be chose n so that t he equality (2.. We see t hat the use of the binary system goes back to the middle ages and probably centuries before Fibonacci's clay. Indeed. . we obtain (11 11 11}2 = 26 .
.. ..nd so on.1 would be regarded as a "digit" of a.t case.1)/2 = 40. 9. tz = 3l = 3. In this wa. the representation (2.5) would suggest t he use of the temary system with the base 3. b.ritbmetic operations. have the following values: bk = . units) .. According to the righthand expression .l number 23 is transformed to form (2. The procedure described in case (ii) will be illustrated in the examp le of Q = 23 lbs. . Let us retum to the solutio n of Bachet's problem in case (ii).5) where coefficients b1 .nd 3pound .roe scalepan as the weighed 0 if the weight tk is no t placed in either of the sca. 3 + (1) . If the value . the set of 1..ble of performing ba$iC a. = b~. bearing in mind tbat the work of digital computers is based on tbe bina. 1} and the greatest integer number of the form (2. we conclude that the 1pound a. = 1 if t he weight t. and 27pound weights sa.+3°= 3"' 1 2 .6) i~ q = (1· · ·111)3 (the number written in t he ternary system with m.. is placed in the sa. Thus. Taking m = 4 we obtain (1111)3 = (3 4 .l + ··· + 32 +31. .ry numbering system? Quite possibly tha.tisfies the condition of the problem. Then Q = 23 = 1 . 1. AR.Jepans. a. t3 = 32 = 9.tculating machine capa.t man of all professions and trades may have been the first computer scientist and info rm ation theorist.. we first perform the conversion of the integer value Q from the decimal system into the "num ber system" with the base 3. 0. Bachet used the same idea as above (case (i)) and represented Q E {1.. t~. 3. In 1671 Leibniz invented a ca. L5 placed in the scale.. number system. b2 . taking the weights t 1 = 3°.22 2 .6). . .y decima. Here bk E { 1.1 if the weight object. In t ha.40} in the form (2. b~.pan not loaded with the weighed object. that is. 27 + (1) .ITHMETICS machines in his thinking. which is equal to (l ·· ·ll l)a = 3m.
formula for solving cubic equations.tbema.pproach does not give all solutions. Qv. Somehow he survived but his injuries left him with a permaJ1ent speech defect that led to the nickname "Tartaglia!'. Volume 21) t he English mathematician P. Maclvlahon fou nd eight solutions: {14o}.{113 : 27}.t Skill). {1. {14. Tartaglia was the victim of sucb severe inj uries that be almost died. while t be 27pound weight is in the other scalepan. {l. and 4 weights of 9 lbs. To solve t his problem. 94 } denotes that 4 weights of 1 lb . {14. {1.a. but Cardano published it in h. which means the sta. tueights problem and man·ied CO'ltples cross the ?'iver·. CMtsed a bitter quarrel between Ta. T he la. Although he fully credited del Ferro and Ta. MacMahon generalized Bachet's weight pro blem. are presented on pages 20 and 173. i oreover. 30 1) vVhen Tartaglia was a boy of a.mmerer.glia. A. In the Qu. despite a.l. t he French invaded his nat ive city of Brescia a. while two others. 27}.rta. A1·s Magna (Grea. are several problems that were considered as challenging and serious in Tartaglia. Below we reproduce two of them. In fact.bo ut thirteen.glia.esiti et lnventioni D·ve?·se (1546) a. this formula was remembered most often under Carclano's name.27}. he completed t he solution M of the presented problem since Bachet's a.r·terly Jmwna. Niccolo Tartaglia (15001557) (+ p. Scipione del Ferro and Ta. independently discovered the cubic formula.rdano. t he Ca. The notation Wk denotes that k weights are needed.ils of Bachet's weight problem.l of Mathematics (1886.' s time but which today have acq uired a recreational character.94}. later became one of the most influentia.rtaglia and Cardano. 3.y for his formula.Tarta. 27}.ble sets of integer weights to weigh all loads from 1 to n . 313 }.J Itali.ttato (1556). Rouse Ball and Coxeter [150] a. his sol ution requires the least number of weights and it is abo the only one in which all weights are unequa.. are necessary. However. i Included in his. {1. His poverty prevented him from receiving a proper education.9.ns of t he sixteenth cent ury.glia.rta. Ta. Fo r example. . known best toda.. Ma. 94}.t icia. the solution {1 4 . each of which weighs tv lbs. 3.WEIGHTS PROBLEM 23 weights rnust be pla.9.~t of the Listed solutions belongs to Sachet.cMahon determined aJl conceiva.ced in the scalepa n together with the object weighed.i s boo k.n ma.nd br utally massacred local inbab itants.rtaglia for t heir discoveries. he applied the method of generating functions discovered by Euler. painfully difficu lt childhood .nd Gener·al Tl'a.34.nd Kraitchik [118] discussed some of the deta. The question of priority of this formula. In this way.a.
2.ct ions.9).7). 18 : 9 = 2.3. Actually.11. 6 a. After th is division.n be implemented when n horses must be divided a. b.mong three brothers in propo rtio ns of~ : t : ~ · It can be show n that there e:l. t be borTowed horse was returned to its owner and the problem was solved.= .2. J.l of 17. Indeed. 18 : 3 = 6. since ~ + + t = :~ < 1. Tartaglia. (23. However.'ist seven possible values of n .2. the division was not done in a proper way.ITHMETICS Division of 17 horses Proble m 2. tota. A dying man leaves seventeen ho1·ses to be d·ivided among ~ .4. 2 > 1. and the youngest brother 1/9. the next 1/3. In general case.s wilt? ! :! : To simplify calculating with fra.24 2 . . He then divided and obtained 18 : 2 = 9. moreover. t he brothers rememb er to bor row one horse from their neighbor. not divide ho rses according to t he proportions of way t ha. t bey receive 9.tisfied wit h their "clever" solution of the division problem.2. t : *: ! . .nd 2 horses. t his contrivance ca. t 6A Diophant ine equation is an undeterminate eq uation in which only integer solut ions are required . (41.er dividing 18 into the correspo nding parts.'1. 6 a. ( 11. any division gives a remainder.ble solution according to the terms of t he will'? Actually. Since such a. a b c n+ 1 The above problem is closely connected with another interesting one about dividing 17 horses among brothers tha.neuver result in an a. a. .4. AR.ccepta.2. no. the brothers do but in such a.2. (17. In this st.6).2.+. Can the br'Others carry out thei1· his three sons in the pmportions father'.3. did the bro thers' clever ma. T he wo rd diophantine refers to Diophantus of Alexandria (third century) who made a study of such equations. Then they return the borrowed horse to the neighbor. it is not possible.8) ' (11 . which meant t hat the so ns received 9. quite sa. Aft.nd 2 horses. each of the brothers receives more since 9 > 1 6 > 1. for a totaJ of 17 horses. division is impossible.ory. Owing to t he fact of the borrowed horse. (19.+.t the oldest brother receives 1/2 of all horses.t can be found in literature devoted to popular and recreatio nal mathematics.8). contrived an arti ficial method whereby a horse is borrowed. t hese nat ural numbers are the only integer solu tions of the Diophantine equation 6 1 1 1 n . which give a.3. c: (7 .5) .12).3.
9 rmd r·eplac·ing them with wate•. Viete studied and practiced law.9t haf:f of i'ls .s in his r·ight hand. 356] quotes Recorde's explanat ion: "To avoid tl•e tedious repetiti01'1 of · hese word8i8 equal to[ will set as I do often in work use. I<atz [113. arithmetic.nt takes out 3 TJints of wine fr·om a. " .cker.ts squm·e and its cube.l t bo ugh be eJ 1gaged in mathematics only in his leisure time. wa. 7 Although he served as a physician to Edward VI and Queen Mary and later became Comptroller of Mines and Monies in Ireland.1603) (> p. one of the most influential Engli~h textbook writers of t he sixteen th century. mat he mat ician and astro no mer. he very qui ck ly s ucceeded io breakiog the Spanish a. r·e moving ·i n totrrl 9 pint. and Sylvester. * A dishonest serva. 302) The great Frenchman Fra n !.<•use no 2 things co. · he dilute(l wine ·r emaining in the barrello. In addition. he made important cont ributions to geometry. 15101558) (> p . a. In his book The Whetstone of Witte (1557) he int roduced the modern symbol = for equality.rrny's o1ost complj cated ciphe rs.fonnel' t stn~ngth. During the wa. How m~1ch tuine did the barrel originally hold'? Robert Recorde ( ca. Viete's d eciphe ring skills greatly influenced the final outcome of the war. * A man has in both hands 8 coins. be<:. As did Fermat. The fo llowing task is fro m Recorde's boo k The Whetstone of W·i tte. <IJld e ven later a ro ero ber of t be king's Couocil. How many coins a1e in each hand? Francois Vi ete (1540.s SW'in(lle.ois Viete was not a mathematician by vocation.ts his theft twice.1 2. Viete was a.lle/8. Coins in hands P r oble m 2. and also provoked accusations from the Spanish that he was in collusion with the devi l. ro aste r of requests io P aris. ban·el (Lnd 1eplaces them with the S(L!ne amount of 'W(Ltel·. and the same p1·oced1we applies to the number· of coin.~ a physician.n extraordinary codecra. algebra and trigonometry.13. Cayley. a pai1· of para. thus 7 =.'vVI NE AND WATER/COI NS IN HANDS 25 Wine and water P r oble m 2. Both S'ltrns obtained in this way make 194. As fL ·result t of thi.n be mm·e eqMl. A.r occasioned by Spain's attempt to place a pretender on the French throne. The number of coins in his left hand is added to i. Recorde was arrested under mysterious circumstances and died in prison in 1558. 301) Robert Reco rde.s of one length. He 1epeo. becam e a member o f the Breton parliament. p. OT t gemow {tU!inj line.
a high concentration of :Mercury was fou nd in his body.ve . * Calculate (x .a)(x .s othe•·s. his arrogance a.a)(x.n d physicist of Jewish origin.nd difficult be haviour were well known. 1251).9een further than others. It is less known that he was obsessively occupied with alchemy and theology. 16. a= (a+ b). Their co mbined scient ific genius int rod uced revolutiona. it is haJ·d to believe that he actually spent more t ime performing his experiments in laboratories than he ever did in mathematics. We would L to see you r reaction to t he fo llowing "genera lization." .nces in mathematics a nd other bra. Find the sides of the cubes.y sh. ARITHMETICS Sides of two cubes Problem 2. t he English mat hemat ician a. "8 81 also like the following q uip attrib uted to Harold Abelson .l work in mathema.nches of science. Only two men can be compared to him by their achievements: Archimedes of ancient Greece and the Genna.b) = x 2 (a + b)x + ab.t many wellknown details are omitted.n mathematician Carl Friedrich Gauss. it is because I've stood on the shoulders of giants. There is a vast literature about Newton's life and his monumenta.l t ime. so tha. spurring rapid developments in numerous directions. then (x. Isaac Newton (1624. we encounter the wellknown Vi/He's rule: If a and b are the roots of the quadratic equation x 2 + ax + (:3 = 0.tics and physics. that is.o1Jlders. (:3 = ab .ll historica. a professor of MIT: "If I have not seen as f«r a. vVhen we solve quadratic equations in high school. it is because giants were standing o» m.b) ··· (x .15.1727) (+ p.ry adva. most likely as the consequence of his alchemy experiments (see 1 p.14. Nevert heless.z ). Jsaa(! Newton 16241727 Newton was not a pleasant and modest man. he is cred ited wit h the following famous quotation having a modest flavor: "If I ha. When he was buried in Westminster Abbey.ffer·ence of their· volumes is 504.26 2 . 304) Isaac Newton. * The diffen~nce between the sides of two cubes is 6 and the di. is considered one of t he greatest mathematicians and scientists of a." ike Proble m 2.
several elementary problems.r ger one.tional mathematics tasks. 9'vVritten in Latin in 1707 and translated under the title Universal At·tthrnetick in 1720 (edited by John Machin). a number of these problems co uld also be considered as recrea. Animals on a field Although Newto n laid t he founda tions of mode rn mat hematics by solving difficult and challenging problems. Speaking a bout animals. The anecdote that accompanies his invention demonstrates t he great mathematician's absentmindedness.ANI MALS ON A FIELD 27 FIGUR E 2. Newton is often credited with the invention of t he "catflap" . To enable his cats to come and go as they pleased without disturbing his work. The following task is a typical one t hat appears in Newton's boo k Uni'Versal A ?'ithmeticA:. Newton bad two cats: a small and a la. England Newton's book A?'ithmetica Universal'is9 co ntains. In this chapter we present a problem about animals. he would surely have realized that one pet doo r of t he prope r dimensions would have sufficed for both cats. Newton's birth house at Woolsthor pe. it seems appropriate to give here a story abo ut Newton a nd his cats.7. Had he considered t he mat te r more thorough ly. he constructed two doors for them: a small one for the small cat and a larger one for t he big cat. whlle some other problems are given in Chapter 11. amo ng its very influential contri butions. .
re land.16 .the quantity of grass per acre when the pasture is put into use. cxj {3. m2.the quantity of gra. ACC07tnt·ing fo•' the t uniform 91'0wth mte of gmss. 36 oxen will consume 24 acres in 18 weeks. cmos graze y" fields bMe in z" days '? ba~e . how many oxen will it 1equin~ to consume 24 ac1es in a pe1'iod of 18 weeks? George P6lya presented a. in 9 ·weeks. T herefore. Problem 2.the nurnb er of acres. 162]. x' cows graze y' fields ~:" in z' days.tt).'ists between the nine magnitudes x to :. t the numbers of weeks in the three cases considered. ARITHMETIC$ Proble m 2. we find a = 36. 12 oxen consw·ne 3~ acres of pa. Acco rding to the condi tions given in the task we can form a. a . The above task has ma.ss t hat grows in one acre in one week. 21 orcen cons1trne 10 acres of pastu. obtains 'YI f3 appear as unknowns. "' . in z da. Solving t he above system one m[mtaztz('t. Let us introduce the fo llowing quanti ties: a .m2a1t1('t.tions.ys. m. * What ?elation e1.t1) Substituting the numerical data from Newton's original problem. respectively.28 2.t2)] a= m1m2t(t2 .17..the quantity of grass eaten by one ox in one week.3 . system of three equa. a 1 . general solution in his book Mathematical Discover·y [142." if: x co1J. = (2. mt.ny variants. m.7) where a.the number of oxen. a2.ln 4 1veeks. I.9t·u?"e land. t 1. Vol.2(o: + tn) a2t2/3. f3 . the 6rst of whicb is given in Heinricb Dorrie's boo k [54]./s 97'aze y fields ban. t 2 . m(a +'h)= at/3. m. . The three tasks that follow here appear frequently in literature. p.t(O: + tt"i) = attd3.
The cow and the goat ea.ys. . the emu and the goo.20.s.ns tlm~e times as many sheep.ticiru1. gmzing t daily.:ys.th at the monastery of Augsburg. · he goa't. includes Ius tasks.rne q·uantity of gmss as the goat and the goose together·.. included these problelllS.hwenes (Problems for Quickening the Mind}. In how many days t will the cow.* Every day a flock of sheeJJ gmze grass in a field. 10 0zanam's . 1803.ng pn~pamtions fo1· wm·. in how many da.t the court of the Empero r Charlemagne.f the gmss in the field. English edition. Many puzzles and tasks have survived to the present day. a goat. and Ute goat and · he goose ·in 90 da. the king of a powe1j1tl co·unt1y O't'der.fonn daily m · e of grrM.19. and churchman Alc uin of York spent his life a.. If the field supports a. ma.se in 60 da.n asl!'uming that the gmss grows itt the same daily 1·o. flock of 10 sheep each day.ticaJ a nd logical puzzles writt en two centuries afte r Alcuin 's dea. if it flock contai. collection of fiftythree amusing problems. way that the ser'Vant 10ill enlist the same rv!trnbe. then this lo.ss in 20 da.t all of the gr·ass in the field in 45 days. * A cow.1'ger flo ck wUL consmne all of the !JI'C!SS ·in 4 days.te? Alcuin of York (735804) (+ p. How many soldie1·s wilt be collected in all'? Let u. 299) The English schola.st shi1·e alone.ANIMALS ON A FI E LD/ GATHERJNG AN ARMY 29 Auotbe r V lHiatioo of Newton's probleo1 reads: P roble m 2.y. 10 the earliest known European collection of math eroa. and a goose gmze gmss in a . He wrote a. In such a case. P roble m 2. I.IJS will rt flock of 25 sheep. Gathering an army P roble m 2.·· of m en ft·orn each shi1·e as he has collected until that point. 171. Pmpositiones ad Ac1tendos . In maki. p.rrive at the first shire ha. and the goose togethe!' eat all o.thema.s growth. to the second in the company of one soldie1·.$ his se•l"uant to assel"nble an anny from thiTty shinis ·in such a. Vol. he would a. Assuming a 1mi.18.field.s first assume tbat the serva nt is oot included in the count at eacb stage. t agai. consume all of the grass in the field? The following tas k includes a combinatio n of familiaJ· farm aJl imals. then the flock will consume all of the g?YJ. The se1'vant tr·avels to the fir. riddles and trick questions.ving gathered no Recreaticms Mathematiques.r. The cow eats the sa.
Therefore. Johannes Ke pler knew t his formula. Befo re we explain t hese para. The total number of soldiers (together with t he servant) on leaving the thirtieth shire is obtained by summing t he geometrical progressio n. . F n+l F n. it is sufficient to sum .rs. the French astronomer and mathema. p.. If 18 anows are visible in the pa.= 2:Jo = 1. and so on. we give one of the most beaut iful relatio ns o n the F'ibona.. .s necessary.4.s far a. Ntunber of a rrows 2. FIGURE 2.8. To find t he number of arrows in a bundle.ppea. t he servan t must include him self a.8) J eanDominique Cassioi. 2 1 Let us note that the nwnber of soldiers. 4. 1 (serva.30 2.. <1Jld thus wo uld ga. 11 According to ISS. the adding sto ps when member 18 of t he series a.824.cka. 292).073.doxes.rrows in all. Answers to Problems 2. ARITHMETIC$ men.2. the series 1 + 1 · 6 + 2 · 6 + 3 · 6 + · · · + k · 6 + · · · (see Figure 2.cci numbers . known as Cassini's identity .tician.s t he first soldier.nt) + 1 + 2 + 2 2 + ·· · + 2 29 = 1+ 230 1 _. S.t ber none there.ge.741.. a.ll We leave the proof to the reader alt ho ugh we no te that co mplete induction is a convenient device.8). not including t he servant. already in 1608.t  Fn ·2  ( 1)'' (n > 0) . there are 1 + 6 + 12 + 18 = 37 a. the totaJ collected wo uld be zero! Therefore. a:nd the numbers on leaving each shire are 2. is t he same as the number of moves necessary to transfer 30 rings in Lucas' Towe1· of Hcmoi puzzle (see page 195). stated this identity in 1680. (2.
H.5. F. F6 = 8. while the second example yields 21 x813 x 13 = 1 (one squa. do not coincide exactly in direc tion.A NSWERS TO PROBLEMS 31 Let us note t hat the numbers 5. 21. 1~ 0 . In the first example we have 13 x 5 .9. a. The following challenging question is quite natural: Can we obtain perfect sq1wres by this process (excepting the t rivial case of the unit square)? J. Only a very precise drawing enables us to distinguish such a small a ngle.dox arises from t he fact that the edges of the four pieces that lie along the diagonal of the formed rectangle 5 x 13. and Fn+l • we can dissect a.8 x 8 = 1 (one square more). which appear as dimensions in the a. squaJ·e into four pieces by using a. 13 21 3 5 F IGURE 2. 13. The para. The solution is given in Figu re 2. we can easily prove t hat the area of the "hidden" lozenge is equal to that of a small square of the chessboard .bove dissections.8) . after reassembling.a rctan i = arctan 4~ :::::. 2. one square will be created (when n is even) or lost (when n is odd) .9 . In general . F 8 = 21.ny Fn x F. 8._ 1 . Fi bonacci's rectangle It is easy to observe that the constructions of larger and larger "Fibonacci rectangles" can be continued in an obvious way. whose acute angle is a. This diagonal is not a st raight segment line but a smaU lozenge (diamondshaped figure). E. + 1 x F. by taking Fibonacci's numbers F. similar construction that. Vve shall explain this phenomenon on t he example of t he 8 x 8 chessboard .re less) . Acco rding to Cassini's identity (2.1. F1 = 1:{. form a rectangle F.re Fibonacci's numb ers F5 = 5..rctan ~ . Cohn [38] proved in 1964 . Using analytic geo met ry or trigonomet ry.
It is easy to show that t he sum in the originaJ pile. is a.te equa.32 2. .s denote t he original sum and:~ the sum returned (equaJiy) to each mao.tion 7s = 47x . 55. 8. Fi bo nacci too k s = 47 and x = 7. B : ~(s/3x) .x) + (s/6.l number. . 2. Thus the sums taken fTom t he original pile are 33.7.s/ 3.x. Since t hese are t he sums possessed after putting back l / 2. 5 6 The sum of these amot. . retmning and sharing) t1. 10 .re expressed in integers. solut ion . Hence. na. l / 6 of what they had first taken. 13.10 (see Needham [131]).. 34. they possessed s/2 x. t hat is. 2(s/2  x) + (s/ 3. which provides that all tmnsfers of money (taking. F IG URE 2. 2.x) 3 2 6 5 = s. 21 . The solution is given in Figure 2.(s/ 6x).x. where d = 1. s/6 . Let . 2. AR!THMET!CS t. Magic configurationa. 2.tma. t he minimal sum with this property is . 3. l.mts gives the original sum . Before the three men received t his sum.hat there ex. 89 and 144. the amounts first taken were distributed as follows: A: 2(sj 2x) . bas t he form s = 47 · 6d = 282d. 13. and 1.8.s. 5. which reduces to the indetermina.ists the unique square with the request.9 = 282. l/ 3.ed property co mposed from the squares with sides 1. C: .
8 + 82 wherefrom + 83 t=  2t .3 .nd replacement. 21/ 3 2 l/" 3  1 ~ 14.y + (x + y) 3 . .13.3(x . respectively.A NSWERS TO PROBLEMS 33 2.12. .3)/x.2~. from t he last Hence ~: = 3. tbe amo unt of wine a.3 . After one remova. After t he t hird removal.3(~.3)/x) X .54 pints.nd its strength are a 1 = x . :l:y = 15.3)/x and the amount of wine in the barrel is a2 x. the wine removed will be 3.l a.3 .3)/x) X Since the strength of wine remaining in the barrel is expression we come to the equation 83 = 1/ 2.92 = 3(x.24t = 194.3 and s 1 = a 1 f x = (x .3~:y(x + y) = lf we put x + y = 8 and :r. Let the barrel originally conta.y = t. the last equation becomes (x 194. fL 3 = 3(:r. while t he amount of wine and its strength in the barrel are. . Then or + y) + (:1: + y) 2 .3(x . On the second removal the amount of w·ine removed will be 3s 1 = 3(x .3(x .3) /~:.3)/:c ) fx .in x pints of wine. 2.3 . Let x andy be the numbers of coins in hand. its strength is s2 = a2 /x = (x .
nd :y be the sides of the given cub es. 2 . y = 2. + 15 = 0 wi th the solu tions 3 a.8~.34 2. we com.nd 5 meaning that if x = 3. then y = 5.ch cow's daily grass consumption of Q. The refore.x. and ea.'' y' 1l' y' z' y'' z" 0 .e to the quadratic equation ~: 2 .y = 6. let t he initial a.ch field be lYl. As in Dorrie's book. Solving the system t ~: . xy = 16 we find x = 8. whe refrom · = 16.b)··· (x .y)(x 2 + xy + y2 ) = (x  y)[(x.z'' :'t''Q = Vl/e recall one of the basic properties of the theory of linear systems of equations: The determinant of a system of n linear homogeneous equat·ions possess·ng n unknown$ that do not alL vanish {M . y 3 = (x . Therefore.17. (2. The twentyfourth facto r in the product P = (x .z'' :r.z:cQ = 0.  .ch field m . y' M + y'z'm . Then x .z ) is (1: 1:) (= 0) so that P = 0.y) 2 + 3xyl = 504. and Q in o1w case) must i be equaL to ze!'O. 2. We can then form the following system of linear homogeneous equations: yM + y zm . Let x a.mo unt of grass co ntajned by ea. 0.z'x'Q = 0.a)(x . putting x .y = t we obtain 1 6(36 + 3t) = 504. AR!THMET!CS Introdu cing y = 8 . the daily growt h of ea.z' :c' . Since x3  x3  y 3 = 504.zx . and conversely.15.9) we howe y 1JZ . The solutio n of this tricky problem is very simple (if you have a flash of inspiration). 2.9) y" M + y" z'' m . the required numbers of coins are 3 and 5. 14 . m .y = 6 and :. for the system (2.y = 6.
expressed in some unit. then two goats 1md one goose will ea. we give a not her. 100 + 5x = 25x.' y' y" 0 . assuming a constant rate of growth for the grass. a.lso expressed in the same units. Let x be the required number of days necessary for 25 sheep to eat <\II of the grass in the field. . Let A denote all of the grass in the field .ll of t he grass in 45 da. tis the desired unknown.t all of the grass in the field in 90 days if during tha.18.A NSWERS TO PROBLEMS 35 After multiplying both sides with . Then we can state t wo equat ioos: A + 20 (days) ·B (units of grass) = 20 (da. 25 sheep will eat all of the grass in 5 days. A + 20B = 200.19. A + 4 (days) ·B (units of grass) F1·om the system = 4 (days) ·30 (sheep).  ::::" x" 2.t the same quant ity of grass in tha. A + 4B = 120.1 we obtajn the desired relat ion y yz y'z' y" z" zx: z' :r. However. Since the cow eats as much grass as the goat and the goose together . and weeks are replaced by days. This task can be easily resolved starting from system (2.ys. As above. Hence we conclude that the gottt can ea. = x (days) ·25 (sheep). somewhat shorter solution. 2.t same time.nd let B represent the quantity of daily grass growth.t and the goose to eat all the grass (90 days). we form the equation A+ x (clays) ·B (units of grass) that is.t time t he goose eats only the grass growth . This period is twice as sho rt as the time necessary for the goa. wherefrom we find x = 5. Thus. we find A = 100.nd the cow and t he goat can eat a. a. a. 7) of the three equations and assuming that a = 25 is known.ys) ·10 (sheep). B = 5.
ts 1/60 aod the goa.t in one day 1 1 1 60 + 90 = 36 of the grass supply. the cow and the goat can eat all of the grass in 36 days while the goose eats only the grass growth in the same number of days.fter a Uttle thought we rea. AR.ITHMETICS According to the previous consi. Hence. Answer: the cow. . t be cow ea. a. for one da. the cow and the goa.Jiz.tioo.t together ea. goa.e that.t eats 1/90 of the initia.dera.36 2 .t. Therefore.l supply of grass.y. and goose can eat all of the grass (that grows uniformly every day) in 36 days.
lly important area in munber theory. Today.n especia. but it has not been resolved yet.") was solved after 357 years and many wrong "proofs".nth SynqJhony bea~Lt·if!Ll. b.ful.nd many functions (for examp le.s the su. the arnica. ~f n:umber·9 ar·en't bea?t'ti. . Fo r example. Numbers luwe fascinated people from the dawn of civilization.s Beethoven's Ni. the quality of the programs a.s the q· een of mathematics. nothing is. Number t heo ry is full of many profound .ntine equations a.. then the equ. 300 B.284) was known to the early Pyt ha. u Carl Friedrich Gauss Why a1e nurnbe1·s bea~Ltifu.rn of two phmes" has a very sim ple formulation. subtle and beautiful theo rems. On t he other hand. Number theory.t stud.te test in the co nstruction of 37 . Recall that Fermat's Last Theorem from 1637 ( "lf an intege1· n is greate!' than 2. has set tra.Chapter 3 NUMBER THEORY MathemaUcs is the queen of the sciences and numbe1· the01·y i. Paul Erdos Number theory is a vast and very attractive fi.sking why i.eld of mat hematics tha. primes and prime factorization. programmers have been testing thei r skills.goreans. and c.nd the power of digital compute rs solving problems of number theory and discovering various curiosities in tltis field.l'? It's like a. Generating prime numb ers is the ultima.C. it can be claimed thai~ number theory possesses magical charm and inexhaustible wealth.) shO\ved that there a re infinitely many prime numbers. Diopha. yet puzzling na. From the beginning of the computer era. Euclid (ca.ble (friendly) pair (220.p s for mathematicians and caused even some eminent mathematicians to make a oumber of fa. the proofs of problems a re often very difficul t and lie in exceeding obscuri ty.ation a" + b" = c" has no sol1•tions in non.ies the properties of whole ou mbers .ulty assumptions.t ure. more than any branch of mathematics. Fo r these reasons.::em intege1·s a . Go ldbach 's conjecture (stated in 1742) that ''Eve1:'1 even intege1· g1eateT than 2 can be whtten a. Riemann zeta function) make up a. A number of results has a simple and comp rehensible formulation.
The main reason is t hat it does not require a. "God made integei'S and all else ·is 'the wol'k of ma. excepting some co unti ng and measuring problems.ticia. starting from the cattle 11r·o blem. and L lence. An essay on amicable numbers and suitable generating formulae of ibn Qorra and Euler are also included. NUMBER THEORY digitaJ compu ters because extensive calculations quickly point out different problems in their design. According to legend .t tempts to present a few of the recreational gems in t he theory of numbers.. " This chapter a. one of the greatest rnat herna. This is the most famous and oldest ancient problem of numb er theory. in fact . mentioned in Homer's epic The Ody.thematics is as popular a.38 3.nd boiling liquids on enemy ships tha.ns who ever lived.ny centuries ago the main purpose of most ma.n never· give it up . Some of ancient stories are.l 1Anothe r legend tells that Archimedes also co nstructed a la. ma.) (t p.c.llife problems and geometry. Vvhi le Archimedes thought about cattle. legends about Archimedes' contrivances made to aid the defense of his native city Syracuse against the siege directed by the Ro•n<1Jl generaJ Marcellus.it.ssey. A German mathematicia. Rarnanujan houses. 299) As mentioned in the preface. Number theory is a lso tbe ftworite science of leading mathematicians.rge "burning gl= minor" . although some of these problems sound today rather as recreational ones. Kronecker is the same fellow who once sa. Dirac chose a monkey and sailors.id that.l pleasure and diversion.ing.ticaJ tas ks. these ived in contented indopeople becMne oblivious to the outer world . was mainly occupied with rea.having tasted this food they ca. The extant worb of Archimedes can be found in Heath [100].tbema. * * * Archimedes (280 a. You will find mostly the problems of Diophantine's type. Dijksterhuis [52] a. Sylvester and Frobenius stamps and coins and Euler horses and bulls.n Leopold Kronecker (18231891) said: "Numbel' theol'ists are like lot1tseateJ's..ched to the city walls too closely. Archimedes constructed mova ble poles for dropping heavy weights a.c. myt hical people. No other branch of ma. was to provide intellectua. Bhaskara soldiers on the battlefield. ascri bed to Archimedes. catapults with adjustable ranges and other defense weapons.nd Stein [169]. Constantly eating lotusfru.220 a.mong mathematiciansamateurs as number theory. '·' Lotuseaters Me a.n.ny lengt hy prelinlinary trajn. with the only desire never to leave the Lo t usland.t approa. Archimedes.
starting with some of Archimedes' most famo us problems. but the last story seems to be false. With a little help of physics and mathematics we find that the length o f the latus rectum (the straight line through the focus p erpendicular to the axis} is equal to the p arameter p in the equation of para bola y 2 = px. we include t hem in this book.212 B. Perhaps the previous legends a rc true. we fi nd th at the mirror's diameter (that is. s1.£ 3. Since the focus of the parabola.ARCHIMEDES 39 F IG UR.C FIGURE 3 . the length of the latus reclurn) would measure 1> = 200 meters. assu ming that an enemy ship is 50 meters from the city walls a nd situated just at the focus of Arch imedes' burning mirror (p/4 = 50 meters}. For this reason. Catapult. evidently an impossible length. . y2 = px is at (p/4.2. A rch i mede~· "c rew. Archimedes 280 B.Arch imedes' defense weapon We regard many of these problems from antiquity and the Middle Ages more as recreational mathematics.1.c .ill used in various p a rts of the world in t he shape of a paraboloid to set firo tQ enemy ships. 0).
ncient Greeks were deeply interested in numbers th.22.40 3.t resemble geomet ri c form s.r numb ers are the tetra.tion P ).3. Therefore. 1. t be nth triaJtgu lar number ha. Messenger of JVIathematics 48 (1918).hedra.nalogies to the planefigurative numbers (a... . Triangular numb ers are the numbers 1. = !n(n + l)(n + 2) and t hese a re th reedimensional a.J numbers P1 = 1.t are simultaneously square and tetrahedral except 1. The sums P. This unique solut ion of t he Diophantine equation n2 = 1 m(m + l )(m + 2) 6 The proof of this is difficult and we was found by G.2.3(a. .goreans observed that the sum of successive odd natural numbers forms a.ctually. of consecutive t riangula. = P.1 = n 2 . thus S. . 6...re infinitely many num bers t hat are simul taneously squa.tive num bers.re and triangular. Squa re a nd triangula r numbe rs • • • There a.. The Pytha. P3 = 10. Watson in 1918 2 omi t it .t is.. Are there numbers t ha. 2 The problem of the squa•·e pyramid. N UMBER.)).11 .tural numbers (see Figure 3.. these numbers are very closely related to the solution of Ramanuja.a. N. . see Problem 3. for some natu ral numbers n and m grea ter than 1'? This is the socalled cannonball p!·oblem and the answer is yes.) FIGU RE • • • • • • • • • • • • • • • • • • b) 3. Surprisingly. the numbers of equal spheres that can be piled in pyramids. called figura. = 1 + 2 + · · · + n = n (n + 1)/ 2. THEORY The a. S. . P2 = 4. ...900. hence the denota. = 1 + 3 + · · · + 2n.n's Problem 3. but there is only one number: '1.3(b)). P4 = 20. tha.. given in this chap ter. P.s the form T. 3.. :1 a. square (Figure 3. 10. and can be obt ained as t he sum of t he first n na.
'>!.)x + z.4. + ~: = y= Z= c+ 1 5) (Y + y) .r number. 1 G + i}(Z+ z). 3See. e.tisfy the following nine equations: w= X = C + ~)Y+Z.ions Albin Michel. l<rumbiegel. These numbe1·s sa.1. G D<x + x). E. Paris 1949. . B. now commonly referred to as the cattle prob lem. 121.ngula. This problem is t he best known ancient Diopbantine equation and reads: P roblem 3. The sun god had a herd of cattle cons'iS'l'ing ojW.n tb is cha. Y.. Celebres Problemes MatMmatiques. A. . Callandreau. in the Wolfenbiittel library.tm des Archimedes. 153171.g. Historischliter<u·ische Abteilung der Zeitschrift fiir J:vlathematik <md Physik 25 (1880). Amthor.s Problema Bovi?\1. Y +Z Detennine the total nmnbe1· of cattle T = W +X + Y + Z + w + ~: + y + ::.491v2 = 1. ::.. y ..m made up of twentytwo distichs ascribed to Archimedes. ~V +X = a square number. X. These verses state a problem.+ . Z (1·espectively) of tuhite. After somew hat tedious but elernent1uy manipulations:\ the above system reduces to Pell's equation (see Appendix A) tt 2 . spotted. Dc. x.ARCHIMEDES ' CATTLE PROBLEM 41 The first problen1 presented i.nd involves square and triangular numbers. = a tria.729. cows of the siune shCLdes. ! 'J ' Y = G + DW+Z. black. w = (. Cattle problem In 1773 Gotthold Ephraim Lessing discovered a Greek epigru.pter rn ost li kely comes from Archimedes a. and bmwn bttlls and w.. . Edit. G+ ~)(IV + w).136. pp.
ins tt = 109.033.732.545 digits.315.986. R. compare it with the above solution co nsisting of 206.543.4 77..049.55081800. Nelson [1321 confirmed the result in 1980.232. Zamke [187) was pub lished in 1965. According to Donald Knuth (Science 194 (1976)) .g. .829.545 digits. as well as some other mathema.735. a. C. Let us note t hat Lessing and also Nesselmann.866. civil engineer named A. THEORY Solving th is equation by the co ntinued fraction method 4 . Some of them have co mmented that the solu tion is senseless. Rouse Ball a.531digi t number that directly leads to the required (least) sol ution consisting of 206.433. In 1889. See. the smallest value of which contains 206.485. also. one obta.9'79 . but a. Davenport's book 145]. They spent four years at the job.90 1. an "astronomically large" number.819. Williams.ticians. Using a CRAY1 supercomputer.. although he did not find the solution.420 omitted digits.. were convi nced that the a bove problem should be attribu ted to Archimedes.. R. The final solution by H.234. ea. Readers interested in the exact number of cattle may fi nd all 206. Bell and two friends formed the Hillsboro Mathema.986.tical Club (Illinois) and started the computation.545 decimal digits was printed on 42 compu ter A4 sheets. Amthor (1880) was the first to determine the total number of digits of the smallest solution. H. Beiler estimated in [14] that a sp here with a ra.821.088.ctua.lly it has only 126 digits. the total number of protons and neutrons in the known universe i~ about 10 125 . The a uthors performed calcula. the solution reads 77602714. the outstanding Danish researcher of Archimedes' work.545 digits.549. A.545 digits in the paper [1321. 237983357 . v = 50. undaunted by what lay before them. J ohan L. e.340. H.42 3..074.nd others. disputed the autho rship of Archimedes. A. L.540. NUMBER. which greatly simplified the computations.ch of the six dots representing 34. The total computing time required was 7 hours and 49 minutes and the obtained resu lt consisti ng of 206. leading to the solutions of the original problem.408. German and C.tions on the digi tal computers IBl\11 7040 and IB M 1620 using a special procedure for memorizing very large integers and converting them from the binary system to t he decimal system. On the other hand. Appendix A. Heiberg. In its abb reviated form. 4 For t his method see. computing 32 of the lefthand <1nd 12 of the righthand digits of the 206. 734.931.di us equal to the distance from the Earth to t he Milky Way could co ntain only a small number of animals even if they were the smallest microbes. giving remarkably huge numb ers.
this condition fa.658·m )2 k. 3. 7.393.443 · km all colo1·s Archimedes would be amazed a. k . 4. mathematicians from that t ime would h ave h ad great dilficulties with this prob lem. i Hint: Consider the corresponding Pell's equation a.213 . let us mention an interesting discussion which took place in the pages of the journal Histor·ia Mathernatica a.nd formulae given in App endix A.360 . in their estimat ion. 21.760 ..365 . Namely.129. P.713.. A co ntroversy arises from an unclear translation of the Greek text.389.482 · km 7. W..507. 5...ajls about th e cattle pr·oblern can be foun d in t be recent work [123] of Lenstra. 5 Many . Wa. 4..515.914.ARC HIMEDES' CATTLE PROB LEM 43 Furt ber det.258 .t.439. k.th solution white black bulls ' (m = 1' 2 • 3• · · · ) cows 7..2.ils for the brown cattle. He presents all solut ions to t he ca. 10. k.588. aLl cattle 17. J7.t this result. 29.639 .880 .149... At aJlY rate.366.082 .. k..t erhouse 1180] <lisp uted this approa. many centw·ies afte·r Archimedes...5 72.tica. k. the tas k posed a..820 · A :.426.607.. Fi nally. . even today. 50. consider t hat t he presented formulat ion of the cattle p1·oblem was c reated at some later period . According to Schreiber.4.353.ncl precise 5 and has a solution.!·.387 . * Devise a jo'lmula that gene'f'ates all numbe'f's that me s ·rn1>ltaneously squrL?'e and t?'iangulll.358.060 · A :. k.246 ..842 . C. = 368 238 304 ' m. while mathematical conditions aJ·e written in straightforwa rd mathematical terms.281. k.858.600 . v'609 + 84. 9. k...ttle problem given below: w = 300.. 12. stylized poetic form which is mathematically inelevant.bout the solvability of the cattle problem. mathema t icians.893.873.460. Schreiber [154] asserted t hat the known "solutions" contradict one of the con<litions (which reads: "In each . the beginning of this essay is mathema.G58·m _ tv .677. k.514 .206. but these days the cattle problem is an easyaspie task even on a standard perso nal compu ter lasting only a fraction of a second to solve the co rresponding Pell's equation (see Appendix A)..334..spotted brvwn 10. k.. k.ch since he regards some parts of t he Greek text only as a.sM·t of cattle there are rnawy mo?'e bulls than cows") given in the wording of t he problem.Jiy quite clear a..054. P roble m 3.766 ' ( tv4.
where x and y are rational solutions of the last equation. where a is an arbitrary rational num ber .3. Ferma. Diophantus introduced the substitution y = ax . The last formula.te) algebraic equations.. generates as many solutions as desired.ch this rnaryin is too nat'I'OW to contain.9qu. cub e into a sum of two cubes or.. 299) Diophantus' book A7'ithmetica was written in the third century in 13 books (six survived in Greek.t wrote: "l Jwve r1 tt'uly marvel 01<.!. In the margin of the 1621 edition of tltis book. NUMBER THEORY Diophantus of Alexandria (ca.w_o o 2o = 16 . Solution.. any nth power (n > 2) into a sum of two nth powers.S p1ooj of this p1oposiUon whi.b. Let b be a given rational number and let x 2 + y 2 = b2 . 6 Diophantus . Beside t he fame of bei ng the most prominent work on algebra in Greek mathematics.te problem whose sol ution Diopbantus expressed in the form of a quadratic polynomial which must be a Sqllare. y = 12/5. p. 284) (_. another four in medieval Arabic translation). Taking b = 4 as in Dio phantus' book. This is a n indetermi na.44 3. Diophantus' A7'i.thematician Fermat in which be states the impossibility of dividi ng a.nd zero were not known in his time. Divide a given . Tbe folJowiog two problems &·e selected from this book.thmeti. which satisfies the given equation: 16)2 _ ( o + (1_2)2 = . 200ca. To ensure a rational solution.ca is also famous beca.use of t he note made in a copy of it by the renowned French ma. It is a collection of 130 arithmetic problems with numerical solutions of (determinate aJld iodetennina.6 Then which reduces to 2abx = (a 2 + l)x 2 Hence 2ab a2 + 1 · X= . for a = 2 it follows that x = 16/5." This did not employ this exact notation since negative numbers a. Dividing the square Problem 3. in genera.ar·e nttmbe·1· into ttuo squa~es.
an Arab of the elevent h 7 Also Konah.s ( Gn~ek money) a liter of fine wine and 5 dmchmas a liter of Q!·d·inM'!J ·wine. " According to Beiler [14].ctuaJiy have tbe co n ec. conics aJld astronomy. * A man bought seveml lite1·s of two kinds of wines.e sum of the proper divisors (the diviso rs excluding t he number itself) of each of them is equal to t he other. Peter Bentley. 110. 4.a. It is said th. 5.ati cia.l numbe• and.s t be only known pajr for some 2000 years. 44. while the sum of t he proper divisors 1. t his extraordinary property of the two numbers was t be ca. A polion ius.ns. 20. This wa. the author of The Book of Numbe1·s [16] said: "Today Fermat is ·remembe1·ed most fo?' what he did not w1·ite down. 11.l sum of rnoney he paid ·is equal to the sq· a1e u of a nat·um. " Wine problem P r oble m 3. wrote on elementary algebra. The tota. Archim edes. Pythagoras set the amicable pa. it g·ves the sqtAat'e of the total quantity t i of the wine e:L'P?'essed in liters.4. Indeed. there ' was once an experiment performed by El Madsclnity. 22. Amicable numbers The discovery of amicable or ft•iendly numbe1·s is ascribed to Greek mat hem.use of a superstition that a pair of talismans bearing these numbers wo uld ensure a perfect friendship between the wearers. He was paying 8 dmchrna. the proper clivisors of 220 a re 1.ir (220. 71 . . added to 60. 2.t's dea. 4. following V.t two nun1bers are amicable if and only if th. 2.lso on fa nciful topics such as magic squares and amicab le (or friendly) numbers. It is believed toda. 142 of 284 is just 220. Pythagoras is attributed to finding one such pair 220 and 284. So. p.t did not a. i Tiibit i bn Qorra (826.y tbat Ferrn a. see Beiler 114). 249n. The task is to find the quantities (in lite1·s) of each kind of w· ne. but a. 300) The Arabian scientist T ab it ibn Qona (or Qurra. Ptolomy and Theodosius.t proof of this conjecture.28 4) (the only one known in his t ime) in t he context of a discussion of friendship sa. 55. famous for his remarkable translations of Euclid (Elements) .yiug that a friend is "one who is the othe? I such as are 220 and 284.th . 10. and their sum is 284. Katz [113.901) (~ p.WINE PROBLEM / AMIC ABLE NUM BERS 45 note was discovered after Ferma.
and the resulta.296. and himself eating 284 at the same time..4.1.tion.JFarisi (died ca.416) as a second pair. As a result of ibn Qona's investigation. and B = 2"r. The simplest case n = 2 gives primes q1 = 5.t French . p.m. El Madscbrity did not report the outcome of this experiment.micable pa. Forn > 1. 104J or [l l3.5. r . q. letq. 2661): Ib n Qorra's the01·e rn.t. and 1·. are thr·ee prime numbe1·s. 1·2 = 71 . FIGURE 3. who tested tbe erotic effect of t he a. the following theorem was proved (sta. = 9 ·22 ". Three centmies later the grea. = 3·2'" .. are amicable.. If q.icable pa.284) by giving one perso n 220 special ~akes to ea. Qorra's rule for generating a. q2 = 11 .1 .1. Amicable numbers 220 and 284 No advance in the field was made until the ninth century when T a bi t ibn Qorra undertook the study of t he following question: Problem 3.. p. 18 . Unfortunately. State a oneparomete?· formula which genemtes amicable numbe1·s.ir (220.irs was rediscovered by Fermat (1636) and Descartes (1638) ._ 1 .46 3. 1320) announced (17 . N UMBER THEORY century. then A = 2"q.284)... which was already known to the Greeks._ 1 q.nt pair of amicable numbers is (220.ted here in modern nota. see j32. no new pair of amicable numbers was discovered until another Islamic mathematician Kamal alDin a. Despite the existence of such a fruitful formula.
584 . .1. 4) . the above lists and other lists made up to 1866 do not include the relatively small pair of amicable numbers. +m (2'1.n 3. then the Euler's ru le is a genera.416) .i1· p?·oduced by E11 .nd C.micable pa. The 6rst few pairs (m. as well as many other examples. show that ibn Qorra's. generating formula. Proble m 3 .Jiza. Pomera.437. + 1) . 18 .437 . T his pair was discovered in 1866 by a sixteenyearold Italian boy. In recent years.l number·s p = 2'"' (2''m + 1) . 210 .n improved bound is given by M.AMICAB LE N U MBERS .ve (1747) a list of 30 pairs and later be extended it to 64 pairs (two of which were shown later to be unfriendly). Pomerance [116]. Jobljng found t he largest known a. after a systematic study of amicable numbers.ir ca.re o:n amicabl e pai·t .296 .1. . 9 . Kobayashi.m icab l.ni ni. In 2005 a. more powerful.363. the same ones found by ibn Qona's formula. (3. Pollack a.le.ir. not to be confused with the composer and violinist of t he sa. T he next paj r of am icar ble numbers generated by ibn Qorra's fo rmula is (9 .le1·'s r ·u. Euler's and Borho's formula do not generate all pairs of amicable numbers. u s me <'ll prime f<w some < m < n .001 less tha.tion of ib n Qorra's formula (the case m = n .184 and 1.t isfy Euler's rule are (m.ir (at that time) each member of which has 24 073 decimal digits. the uum ber of known a.e numbers bas grown explosively t ha nks t. ·r = 2·. . Borho [22]. 284) .o powerfu l computer 01achines.584.irs (220. (9 .17 01at bematician Pierre de Fermat rediscovered t he same pa. * Find the f0111ih am·ica.06 x 10 11 . (6. Curiously enough. there a.427 amicab le pairs less tha. which is obtained for n = 7. h• 2005 P. Tbis pa. n) = (1. ..ble po. Another .1 posit·i ve integer m satisfying 1 n• mber· 2"pq and 2"7' a.u be obtajnecl from ibn Qorra's formu la for n = 4. Leonhard Euler ga. Niccolo Paga.ted the following rule fo r generating amicable pairs (Dickson [511): If t hr·ee nat'!Wa.056).n 10 10 iiJld 5 . 9 .1. Let us note that. q = 2"(2"'m.re 1. was discovered in 1972 by W .1). P. 1. 2) . n) which sa. (17 .rne name! This example.nce [140] proved t hat [amicable numbers< n] < nexp( [ln n]113 ) for large enough n .micable pa. Euler sta.056) . generat ing the a. For exaJuple.m ' + 1)2 .6. 7) .363.
some p eople call it "la. sma ll bole in such a. lucky moment for his daughter's marriage to fall at a certain hour on a. 7 : 0 is infinity8 . Bhaskara's work Liliivati (a woman's name meaning "lovely'' or "beautiful" ) is considered one of the most influential contributions of his time. 300) Bbaskara. According to a story which appears in the work of Fyzi (1587) . wrote mainly on arithmetic.g upta a half century previously. . At t he bottom of the cup be pierced a. the clifficult task solved partially by Brahma. as curious Lilii. " How many soldiers? P r oble m 3.ter clock by floating a cup in a vessel of wa. divined a.. say. see [16]. (or Bhiiska. one could comment. Poor Bhiiskara." This symbol was introduced by t he English mathemat. Act ually. stopping up the hole in the cup.1 has <L good name obtains a second life ho and this in tm·n .gupta had done. an incorrect answer.cher" . Vol.n mathemat ician and astronomer of the twel ft h century. There is a romantic myth connected with BhaskaJ·a's book Lilavati.48 3. Indeed . for· she 11. Bhaska. Shortly before the bour's end .shall leo. the Tea. bei ng ao expert astronomer and astrologer. Thus t he hour expired without the cup sinkj ng. would never ma. Bhaska.icia.ter. Smith [1671 .nd sin k the cup a. claimed that.y that water would t ri ckle in a. To console his unhappy daughter.~. wa.t the end of the hour. but recall that some modern textbooks also assert that the result is infinity.gupta could not understand what to do with division by zero.as he is known in India. mensuration and astronomy. slowed the influx of water .n emp eror Akba.ra. Bhaskara.vati watched the rising water level sink the cup. E.J·.rry.y e ight . 9D. 277. the astrologers predicted t hat BhaskMa's daughter .charya"Bhaskara. saying:9 "l tuill tm'ite a book named in you!' hono1· that shall la. NUMBER THEORY Bhiiskara (11141185) (+ p. On that day he devised a.n J ohn Wallis in 1655.st until the end of tim e.d to etemal el:istence. The division of any number by zero produces an undefined result.ra. algebra. mucb of our knowledge of Hindu aJ·itb metic comes from this boo k. I. not counting the commande1. however. Dt!l'ing the battle this army 8Today we denote infinity by the symbol oo. wa. a pearl from her headdress a. Bhaskara promised to write a book.t Ujjain as his great predecessor Brahma. He also worked in t he 11stronomical observatory a. The lucky moment passed unnoticed aJld Lilavati was t bus fated never to marry. certain propitious day.Lilavat?.) was the greatest India. Brabma.. He tried to clear up basic arithmetic operations involving zero.ccidentally ch·opped into t he water clock and. p .7. a counselor of t he Persia. An a1my consists of61 phalanxes each containing a square numbe!' of soldiei'S.ra.
.py 2 = 1 for 1J = 8.119. The above task bas been included in Beiler's book [14.nder.ve the particular solutions of equations of the form x 2 .lie present t his story io ao adapted form below.inimmn number· of soldier'S in the army. Ch.rm.615.049) 2 = 3. ·incltAding its cornma. .9802 = 1. 61. When HrLmld anrl h·is men .. . Bhaskara found that the solution of x 2 . .xon horde? And do n' t for one moment thio k that t be Battle of Hastings led to Pell's equation . and 67. . Bhaskara ga.049.882.xon army must have co nsisted of x 2 = (1. Can you find t he numb er of men in the Sa. t he solution would require a globe with a radius equal to the distance from t he Ea. 223225]) and found t he solution X= 1.nge itself into a.6ly 2 = 1 in its smallest terms is 1. pp .1) Bhii$kara used a genera.390.61y 2 = 1 (3.s life at great h. 32. they entered 'the ba· tle M one s·ingle t great squa·re .776. After this victory the Normans occupied England and \\lilliam became the first Norman king. XXII) in the form of a short story about t he Battle of Hastings in 1066.H OW l'viANY SO LDIERS? 49 can 't'eat"tYJ. solid sqnm·e . containing the same number of t soldie·r·s.rth to t he Moon in order to accommodate the army on its surfa. Duke of Normandy. Including Harold . the equation 6ly 2 + 1 = x 2 must be solved in the smallest terms.264. one blow ft·orn a.319. each squate.860.ttle t he Norm(lJ'I army led by Wi lliam the Conqueror.319.982. P roble m 3. In mathematical terms.049 2  61. defea.766. As mentioned above. In t his ba.< 101 soldiers.153.ce. written in a more familiar form ~.ted King Harold's AngloSaxon army.. King Harold's men a·f'rayed · hemselve. y = 22.s in theil' customary t fotma··ion of sixtyone squa1'es.! method (see [113. \. ? . Any No·r man soldie·r who daTed to penetmte their· fot·tifications p·ttt hi..s with the other· Saxons. For solving the equat ion (3. lmtce and .sk. This equation. 226.1) is known as Pell's eq uation (see Appendix A). 11.319.foin ed fo r·ce.8.766.Find the m. the AngloSa. Saxon battlea:ce would slwtter· a N M'1n.sl·ice tltt'01Lgh r1 coat of nw·il. Usi ng rough calculations and allowing for six soldiers per square meter.
is call ed a line<w Diophantine eq·uation in two variables.50 3. Horses and bullsa Diophantine equation If a. nothing will distmct my attention. fire engines and s hip b uilding. p. Euler co uld repea. mechanics.re aJso integers. includ ing posthumous items .rs o f bis Ufe. which consist of multiple applications of a very simple procedure. know n by t he name pulverizer.) knew t his method . optics.mple. b and c are integers and ab =/= 0.t t he Ae neid of Virgil from beginning to e nd without hesitation). cartography. whe re unkn owns x and y a. Cajori (32. thus producing almost half of his total works. optics and many practical problems s uch as magnetism. the famous Hindu ru. t he Swiss mathematician Leo nhard Eule r ra nks as t he most pro lific mat he matician of all times. contai ns 886 entries which could fill some 80 largeformat volumes. to F. Yet tha. He made remarkable cont ribu tio ns in alm ost all branches of mathematics and also in ast ro nomy. even in t he presence of all thirteen of his children (alt ho ugh on ly five survived to ad ulthood). Euler d eveloped an efficient method for solving these types o f eq uations. N UMBER THEORY Leonhard Euler (17071783) (4 p. 10 According . His research on this topic led to t he development of new methods as well as the developmen t of new branches of mathematics. Asked after a n uns uccessful eye operation how he would cont inue working. be answered : "At least now.lly all a. and lunar motion for t he last 17 yea. 95).nks to his remarkable me ntal calculatio n skills and photographic memory (for exa. Euler worked wit h amazing ease under all sorts of co ndit ions. he co ntinued his work on mathematics.rea. Euler's bibl iogra phy.tro norner Aryabhata (born 4i6 A.s a lso greatly inte rested in recreatio nal mathematics problems.rd Eu le r wo rk in virtua." Leonhard Euler 1707. an illness at the age of 59 le ft Leo nhard Euler nearly blind.s o f mathe ma tics. 305) In terms of the sheer volume of published papers. then a linear equation of the form ax+ by = c. 10 We illustrate the method in t he solution of the following problem that Euler himself posed. he wa. In 1766. D.1783 Not o nly did Leo nha.
3lu + 102.= .l0u + 6. He pays 31 tale1's j01· each b7All.lOx+ 6. In fact.12.770 lO:e + 6 + 84 + ::2:1 Since x and :IJ are integers.1: + 84 + t = . How many bulls and how many horses does the me1chant buy? The linear Diophantine equation that corresponds to our problem reads 31x + 21y = 1. where we put . y = .2lt+6 t + 6 = 10. t he essence of Euler 's method is a.t+6 lO Hence we again obtain the Diophantine equation · = .770. in t his case y.770 = 84 · 21 + 6.2:::1'.ve an array of solutions. we apply Euler's method by first starting with the unknown whose coefficient is smaller in magnitude. 1 . To solve this equation.E ULER'S HORSES AND BULLS 51 Problem 3 . respectively. where x andy stand for the number of bulls and horses.lOx+ 6)/ 21 should also be aJ1 integer.4 rnet'Cha:nt p·twchases a wurnbe!' of ho1·ses and b'ulis jo1' the S"urn of 1. we solve the previous eq uation in x (due to the smaller coefficient) a.. Using the equalities 31 = 1 · 21 we obtain + 10 and 1.= .2t + 'IL. t = . which bas coefficients of smaller magni tude relative to t he original equat ion. . we ha. y = .. then (.770 taler·s . and 21 tale'tS f01' each hot·se.31x + 1.9. Denote this integer with t and represent t he exp ression for t as a new Diophantine equation 2lt = .10u + 6. t Taking 1t as a parameter. :c = 2t + u = 2ht . perrn aJ1ent decrease of coeffi cients in Diophantine eq uations arising from the original equation.2t + 10 = .x .nd find t hat :. Repeating t he described recursive procedtu·e. .
s atuo. and find 'U = 1. 2. which is pointless because we need only positive solution$.71). P aul Dirac (19021984) (> p. one sailor wakes up and.s into fiv e equal pile.. ' 5 1. Martin Gardner presented a full d:iscussion of a story similar to it in the form of a problem in [71 ]. (30.ilm·. divides the l'emaining coconu· s in· o .ve collected? . hides i his . is a nonnegative integer. which they gi: to the monkey.40). y = 40.52 3. notices that there ·is one left ove1·.9a'il01·s and a monkey on.770. 9. the sa. ' Thus. 3.ts.2> U = 3. they sleep.s up. and all three pairs (9. The second so. where u. do1•btjul of !'eceiving his Jail' shar·e. The questi. (5 1. he divides the coconuts into five equal piles. all of the sailo!'S notice that the pile of ve coconuts is smalle'l' than the prev·o1 day. In the moming.ain. = 1.~ and see that the1e is one left over. and. at night i of co1wse. y) of Euler 's equation 3lx + 21y = 1. they spend each day collecting cocon·u. 309) The sailors. This happens for· each sailOI' in tun1.J of attraction for its readers.10 .nd coconuts on a desert isla. he notices that one coconut 1'ern. A shipuweck mamon.on is: What ·is the smallest nnmbe1· of coconuts that the sailOI\~ cottld ho. To su1·v· ve. First. the solution of Euler's equation L~ not umque.shMe and goes back to sleep.ined for u. a desert island. O. but they each feel guilty and say i 1s nothing.9) satisfy thls equation. we consider only those solutions obta. y = 71.s fiv e . NUMBER THEORY The la. X= X= X= u . and the monkey In 1926 the Satur·d ay Evening Post printed a short story about some sailors a.s.st two equalities. give all solutions (:~ . Since y < 0 for u > 3. the coconuts. y = 102.ke and shMe the ?'ernaining coconut.f cou. for u = 0. one obtains x = 12. A little late1~ the second sail01· wake. Proble m 3 . He g· ves this coconut to the monkey. During the ni.ilo1· hides his share and r·etums to sleep. 30.nd that held a great dea.1·se.g ht. having the same doubts. y = 9.five equal t t piles. which he gives to the monkey.
we must t hen solve the following system of equations n = 5nl 4n1 = 4n2 = 4n3 = 5n4 + 1. 4n 5 = 5n6 + 1. (3.THE SAILORS. + 1. The t hree methods that we describe each have interesting and instructive aspects. coconuts and a monkey We can continue solving the problem using a. 5n 2 + 1. number of approaches. 4n4 = 5n5 + 1. (L11cky monkey!) All the unknowns in this system aJ·e certainly positive integers. . THE COCONUTS. FtCliRE 3 . Al\D THE M ONKEY 53 Supposi ng that the sailors collected n coconuts. Sailors.2) The un it added to each equation represents the single remaining coco nut that the sailors give to t he monkey each t ime after dividing the pile. 5n3 + 1.5.
Substituting this value into equa. we red uce the above system of equations to the single Diophantine equation 1.__ __.2) we see that 4ns .625n6 + 11.rpe [160] u.1 + 265 = 3X . First we find that 15. Using co ngruence notation we write n 5 = 1 (mod 5).l is divisible by 5. ed congruences to solve the above system.023 + 11 + 265 = 15. After multiplying by 5 one obtains 5ns = . So lution ( II). T hen 4ns + ns . then we can express this fact in the language of congruences as a. a._ = ..:.5 (mod 25)..024x . we must take y = 229k. if C£.b is divisible by c.529 265ne + 265 n = _.tion.621.tion (3. modulo c is equal to b..tin x = 265. ' X 265 Since t he numbers 229 and 265 have no common factors.3) by 265 we find rte = v 229x 1J 229 3X . Hence we obtain a new Diophantine equation (3.529. From t he last equation of system (3. To solve this equat ion we use Euler's method described on page 51.(ns + 1) is also divisible by 5..s 25 = 4(mod 7)) since 25 .nd for k = 1 we obt. Since 4n4 = 5n5 + 1. = b (mod c) . . By t be process of elimina.. we say that a.3) 265n6 + 265 = 1.4 (mod 25) . b.024 1. with .54 3.4 is divL~ible by 7 . or 4 is the remainder l:hat results when 25 is divided by 7.1 +'II. Vve recall t hat.___. care integers with c > () and C£ . from the last relation we find t hat 4n 4 =.3) we find n 6 = 1.__ = 15n6 + 11 + = 15n s + 11 + ~c . For exam ple. x = 265k (kEN) . In other words.023 so that the required number of coconuts is given by n = 15n6 + 11 + x = 15 · 1.1 = 5ns. After dividing (3.n s. .024.625n6 + 11. 25 modulo 7 is equal to 4 (written a..024n = 15. NUMBER THEORY Solution (I) . 1.. hence it follows that the second addend n 5 + 1 must be divisible by 5. David Sha. .024 where we put x = (265n6 + 165)/ 1.
1954). 5nt = 5 (mod 15. winner of the 193:{ Nobel Prize. the smallest number of coconuts that the sailors could have collected is 15. (iii) the described process can be repeated six tim es consecutively.he article Paul. issued by the Academy o f Science of the (fo1·mer) USSR.621.t.od 625) . No. with Erwin Schrodinger. One can easily find t hat ]II[ = 5 6 = 15. = 4 (mod 3.621. 5n2 4n 1 = 5 (mod :{. [62. including the smallest one.tor was Enrico Fenui (1901. Therefore. (ii) the difference M. Solution (III). Vo/e will obtain a set of solutions. TH E COCONUTS. 4n3 = 4 (mod 125). = 1 (mod 3.not her Nobel Prizewinning physicist <1Jld the "father" of the atom bomb. p . nt From the last relatio n we see t hat the number n + 4 is divisible by 15. n = 4 (mod 15.rch for the smallest number with this property.625) .625).125).625.125). Since we sea. as well as any multiple p · 5(l (pEN). by adding this number. n3 = 1 (mod 125). Using the same argumentatio n we are able to write the following congruence relations: = 5 (mod 125). 5n4 4n2 n2 =1 (mod 625). Other sources (for example.THE SAILORS . 5n3 = 5 (m. Certain refere nces 11 attribute this fascinating solut io n to the celebrated English physicist Paul Dine (19021984). to ruw numb er sa.125).M'/5 is also divisible by 5.ving these properties: (i) Nl is divisible by 5. published in the journal Kvar. = 4 (mod 625). 134]) suggest the key idea's crea. a. bavi11g oo common factors) so that 4 can be caJ1celled to yield n4 = . 8 (1982). AND TH E MONKEY 55 The numbers 4 and 25 aYe re lative primes (that is. we take n = 15. 11 Jncluding . First. one should determine the smallest possible number lv/ ha.1 (mod 25) . t.tisfying the pro ble m 's cond it ions.625. Dime and ·three fishermen.
H. Despite R. 9].amanujan had no university educfl. Srinivasa Ra1nauuja. and we leave fw·ther discussio n to the reader. Taking p = 1 we obtain the smallest number of coconuts n = 15. this number satisfies.1920) (+ p.t ive numbers(!). The least numb er of coconuts equals :1. proper solution. 308) The life and work of the Indian selftaught genius Srinivasa R.amanujan certainly provides the history of mathematics with one of its most romantic and most spectacular stories. !tis except ional C<\pacity in mathematics was known to IndiaJl matbema. Checking the solution is simple. and the mon key goes without his share of coconuts.ntity of coconuts ltSing nega. (3. NUMBER THEORY Dirac based his idea on manipulating the qua.4) where k is a.625. Ch.1947) observed his uncanny intuitive reasoning a.n 1887.ama. Srinivasa Ramanujan (1887. The num ber of coconuts is given by n = 4 + p · 15.nujan 's delicate health.n d incredible facility to state very deep and complicated number relations and brought Ramanujan to England. gets divided into five exactly equa. In particular (Problem 3.tion.ticians. Although R.ins a version of the coconuts problem in which the pile of coco nuts remaining after five consecutive nights of reallocations.621.1920 .re left over to t he monkey (after each division}.621.10) . Although it seems rather surprising. they jointly authored seve ral 1·cmarkable papers before R.4 coconuts yie lded a.10 can be generalized. and determined that . Beiler's book [14] conta.m(s .1). If s is the number of sailors <lJld m is the numb er of coconuts which a. This is one of those "it doesn'tmakesensebutitworks" ideas. P roblem 3.4) we obtain tbe smallest positive solution (ta.n arbitrary integer .121. for s = 5 and m = 1 from (3. The famous British number t heorist G. see G 1~rdner [72. Hardy (1877.lly collected on a pile is given by n= ks· ~ 1 .56 3.arnanujan's death at the yo ung age of 33. at least in theory.l piles.king k = 1) n = 15. all conditions of the problem. then the number n of coconuts origina.
U NK NOWN ADDRESS.sum as aLl nu·mbe1·s (..11.n Who I<new Infinity [l09J. continued fraction to his friend. The houses w · th numbers 1 thr·ough N a·te .280.side of the ruid1Wi.1) add ·up exactly to the . Ramanuja." Let us allow a short digression. "No". "it is a ve?'!} inter·esting numbe1·. Cante•tb1~''!J . By adding the sum 1 + 2 + · · · + n to both sides we find t hat 2( 1 + 2 + . According to t he story presented by Robert Ka.682. + 2 + · . · + n . Unknown address P r ob le m 3. his solution arouses admiration. ·it is the smallest m~m. "Thus did Dudeney. The other is extremely difficult: 415. 1.JO cubes in two different ways.nigel in his book The Ma.t ing t he solut ion in the form of a. Truly mindboggling results! Bearing in mind t hat Dudeney did not have any modern calculating devices.g story.467.{1YJm n + 1 to N) on the othe·r.ch that the hmtse rmrnbe1·s on one side of the addr·ess n (that is.729 = 13 + 123 = 9 3 + 103 . ' (found by Dudeney).n answered t he "unknown a.702. Paul Weidlinger in 1184] gives l:he solution to t he problem and assumes t hat it coincides with Ramanujan's..~itua ted ·in a i 1·ow only on one side of a st!·eet.be?' exp1essible as the sum of t'IJ. He asked for t be number 9 to be expressed as the sum of two cubes of rationaJ numbers iu two different ways. One solution is pret ty obvious: 9 = 13 + 2:!. Wben Ha. and remarked that the number seemed to him a rather dull one. ft·orn l to n . Ra.manujan answered immediately.503 348 671 682 660 ' . one obtains 1 + 2 + · · · + (n. he told him that he bad arrived in taxicab No.ddress" problem in his bead communica. + N.S. Find the add1ess (house) numbe1ed by n su." It is a high time to give the next intriguing problem.l ) + n = l .l ) = (n + 1) + ·· · + N. From t he conditions of the problem. qui te an unfavorable omen.564.671. 729 into the sum of two cubes resembles very much a problem by Henry Dudeney posed in his famous book.A PELL'S EQUATION 57 Io bis book Ramanujan (1940) Hardy described au ioterestiJ.rdy went to the hospital to visit Ramaoujan who was lying ill. The above splitting of the number 1.729.660 <IJ1d 676. 1.497 348.P'uzzles (1907) .same .
··. From tbe difference equat ion (3. and hence Nk given by (3. 2 2 1 + 8nk = Pk ? or P'k . n~o which is a Pell equation (see Appendix A) .1 + j l + 8nl.. using these initial values we can find n~. 'lf. from (3..58 which gives 3. Solving the quadratic equation (3.:if. perfect square.7) 2 The expression 1 + 8n% must be a. we come to the continued fraction 6.l) 2 or +n = N(N + l) 2 (3.. l (3.8) Since n 0 = N 0 = 0 and n 1 = N 1 = 1 for obvious reasons..8) we have Hence.tion above bas the form (3. (3.8). It is easy to see t hat the least solutions of the last Pell equation :~ 2 . NUMBER THEORY 2 . tba. n(n .8? = 1.6) in Nk> we find positive solutions for Nk : Nk = .8y 2 = 1 are x = 3 and y = 1.a. From the discussion presented in Appendix A and t he form of difference equation (A.. At .6l 6 .l 6.t is.re of triaJ\gular nurnb ers (for triangular numbers see page 40).5) (3. we conclude that t he difference equation corresponding to the Pell equa.7). (3.9) This means that ao = a 1 = · · · = a.k = · · · = 6 and b1 = b2 = · · · = bk = · · · = 1 and (3.5) has integer solutions only for some specific numbers nk and Nk .6) is a Diophantine equatio n tha.t relation (3.6) given there.9) can be written in the form [6. by a successive continuation.J. .t defines the squ. Obviously.6) The subscript index k is introduced to emphasize tha.
formula (A. for nk = 6 we have N k = 8 a.2J2)k becomes exponentially 3small when k increases.l .8) .2: and.8) taking no = 0 and n 1 = l. Qk = 6Qk .l.9).(32J2)k] (k = O.nd botb of tbem give t be solution to tbe problem.nd the following anangernent of houses with the sum equal to 15: 1234s@Ju 15 15 The value of nk can be found by solving the difference equation (3. Numerical values are given in the following tab le. particular sol utions can be obtained from (3..Qk . which coincides wi t h (3. . therefore. 12 For example.9) is the continued fraction which Ramanujan most likely had in mind. Iverson early in the 1960s. Jn pa rticular.!most negligible.2 = 0. then (3. n 1 = 1.t .2. Since 1 2J2 1~ 0.3) from Appendix A becomes Yk . Depending on the number of terms taken in the continued fraction (3. Since Qk also sa.5) (Appendix A) yields the required solution (wit h p = 3. satisfy the previous difference equation. a.6Yk1 + Yk. tile difference equation (A. 12The jloodunction l x J W<lS introduced by Kenneth E. ).. q = 1) a.Pk.tisfies the ini tial conditions Q_1 = 0. expression (3.681 6 6. . Q o = 1. the values of Qk coincide with nk required in (3.2) become Pk = 6Pk .189 1.8).UNKNOWN ADDRESS A PELL'S EQUATION 59 the same time. and its effect is a.172 is less than 1. Therefore..800 For example.nd thus reads nk = 4 2 ~[(3 + 2J2/ . k nk Nk 0 0 0 2 3 1 6 35 1 8 49 1 4 204 288 5 1. Bearing in mind the initial conditions n o = 0. Fo r tllis reason nk can be calculated as (see page 13) where l a J presents the greatest integer Jess than or equal to a number a. Euler's formulae (A.930 9.8) .6) and (3.
one of Britain's greatest mathematicians of t he nineteenthcentury.later found important application 13 Jt in quantuw mechanics. as they did. Sylvester was also interested in poetry and music as an amateur performer.y. unsolved problems or unclear details from Sylvester's unpublished manusc ripts inevitably caused de lays sometimes lasting for weeks or even pe rma nently d iverting him from his origina] subject. Once he even denied the tmth of a theorem that he himself ha. J ames Joseph Sylvester. Georg Frobenius. Sylvester 18 141897 Sylvester entertained a. .nd quar relsome. his lect ures did not enjoy great popularity.nches of mathema. but he also had troubles remembering his own. concentrating.60 3. developed by i='robenius.id attention only to pme mathematics and had a. was a genius in mathematical investigation. To carry out his pla.ns. 307) We end tlti~ section with an interesting task known in the li tera tu re as the Frobenius' coin proulem or Sylvester's stamp problem. Frobenius' work finds a place in this book thanks to his research on t he coin problem belonging to number theory which bears his name. NUMBER THEORY Ferdinand Georg Frobenius (18491917) (f p. 13 Despi te his primary orientation to serious mathematics. yet despite devoting immense activity to solving serious mathematical problems. choleric a. James J.the man who loved on ly pure mathmnatics. Sometimes. but the representation theory o f finite groups. great deal of interest in many bra. Consequently. the famous f)·ench composer Charles Gounod gave him singing lessons. Due to his perpet ual absentm inded ness. but his absentmindedness often complicated matter~ for him. He continuously endeavored to preserve very high standards in sciences and education at the university. James Joseph Sylvester (18141897) (f 307) p. he was occasionally unp leasant.tics. Its first version has a puzzle character . He pa.d formulated. or sometimes the moneychanging problem. mainly on his own wor k and its results.n aversion to applied mathematical disciplines. but its later generalizations led to numerous challenging problems in number theory that have appeared as the subject of many papers even today. 14 he managed to find a little time to spare for mathematical sou nds paradoxical. Sylvester not only encountered great difficulties in memoriziug other mathematicians' results. a professor at the University of Berlin. was one of the leading mathematicians of his da. 14 tvloreover.
we assu01e that very large amounts of money (tbeoreticaJly. that there exist numbers a.on of these stamps? Clea. P r oble m 3. b E N0 .p 1oith a com. t hat is.t of cents wh·ich the man c<mnot make u. it follows that p divides b + 1 and q divides a + 1.10).p.musements. Thus. na.~: 5cent sta.t ive integers. Stamp combinations Sylvester submitted tbe following simple but interesting co nt ribution to the Edt•cational Tim es ( 1884) . b E No. 1"T<vo .p.SYLVESTER'S STAMP COMBINATIONS 61 a. it must be b + 1 =J p. t To solve this problem. A man possesses a large quantity of stamps of only t·wo denom. A similar problem was considered by Georg Frobenius. brie8y gcd(p. We need to determine the grea. if the ffl'e«test common diviscw (gcd) o f p and q is 1. namely.t est number zo which can not be represented in the form (3. (3.p. we will prove: 1° the number pq.q cannot be represented in the ment ioned form. Instead of the descri bed pa.bin<Lti. infinitely large amounts) are not ta. Let z be the amount that should be paid off by a combination of stamps which are 5 ilJ1d 17 pounds worth.+ Hb. we will prove the follow·ing assert ion: If p and q are relat·ive prime natu·m l nmnbei'S. 15 then pq . a.q can be represented in t he form pa + qiJ. 1° Let us a.p .! case. Since p and q are relatively prime. The amo unt z is a nat ural number and a and b are nonnega. mal numbe rs p and q are relat ively prime if t hey have no cornrnon positive t d ivisors except 1.q = pa + qb. the first of which is given below. Then z = 5o. What is the la1yest (finite) amotl'n.rticular problem we wiU consider a more gen.rly. 2° every number n > pq. q) = 1. In this boo k we present severaJ of his problems.era.rrws and 17 cent stam]JS.ken into account si nce they could not be paid out for Jack of a sufficient supply of stam ps. such that pq.q ·is the gl'ea· est intege1· which cannot be ·represente(l in the .10) and this is a linear Diophantine equatio n.foim pa + qb.12.ination. contrary to our proposition.~sume.
.f nonnega··ive in· ege· s xi .lly relatively prime natural numbers such t hat 0 < a 1 < a 2 < · · · < a. q) = 1..bove puzzle just begs to be genera lized. we find tha. and this is the solution of Sylvester's problem.t pq.•. which is im possible. i . Problem 3. from the Diophantine equation we haven = p(a .nnot be obtajned by a linear combination of the numbers 5 a. b = b0  pt. ) . ( n > 2) be given mutua.P .5 . Hence..g and let (a0 . so t ha. Let a 1 .p . it must be a + 1 i= q.1 and a > q .nd q = 17. The a. The contradiction proves t he sta.13. a..P q .1. Find the laryest value :F. that is. N UMBER THEORY otherwise a < 0.s no solu· ·ion in ·e!'ms o. a. Since p and q are relatively prime.p..t ement 1° . In the special case (Sylvester 's problem) ..q) b > bo .q = 5 · 17 . .p. Therefore.test number (amount) which ca. taking p = 5 a. b' E No). b0 ) be an arbi trary integer solution of the Diophantine equation pa + qb = n + p + q .pq q = q > 0· We have proved that the number n can be rep resented in t he descri bed manner.nd 17 is equal to zo = pq .{o1· which the equat·ion (sometimes called Frobenius equation) /u. 2° Let n > pq . t E Z.1) = 2pq. t his solution exists according to the theorem of the existence of solut ions of linea.(11q . represent t he denomination of n different coins and introduce the function where x. . of the function g(a1. . a2 .62 3. b > p .q.q = pa + qb > p(q.1) + q(b 1) = pa' + qb' (a' . Then the foU owiog qu estion is very iotriguing. . q) divides the right side of equation). Then t . .. SimilaYly. <IJ'e unknown oon.oegative integers. Indeed.17 = 63.ao q = aop + boq . .t 0 < a < q. Let us choose t so tha.1) + g(p. pg > 2pg.2 . The general solution of the above Diophantine equation is given by a = a0 + qt. < q q ao and · n . gcd{p.p . Let us assume that the values a. a.r Diophantine equations (gcd{p.. t t t t r . p < b + 1 and q < a + 1. e.t the grea.
you will wa. However.1 = 373 dollars.ists. for a 1 = 5 and a2 = 17. Therefore. . [151].1) . As shown above. If you take many friends with you. Davison 146] derived the relatively sharp lower bound (3.. Sylvester found and.od slower as n increases. one obtains :F2 = 63. 9 or 20 nugget. see.. .1)(35 .urant and buy some boxes of McDonaJd's Chicken i\'lcNuggets.s number·. There is no problem at a ll wit h the fulfilling this requirement. for n > 3? There a re many papers that consider this questio n.. there a.s. no general formula is known for n > 4. This t heory cries out for a practical example as follows: A ga. a. . if it ex. Nevertheless. is ca.. [89].t can solve higher order cases. which cannot be collected using these coins. Problem 3.inued fraction algorithm for n = 3.. 35) = (12 . [4]. e.Jied t be Pm ben·iu. the required payment of $375 is feasible: 9 chips of $35 and 5 chips of 812 are needed..bout Frobenius' coins and Sylvester's stamps and t his makes a good excuse to visit a McDonald's resta. Seimer and Beyer [159] came to a sol ution expressed by a co nt. However.nt a lot of nuggets. the Frobeni us number is simply t he largest amount of money . The largest amou nt of money which t he croupier cannot pa~' off is :F2 = g( 12.FROB ENIUS NUMBER 63 The solution :F. in p11rticular. these a.m bler ·in a local casino in Nevada won 3"75 dolla·rs. [158]. The cr'Oupie· can take the money by pltttin_g r chips wo· th 12 and 35 dollar·s into an automatic moneymachine. even the most powerful computers cannot find t he result within a reasonable t ime for large n .11) A refi ned upper bo und is give n by Beck and Zacks [12]. [91].t.13 can be appropriately interpreted in terms of coins of deno1uinations a 1 .lgo ri thms become more co mp licated a. Can he r pay ofJ the _gambled Sylvester's results lead~ to the answer. as according to Schur 's t heo rem any suf6cient ly la. Their resul t was simplified by Rodseth [1511 and later by Greenberg [89]. Is it possible to find the Frobenius number :F.rge number can be expressed as a linear comb ination of relatively 16 Chicken lV!cNuggets are a fast food p roduct available in t he restauran t chain Mc Donald's. You are probably hungry after intriguing stories a. 16 We wi ll find there that the boxes contain 6. .re only (rei~ t ively) fast algorithms tha. .. Explicit formulae for n > 3 have not yet been stated. so t ba._g.
8n2 = 1. 0 n.+ l.l + Jl+8n2 m = 2 The num ber ·m will be a oa.tion S .p pears in the solution of R.ngula.. surprisingly..re relatively prime. 1 + 8n 2 = 1·2 ... Z = X+ 0 •) y.225.f nuggets which t cannot be delive?>ed using the boxes o....a. 3.J2)k + (17.12J2) k 32 2 (k = 1. . Hence we obtain the quadratic equation m 2 + m .nd 6.. Hence we obtah1 the infinite series: 1.. 36. .tion.amanujan's Problem 3..t reads thus: (3. t he same Pell equation that a.721. that is.f G 9 and 20 nuggets. Now we come to tbe problem of Frobenius' type.n be solved using the facts given in Appendix A..tions: 5x + 8y = n.:. .. Then we can form t he following system of equa.4.2 .12)._ ) 2 .r number: n% .. bu t we use the solution of P roblem 3.+ 60 = z. . or . ). Answers to Problems 3.12) (see page 59).:c.re t ria.64 3. This equation ca..14. say. * Determ·ine the laryes·t (fin·i· e) n·umber o. It remajns to find Squlning (3. we find the required formula for the kth squ.od 20 a. which is. a. 1. n2  _ _ .2n 2 = 0 whose positive solution is ..616. Let x and y denote t he quantities of wine expressed in liters. 9 a. m (m .tural number if 1 + 8n2 is a perfect squa.:. 2. . 11. .2. . vVe have to solve the Diop hantine eq ua. 4 1...ny solutions of the considered Pell equa. N UM BER.11 tha. P roblem 3.re. 1.413. . THEORY prime num bers. n~ = (17 + 12. The superscript index k indicates that there are infinitely ma. = T.
6. Therefore..! number of k nuggets. To short.ch straight line :x. a dashed line does not go through any grid point so tha.216. wherefrom we find that z must sa.3 . we have z2  5z . < . 2.717 .tes only among numbers greater than 21. On the other hand.821. 3 .63 > 0. x = 4 and y = 2. Ea.te pla. 191 and then find the amicable pa. . Obviously..ted by Euler's rule is obta. The only integers in the interval [10. q = 33.> 10.tisfy z from the inequa. 168.20 ~ 21..vison's lower bound (3.. we use Da. = 12. 3 . we find y = 8. + y = k represents a tota. indicating that k = x• + y• is the number of nuggets that can be delivered. y• ).6 ..en our solution procedure.60 = 3y. see Figure 3.lculate p = 257. we will search for candida.. We first ca.li ty < 12.14. :c = 9. .t is. The lower bound follows z2  z2  5z . tha. 520..A NSWERS TO PROBLEMS 65 which red uces to the Diophantine equation z2  5. Now we form the grid of points in the x y coordina.896) . 12. sa.sses t hrough at least one grid point. Vve have to determine integer solutions Since y z and y of t he z2 last eq uation.717] <'He z = 11 a. .t the corresponding numb er k of nuggets cannot be delivered..  8z.649. y can be rep resented as a linear combination of 6 and 9 for y > 6. 023 a.9 . A gr aphical approach is convenient for finding F.y (x•. 5z .60 > 3 · 1.ined for m = 1 and n = 8. Therefore. that is..nd r = 8.92 > 21. For these values of z . t here are two pairs of solutions to the wine problem. The fourth amicab le pai r genera.172. which gives.ir (2. y) . A full line pa.181.11) and find F3 > /3 · 6 · 9 · 20 .821.nd. Let x be a ny positive multiple of 20 and let y (> 21) be any positive multiple of 3 (excepting 3 itself).60 < 0.60 < 3z .ne with the coordinates (x.6 .
48 = 6 + 6 + 9 + 9 + 9. the number 43 is the largest number (= Frobenius number) of nuggets thM can indeed not be delivered. Let A 1 = {44. NUMBER THEORY From Figure 3. 51. 48. Graphical solution of t h e Chicken McN uggets problem It remains to check some numbers greater than 43. 46. 9 and 20 are possible (not necessarily un iquely): 44 = 6 + 9 + 9 + 20.66 3. 49} be the first group of six consecutive numbers. and so on. ca. 45 = 9 + 9 + 9 + 9 + 9.n be formed in the same way from A2. Therefore. y 48 45 42 39 36 33 30 27 24 21 20 40 X FIGURE 3. 49 = 9 + 20 + 20.6 we observe tha. the group A 3 ca. Evidently. 4 7. 54. The following linear combina t ions of 6. 47=9+9+9+20. 55} can be obtained by adding 6 to the corresponding numbers from A 1 .t the "highest" dashed line is x + y = 43.ndidate for F 3 . 46 = 6 + 20 + 20. 52.6. 53. 45. the elements of the next group A 2 = {50. so that the number 43 is a. .
It is interesting to note that Euclid did not use t he word "geometry" in his treatise to keep his distance from problems related to la.s nowher·e. We did not include puzzles involving advance mat hematics or contemporary geometry t ha.e cente1' is eve1 'y?uhe1'e (!rid whose ci?·cumfe·l'ence i. I attemp· ·o see things i. published in Venice in 1482. Blaise P asca l Equation.tized io Euclid's masterpiece the Elements written ca. This chapter starts with the famous Archimedes' figure known as "shoemaker 's knife" or aT'belos. triangles and polygo ns (plane geometry) as well as spheres and polyhedrons (solid geometry) and with properties of space.Jly Euclidean geoo1etry a. 300 B. and relative position of li nes. a geometric t ransformation called inversion is used. 67 . Geometry. a.~ just the bo'T'ing ]Jalt of mathematics.ioma. In order to present its solution in an elegant and concise form.tional problems !He those which belong to plane and solid geometry. collection of fallacies. one of the oldest sciences. circles.t studies o1ore abstra.ry geometry that we lea.ct spaces t han the fam iliar Euclidean space. Among the oldest recrea.ry geometry and arithmetic.n · erms of geometry.x. In this chapter we present a. tt t ar·e Step hen Hawking Elementa.lthough some historians of mathematics believe t hat Euclid prepared a..rn in the primary aJld high school is essentia. the term geometry b€WfJ.C. Geometrical faJiacies are also exclu ded since their origin is unknown. One of the related problems is Papp us' task on arbelos. For the rea. shape. studies problems concerned with size.der's convenience.€rpia in Ancient Greek) is combined of t he Greek words geo="eartb" and met?"ia="mea. Namely.sure'' Another curiosity is that Euclid's Elemen· s was the first printed mathematical book t ever.Chapter 4 GEOMETRY Natu·re is an ·infinite sphe1·e who. diverse set of geometrical puzzles and paradoxes posed and/o r solved by mathematicians from Archimedes' t ime to t he present da~'· Most of t he presented problems require merely the knowledge of elementa.nd measure.
of a. Mahavira. Famous Dido 's extremal problem or t he classical isoperirnetric problem. 1. established sixteen centuries later by Fermat and SnelL Heron's principle can be applied for solving Steiner 's problem on the minima.g. Heron's problem on minimal dista. is regarded as a forerunner of the much later established calculus of variations.ici?cle and 01Ltside the two smallest ( Figu?e 4. Finally. p.c.1.68 4.! sum of distances in a triangle. we give P6lya's problem on the bisection of the area.res and triangles). which lies inside the largest sem. Torricelli and Cavalieri. / I .nce demonstrates the law of reflection.) (~ Arbelos problem The following interesting elementary problem may be found in Archimedes' Book of Lemmas (see. This problem was solved earlier by Ferma.sic properties of the geometric inversion are given in Appendix B. / / . shaded po1·tion). Alhazen (circular billiard problem) .220 B. Arbelos problem . [61. popularly called "kissing circles". The geometric puzzle. Kowa. e. The "shoernake· 's knife" or· arbelos is the 1egion bounded r by the th?'ee semicircles that touch each othe? The task is to find the mea '..1. given later in this chapter. Soddy and Coxeter. that attracted the attention of Descartes. Abu'!\.Vafa (dissection of squa..c. Yo u will also find several challenging problems of medieval mathematicians Brahmagupta. .t. p . is shown together with Coxeter's solut ion. * * * Archimedes (280 a. Regiomontanus (dista. 167]) . 299) Proble m 4. describ ed by Rome's poet Virgil. GEOMETRY some ba. given planar region..nce of optimal viewpoint) and Kepler. We present Steiner's elegant solution of this problem. T ab it ib n Qorra. / I ' A I \ \ '' c B FIGURE 4.
Then (IACI + ICBI)2 = IADI 2 + IDBI2 = IACI2 + IDCI 2 + ICBI2 + IDCI2 . to Let P(~) and P(Q) be the areas of t he arbelos a nd the circle with the diameter C D. 2. see Pigtwe 4. The triangle AB D is rightangled since t he angle a. see. and references cited t here.rbeloslike problems.nd its va.t D is 90° (as a peripheral angle which corresponds to the diameter AB) . Problem 4. [53]. Many amazing a nd beautiful geometric properties of the aJ'belos (6p{31JAO( in Greek) a. inscribe the ci1·cles I< 1 and K 2 in the shaded l'e9 gions ACD and C DB .~ IACI 2 . Archimeclean tw ins . wherefrom IDCI2 = IACI · ICBI. of the circle with diameter C D is equal to the area of the arbelos. [78]. as well as t he papers by Bankoff [8].ria nts have fascinated mat hematicians over t he cent uries. [173].~ICBI 2 8 8 8 ~ ((IACI + ICBI)2 I ACI 2 I CBI2 ) 1i = 4 IACI ' ICBI = 1i 4 ICDI2 = P(Q ). * Let u.ARBELOS P ROBLEM 69 In the abovementioned boo k. t hen the area. There is a vast literature co ncerning this subject.2.r to AB. e. [9].g. . Here I · I denotes the length of a segment . Pmve that the ci1·cles I<1 and I<2 have the same mdii. T he next problem introd uces circles called Archirnedean circles or Ar'Citimedean twins. whe1•e C D is pe1'/)endiculm· to AB. A FIGURE 4. which is the wellknown result re lated the geo met rical mean. Archimedes demonstrated in Proposition 4 that if CD is perpendicula. 1·espectively. This assertion is easy to prove. Boas [2 1] and Dodge et al. According to the above relat ion we obtain P(~) = = ~IABI 2 . In t his chapter we give some a.2.
der the pleasa. * Let/( be the smallest circumcircle of A1'Chimedean twins [( 1 and K2 .3. the diameter of J( is equal d to ICDI).1. Find the perpendicula1· distance ·cle from the cente1· of the nth ci1 k. .. k2 . . Let the circles k1.re another amazing properties of Archimedean twins. . Pappus' arbeloslike problem c . Prove that the area of [( i$ equal to the an~a of the a1·belos ( o1·. .known book Synagoge (Collection) . A c F JGUilE 4. . A variant of arbelos problem B We lea.305) .ve to the rea. accor· ing to Problem 4.. k.4 so that they me all tangent to the semici1·cles ove1· AB and AC. GEOMETRY There a. and successively to each other.70 4. Proble m 4 .. . contains another task on arbelos. be insc1'ibed S"!lccessively as in Figure 4..3. written by Pappus of Alexandria who lived during the reign of Dioclet ian (284.4.nt work of finding the proof. ? A B FIG URE 4 .4. The well. k~.3. as shown in Figun~ 4. to the base line AC. We select the following one: P roblem 4 .
PAPPUS' ARBELOSLIKE PROBLEM
71
Pa.ppus offered a. proof t bat is too long t.o be presented bere. Leon Ba.nkoff, a mathema.ticiaJ1 wbo wrote many 01arvelous articles about the a rb elos and its variants, gave a discussion of how Pappus proved t h:is results in his paper , How did Pappus do it? [10]. The arbelos problem was considered in short by R. A. Johnson . 1 Thanks to a new geometric transformation called inve1·sion, introduced by J . Steiner in 18242 and [,. J . Magnus in 1831, we a.re able to demonstrate a very short and concise proof. The review of the basic properties of t he geometric inversion, necessary for our proof, is given in App endix B. Fo r more details see, e.g., Chapter 6 of H. S. M. Coxeter's book IntnJduction to Geornem·y [43]. · To solve t he a rbelos problem above, we use the properties (1)(6) of t he inversion given in Appendix B. Since the ciTcles p and q pass through the same point A (see Figure 4.5), tb is poin t will be chosen for t he center of inversion. We take the rad ius p of t he circle of inversion k in such a way that t he nth circle k.,. stays fixed. To do this, it is sufficient to choose the ci!'cle of inversion k to be orthogona.l to the circle k, (according to the property (2)) .
p' q'
k
A
C'
B
c
FIG URE 4.5 . Sol ut ion o f arbelos pl·oblem by inversion
For clarity, t he idea of the proof will be demonstrated through a special example where n = 3 (Figure 4.5). The presented proof is, in essence, the same for :ubitrary n.
1 Modern Geometry, New York, Houghton 'Mifflin, 1929, p. 117.
never p ublished his idea on inversion, and its transformation was discovered independently by other cont ributors, among them the physicist \:Villiam T homson (Lord Kelvi n) and the geometer Luigi Cremona (who gave a more general trt>nsfo1·ma.tion) .
2 Steiner
72
4. GEOMET RY
Since t be circles passing through t be center of inversion invert into str aight L ines (property (4)), circles p a nd q wiU be transformed in to stra.igb t lines that pass through the intersecting points of these cir cles with the cir cle of inversion k. Besides, both circles p and q touch the circle k 3 and they are orthogo nal to t he stra.ight line AB. With regard to the property (6) it follows t hat t hese ci rcles invert into t he stra.igh t Jjnes tha.t touch simultan eo usly t be fixed circle k3 • In addition, these lines are orthogona.l to t he straight line AB (that inverts into itself because of the property (1)). Hence we conclude that the ci rcles p and q are transformed into the straight lines p' and q' as in Figure 4.5. \\ie note that the points B and C are transformed into the points B' a.nd C'. Furtbermore, the circles k 2 , k 1 iiJld k 0 touch t be circles p and q so that, according to the property ( 6) , they invert into the circles k2, k~ a.nd k 0 touching the lines p' and q'. In this way we find the image k~ of the circle k2 , th.a.t must touch k; a.nd has the Jines 1/ a.nd. q' as ta.ngents. Simila.rly, t he circle k~ touches k ; a.od k 0 touches k~. Their joint ta.ngents p' and q' are parallel so that r 3 = 1'z = 1·~ = 1·0, where Tm. and 1·;,. denote the radii of the circle k,. and its inverse cir cle k:,... (In general, 1·,. = 1";,_ 1 = ... = 1'2 = ). 1·~ = 1·0 Therefore, the distance of the center 0 3 of the ci rcle k3 from the straight line AC is
Following the same technique, for arbi trary nth circle k ,.. we can apply the inversion that leaves t his circle fixed and inverts the circles ko, kJ, k2, ... , k , _ 1 into circles of the same radius, arranged vertically under the ntb circle k.,. Hence, the desired distM•ce is
d ,, = r,. + 21";,_ 1 + · · · + 2'r~
+ r~ = 2m·,. .
It is interesting to note tha.t a similar problem of ta.ngent circles appeared in a man uscript by Iwa.saki Toshibisa (ca 1775); see (167, VoL II, p . 537]. ..
Arb elosJike problems ba.ve a.ttra.cted the at.tention of ma.tbema.ticia.ns from the time of early Greeks to the present; see Boas' paper [211. George 141 P6lya cliscussecl the following va.riant in [142, pp. 42 < .
Problem 4 . 5. * T'wo disjoint srnaller ci1 'Cles lie inside a thit·d, larger ci? 'cle. Each of the th1·ee circles ·is · angent ·o the othe!' two and ·hei1' cen· e!'S t t t t M 'e along the same straight line. A chon:i of the larye1· ci1·cle is drawn to tangent both of the .sma.ller circles. lf the length of this chor·d is t, find the Meo. inside the lMge1 ci1'Cle but o·u.tside the two srnalle1· ones. ·
H ERON'S P ROBLEM OF M INIMAL DISTANCE
73
At the end of this story of a.rbelos, we give a. sim ple but challenging problem which resembles the arbe los, posed a.nd solved by Li C. T ien in The Mathematical Intelligencer 1 . 1751
Problem 4.6. * The centers of two small sernici1·cles K 3 and K 4 of equal size lie on the diarnete1· of a lmge1· semicircle [(. T wo other ci1·cles K 1 and K 2 with diameters d 1 and d2 touch each other, a~·e both tangent to the big semicircle J( and to one of the smaller circles K 3 and K 4 (see Figure 4.6) . Prove that d 1 + d2 = const.
F IGURE 4.6.
d 1 + d2 = constant
H eron of A lexandria (ca. 65
Minimal distance
A.D .ca. 125 A. D.) (~ p. 299)
Using a simple geometrical argument , the outstanding mathema.tician Heron of Alexandria demonst rated the law of reA ection (known earlier to Euclid and Aristotle) in the wor k Catoptrica (ReA ectio n). Thjs book was written most likely in t he fi rst century A.D. (no sample of t his book was kept). Heron showed that the quality of the angles of incidence and reflect ion is a consequence of the Aristotelia.n principle that "nature does nothing in vain," 3 i.e., that the path of the Light ray from its so urce via the mirror to t he eye must be the shortest possible. Hero n considered the following problem which can be found today in almost any geometry textbook.
Problem 4.7. A and B are two given points on the same side o.f a straight line k . Find the point C on k such that the sum of the distances from A to C and from C to B is minimal.
31. Thorna.s, Selectio11s Illustrating the Histary of Greek Mathematics, Harvard Uni
versity Press, Cambridge 1941, p. 497.
74
4. GEOMETRY
A geometrical solution of Heron's problem is as follows (see Figure 4.7).
B
'
'
'' '' ''
'
'' ''
'' '
A
k
'
F IGU ilE '1. 7.
Hewn's problem
Let A' be the point symmetric to A with respect to the straight line k , and let C be an a rbitrary point on the line k . J oin B to A' and deno te wi th Co the intersecting point of the straight line BA' and the straight line k . Since the triangle 6CAA' is isosceles, we have
IBCI + ICAI = IBCI + IC.4'1Then
IBCI + ICAI = IBCI + ICA'I > IBA'I = IBCol + ICoAI ,
where t he equality holds if C coincides with Co. The a bove relation expresses t he sol ution of Heron's problem. The requ.irecl point that provides the minimal sum of dist ances is the intersection of t he given straight line k and the straight line drawn through the given point B and the point A' symmetrical to tbe second point A with respect to t he straight line k . In his book On mi1'ro1'S Heron investiga.ted the laws of reflection of light and applied Ius co nclusions to problems related to the properties of mirrors. Consider a physical situation t hat illustrates Heron's problem. Let A. be a light source, B a. light receiver (for insta.nce, t he observer's eye), and the line k an intersection of a. plane containing the points A and B and perpendicular plane of a mirror that serves as a reflecting su rface. A light ray from A. reflects and t ravels to t he receiver B , but also seems to originate from t he point A', symmetric to the point A. wi th respect to t he line k (the mirror image). Heron confirmed in fact that a light ray reflects from a mirror in such a way th<\t its path between <\ light source and a. light receiver is the shortest
H ERON'S PROBLEM OF MINIMAL DISTANCE
75
dista.nce possible. The requ ired point Co in Heron's probleo1 has t he property t hat angle 01 is equal to angle 02 . Moreover, angle o: is equal to angle /3, or , as is usually said, the angle of ·i ncidence is equal to the angle of 1ejlection. This property is, in fact, Fer·mat's p!'inciple of minimal time or the law of 1 ·efmction of light (established earlier experimentally by Dutch physicist and mathematician wmebrord Snell ( 1580 1626)). Historians of science consider that Heron's problem and its solution constit uted t he fi rst application of the ext·r eme pl'inciple in describing natru·a.l phenomena (see, for instance, Hildebrandt's book [102]) . Note that some modern textbooks cast Heron's problem as a practical problem. For example, the stra.ight line k is turned into a rectilinea.r section of a railroad tra.ck, poi nts A and B beco me towns, poi nt C is ca.llecl a railroad platform and the question is: Whe1e sho1lld one build the platfonn so that the combined length of the 1ectilinem· ·roads linkin_g the towns ·i s minimal? In connection with Heron's problem, we present another geodesic problem posed by Henry E . Dudeney in his book Moden'b .P'uzzles (1926).
P roble m 4.8 . .4 fly sits on the 01ttside su1jace of a cylind1'ical drinking
glass. It must cr·a:wl to a d1'0p of honey situated inside the glass. Find the s sho1·test path possibie (di regarding the thickness of t he glass).
Denote t he position of the fly !IJ1d the d rop of honey wi th points A and 8. If these points lie Oil t he same generatrix, the solution is obvious. Assume that this is not the case. Vve can "umoll" the smface of the glass to get a recta.ngle (see Figure 4.8(a)).
c
B
A
A
....
''
.
B
 ... ....
b)
a.)
FIGURE 4.8. A fly and a dl'OP of honey
The problem now reduces to t he determination of the shortest path ACE, where C is the point on the edge of the glass. Actually, this is Heron's
76
4. GEOMETRY
problem and the solution uses a point B' symmetric to B with respect to the edge of the glass. The angle of incidence a is equal to the angle of reflection /3 (= /3') . The fly will crawl over the surface of the glass along two arcs of a cylindrical spiraJ (Figure 4.8(b)), crossing t he edge of the glass at point C. Heron 's reflection principle can be successfully applied to find t he shortest tour in the following scenario.
Problem 4.9. * A young adventu1·e1·, fed up with the big city 1'1tsh and TV soap operas, in his seMY.:h for a peaceful and quite place went to spend Ms vacation in Africa. After a shott time wandedng a1vrmd, he found a beav.tiful place just in the spot where two 1'ive1'S met each other fo rming a peninsula in the shape of an acute angle and built a little cottage there. Eve?'!} day the adventv:te1· leaves his humble cottage C, goes to the 1"ive1· ban/;; A to watch a waterpolo game &etween local t1"ibes, then goes to the othe1· bank B to pic/;; up some lo tus jiowe!'S and spend a sho1·t time petting his favol"ite hippo. and then he 1·etums to his cottage C (see Figu1e 4.9). Which tou1· shottld the adventtl!'€1' take so that the total tmversed distance C ABC wotlld be the shO?ie.st po.ssi&le, asst1.ming that each of his rvutes is ·rectilinea·r?
FLGURE 4 .9. Adventurer on the peninsula
where h is t he height of '" cliff (Figure 4. c. 598ca.themati cs of Brahma. From this figure. one obta.d).c)(s . :+ d . The othe1·.a)(s.s distance d f1·om the base of the cliff.g upta. ji1·st fl ew up height x and then flew in a straight line to the village inn. general form ax + by = c. which is a remarka.92y2 = 1 with. His definition of a mathematician is worth citing: "A mathernat·ici. 159].P = J(s .b)(s . Another of his great co nt ributions was the study of indeterminate equations of t he form x 2 .ring and arranging the equation. b. let us note his formula for the area P of a cyclic quadrilateral having sides a.gup ta. The same distance of traversed paths P roblem 4. XXII]. On a cl·i ff of height h . p.THE SAME DISTAN CE OF TRAVERSED PATHS 77 Brahmagupta (ca.. The first recorded research of zero in history is attributed to Brahmagupta. Vol.Ay2 = 1. what is x? So lution . 670) (+ p. Brahma.gupta is credited wit h being the first perso n to solve a linear Diophantine equation in a. b. . The following two fanciful problems of Brahmagupta can be found in Smith's book Histo1y of Mathematics [167.·i n a year. Ch.ins 2hd .an is a person who can solve the equation x 2 .2dx . d and semiperimeter s. 299) The most influential Indian mathematician and astronomer of the seventh century was Brahma. right).llage ·i. known as Pell's equations (see Appendix A) . If they both tmve1·sed the same distance.) who defined zen! as the result of subtracting a number from itself (see Bentley [161) .10 . = 2hx. One day one of them descended the cliff and walked to the 'tJi. " See Beiler [14. Now let us ta. arithmetic and algebra.ke a close look at recreational ma. being a wiza1'd.10. who lived and worked in t he town Ujjain (or Ujjai)'i nT). I. the great astronomical center of Hindu science. where 11..rm which wa. wherefrom hd X = ::2 h : . (628 A. lived t1110 ascetics. c a re integers.ble extension of Heron's wellknown formula for the area of a t rhmgle. Let h = IABI.D. Among many im portant results from astronomy.2h:7. one can easily derive the equation After squa.
870) H Height of a suspended string p . ~1ikaJni. The Development of Matilenwtics in China and Japan (1913)._____.78 4. The 4 There is an older Chinese version of t his problem. also. Two st1·ings am tied. as shown in Figure 4 . h ' .bits high wa.~ bro~:en by the wind.C.__.B ..10. given about 176 B. P roble m 4 .. even recent ones discussing recreational mathematics and teaching. Two ver·tical pilla1·s ar·e of a known height... DetemLine the lengths of the bamboo segments. 4 Mahiivira (ca. each of them fmm the top of one pillar to the bottom o. say a and b.f the othe1·. 800ca... by Oh'ang 1 Ts'ang in his K iU·ch'ang Suan·shu (Arithmetic in Nine Sections) i see. // I' ' '' '' l': x· '' " .. Fmm the point wher·e the two strings meet..11. 23.11.12. Y. GEOMETRY /.. * A barnboo 18 C11.. 300) This old problem can be found in ID<lJlY books. Two ascetics' paths .suspended vertically till it touches the ground. A FIGURE: 4./ ' I' ' ' '' ' . Its top tottched the g1·ound 6 cubits j!'om the mot. Broken bamboo Problem 4 . p. . anoth.ey· string is . . .
ine the w height of thi. It ·is r'equ.nce between the pilla. Wi th this wtlue of 1: i t is easy to find from .HEIGHT OF A SUSPENDED STRJNG 79 distance bet1veen the pilta.s not kno· n.. Let p Md q be t he lengths of distances obtained after div.= X p p+ q b . the height ~: does not depend on the dista.!.l st'l'ing.n be seen from the solution. Let x be the unknown height of suspended string.11. a (4. we obtain which reduces to Hence we find the so ught height x= ab a+b As ca.i1'€d to det erm. q X After multiplying these two relations.1) or (t p .rs.s snspendef. From Figure 4. 1 + qj p 1 X b b q x l= P. The height of suspeoded string Solution .11 we have . a b X p q F IGURE 4.1= ..ding t he horizOntal distance between piUars by t he suspended string.r·s i.= X q p+ q a 1 +pfq Hence 1 .
.1) t lla..bia.a.nslati ng the di~ta. l u / / / v . GEOMETRY (4.us were interested io constructioos on a sp herical stuface.4+.. Tabit i bn Qorra (826.bit ib n Qona. The diameter of the material sphere 300) The A ra. triangle on a plane (using a separate sheet) congruent to the tria...nces AB. the same fellow who gave a formula.901) (t p. C on t he circumference of r and const ruct a. which ro ea ns tba. Usi ng tbe compass fixed at ao a rbi trary point U on the sp here.aticia. Using Buclidectn tools (st1·a·ightedge a.ng the diameter of a mater ial sphere Solution.ded by tbe point at whicb t be suspended st ring touches the ground in the ratio of their heights.12.. F iudi.t qfp = b/a."'A~~·~1~c \ '' :d I I '' '' '' ' ' 'T FIGURE 4.80 4..sily performed tra.13.4.nd compass) find the diamete~· of a given mate·'ial sphere. draw a circle r on t he sphere.'. . BC. Proble m 4 . CA measured by . s ~ / / ~/ B r / I  +I I I ' '.. Mark any three points . for generating amica.ble numbers (see Chapter 2).ngle !:::.t the horizontal distance between t be pillars is div. The following problem is sometimes ascrib ed to Ta.them. B . \ . this constr uction can be ea.n m. Obviously.ABC.
_ q d therefore the diameter of the rna. Tben construct the circle describing t ile tria. r Now we const ruct a. all of them being born in the Persian mountain region Khorasii. together with Omar Khayyam (1048.nd comi pose a la:rye1· squ. Abu 'l\..12) .U VT we find by proportion r 1· Jct2 .ngle /:::... as the circle r drawn on the sp here..Vafa's weU.Vafa.998) (tp.9.terial sphere is Mohammad Abu'l..tiou is given in Figure 4. from the right triangle /:::. The dashed lines show how to perform four additional cuttiugs and insert them to make a large square (see the marked ma.14. Knowing q and · .'' Apa.rts).. This circle has tbe same rad ius..knowu dissection of squares reads: Proble m 4 . made the famous "Khorasan trio.a:re from these parts. The length q of the leg U \f of this right triangle can be measured by the com pass.sect tluee identical squa1es · nto nine parl. say · ..re cut along their diagonals and then the four resulting t ria.9 a. .ps of congruent pa..r t from significant contributions on a number of mathematical topics.ABC.D ISSECTION OF THREE SQUARES 81 t he compass.= ... right triangle !:::. Abu'l.. 300) Abu'l\.Wafa alBuzjani (940.ngles are arranged around one uncut square.Vafa is also remembered today as a creator of n1any amusing dissection puzzles._____.:. probably t he most prominent Islamic mathematicirul of the tenth century. Two squares a.vVafa's sol u.UVT which has the radius r as an altitude and the diameter d = IUTI as hypotenuse (see Figure 4. Di.1131) and Nasir alOin (12021274).it is the same opening used in drawing the circle r at the first step.q2 .n.13 . Dissection of three squares \.___::.
GEOMETRY FrGURE 4. 2.nd 6. Dudeney sol ved Abu'!Wafa's problen1 using only sL'< cuts. 3. below parts 5 and 6. The desi red square can be comp osed from the parts 1. B 1 4 D E A c FlGURE 4. fit t he spaces inside its bo unda. t he !a. As in the solution presented in Figure 4. an d parts 2 and 3 (joined) fill the gap.14. The four small pieces. Dudeney's solut ion to Abu'lWafa dissection problem As mentioned in [186].82 4.test Et1glisb creator of mathematical puzzles and games Henry E. His amazing solut ion is shown in Figure 4.lso applied if among three squares two larger squares are identica. Wa. Solution to Abu 'lWafa d issection problem However.fa's idea can be a.1 4. T he points E and F are determined so that IBCI = [DEl = [FG[.] while the third one is smaller in size. the g1·ea.13.ry exactly. lying outside the square drawn by t he dotted lines.rger squares are bisected and their pieces are pla. . Point B is t he intersection of t he straight line through C and G and the arc with t he ce nter at A and the radius [AD[.13.ced symmetrically around the smaller square. parts 1 and 4 (joined) slide right down along H E. 4. 5 a.
s· mitar· to them in shape.241] .th in 1021. 197.t icia.t the invita.chine that would successfully regulate the annual flooding of t he Nile.kim to dernonstra. the Islamic physicist and ma. he soon experienced misgivings concerning the success of his pla. and Quetelet. 15(b)). p.zen did not. make a ricochet. better known in Europe as Alhazen. Solutions to these problems can be found in the works of E. Let the ball first strike the edge of the circle a. Barrow. Ma. and assume tba. Here we present one of Alhazeo's problems. be dissected into .200] and J.16. while there he wrote his great scientific work. he feigned madness knowing t hat the insane received special t reat ment and protection. the ball 1etur•ns to i its original posit·i on? Solution. de L'Hospital. pp.zen arrived in Cairo.seven pieces 1uhich fit together· i to make one ( lmger·) tl'iangle? Ibn alHaytham (A lhazen) (9651039) (+ p.t point A . A!hazen's fame as a mathematician also derives from his investigat ion of problems named for him concerning the points obtained in certain reflecting processes associa.DISSECTION OF FO UR TRIANGLES/B ILLIARD PROBLEM 83 Dissection of four triangles Problem 4.n Ibn alHaytham.thema. 305308]. Alhazen received the invitation owing to his boast that he could construct a ma. spent the greater part of his life in Egypt. Billiard problem P roble m 4. Alha. spend his time in Egyp t in vain.te his ideas on a. 231. * H01v wn three identical triangles and one smaller· t·riar~ gte.n in practice.zen's problems") . incl uded Huygens.zen simulated insanity so perfectly that he managed to keep 8Jl)' t rouble at bay until Hakim's dea. and attained fame.dachy [127. In the version presented by H. We denote the initial position of the ba. floodcontrol project for the Nile. Eminent mathema.t ed with a variety of reflecting surfaces ("Alha. ci·t cular billiard table in such a way that ajte1· stl'iking the C118hion tw·ce. S. cross the . pp.s one st!'ike a ball ly'ing on a. Alha.15 . 194).tion of t he cali ph alHa. Let us represent t he billiard table as a circle in the plane with the radius rand the center C (Figure 4. as posed and solved by him. Fearing alHakirn 's anger. Optics. pp. 300) Although born in the so uthern Iraqi city of Basra.ticians who studied these problems after Alhazen. Although Alha. however. Eves [6 1. Dorrie [54. Callandreau [33. Riccati. He traveled to Cairo a.t the dist<tnce ICPI = c is known. H. How doe.ll by P.
BilUard problem Let us recall the angle bisector theorem as we continue solving the problem.8 " From the tria. = sin. we haNe L.nd s c sin 'Y . GEOMETRY extension of .PC (diaJu eter of t be circle) at a rigbt <IJ.. y :c y sin~~ ::.gle to tbe line . then strike the circle at 8 and return to .15(<\)) we have y z si n 1 .PC a.sin( o:/2) · Hence c=s in.15(b).P.t tbe angle o f incidence a:nd the a. lSAI = IAPI = z .sin . (4. then app lying the sine t heo rem we obtain s sin . Setting lCSl = x.l.8' sin'"( that is.PBC = LCBS.15(a)). c 0: A. 2 y z p s y X c a) B b) FIGURE 4. If s i~ the bisector of the angle LACB = o: (see Figure 4.2) Let us return to Figure 4.84 4.ABC (Figure 4. K oowing tba.t S . it follows that .n gle !::.ngle of reflection must be equa.8 · Therefore.=  z c y.15.3 sin(o:/2) x a.PAC = LCAS = L.
rd to t he Pythago rean theorem. Then the line segment AD gives a. Geo metric solution of the q uad1·atic equat ion Vve rewri te the l!t. • '' '' \ ' ' '' '' '' ' '' b b a) A ... we obtajn just (4.. With the sides 2c w•d 1· we construct the right t riaJ•gle b:..3) Eliminating y t'l.nd a.2). 1' • ' '' ' '' • ' ' ' .16(c)) .pply Descartes' method to co nstruct the solu tion of t he quadratic equation x 2 = .) we see how to find b.~t qua.2) and (4. . .. Now we will a. In rega. indeed..16(b))...ax+ b2 (see.g... a D 2c B b) L M c) FIG URE 4 .BILLIARD PROBLEM 85 a. we construct a right triangle b:.dra tic equatio n in the form 1'2 where a=  1' 17i 2c' b = v2 ' ( 4.. it is the side of a square 'A'ith the diagonal 1·...pplying t he f!J\gle bisector theorem. Then we co nstr uct<\ circle centered at N with radius INL[. pp.. we haver = Ja · 2c (Figure 4.. Q ...N Llv/ with ILMI = band ILNI = !a (Figure 4.DBC and draw a line thro ugh t he vertex C perpendicula. . R '' '' c 1' ... In the sequel we will show how to construct x (= [CSI) knowing t he values of r and c.. Let P . Katz [113..16. 437438])..3) we obtain the quadratic equation for the unh"llown x .nd z from (4.r to CB to find the intersecting point A \\'ith the line through DB..16(a. ~ . First. e.4) From Figure 4. (4.
we notice. a2 + b· . .n Roder.' 4 2 l a Johann Muller (Regiomontanus) (14361476) (7 p. that the object appears at its best when viewed from a part icular distance . IN/ PI is t he • IMPI = IMNI .JILMF + ILNI2 ..iller. In 1471. Indeed . he presented t he problem to Christia.4). professor from the city of Erfurt. FIG URE 4. or a monument (as in Figure 4.. 301) Distance of the optimal viewpoint Often when we view a n object such as a paint ing or'' stat ue in a gallery.17. G EOM ETRY be the in tersection of t his circle wi t h the hypotenuse INLl. found th is phenomenon to be of grea t significance. whether consciously or un co nsciously. .IPNI = . T he best view of t he Statue of Liberty .. Many historians of mathemat ics regard Muller's work in the field of opt imization as being the first such work done since antiquity. t hen required va lue x .17)..Johann Mi. the fifteenthcent ury German mathematicia n and ast ro nomer known as Regio montanus. a.ILNI = which is exactly the value x found from (4.86 4 .
A' F IGURE: 4.. .nus' ma:xio1UJ'O probleo1 io an abstract geo1uetric • foro1 with these restri ctions: t be for mulation of t be problem is restricted to a:n imaginary pict ure plane.. in this case a.. . is understood as a vertical line segment.17. Vl e assume that the optimal viewing distance for the object corresponds • to the ma. see Figure •US.. .18. . The straight line p. P roblem 4. Solution. we Me interested only in t hose points tha. rod.'~ . F IGURE 4. Lorsch .... Dist a nce of the best view Let us draw a family of circles.. We observe the rod AB from a point in the plane that results io a viewing angle which is t he same for all points that lie on a fixed circle belonging to this family (since the peripheral angles co rresponding to a fixed chord of a given circle are the same). al l of them pll$Sing through the points A and B. denotes the viewing leveL B jj··. Evidently..::. perpendicular to the vertical line (of hanging) 0 AB.19 .ximum viewing aogle L BC A from t be observer's eye (presented by the point C) towards the rod AB (with IABI = d) .DISTANCE OF THE OPTIMAL VIEWPOINT 87 Vl e present Regiomoota. A 1od of length dis IYlLSpended vertically at height h /Torn an observe1·'s eye level.. d .. We present a solution constructed entirely in the picture plane. . and ou:r object. Hnd the ho?·izontiLl di$tance fmm the ·rod hanging verticall:y to the obse~·ve'l·'s eye in such a way to see the rorl the best.t lie on t he straight line p (at the observer's eye ...ller. However . the value of these angles will be larger if the radius of the circle is smt'i. The solution is similar to that published in Zeitsch1ift jii1· Mathe~natik nnd Physik by Ad. . A ·· ~··~ s p A d ~ h h 0 C* c :h .
perpend icular to t he goa. the point of tangency is the desired point.l Hne. T herefore. [121].! (h. circle t hrough .19. [541.20 shows pa. [1411 and [1901 . Rugby footb<~ll problem . rugby union footba. Lester G. the solution . we find c· c· X= IOC*I = IDSI = J I. c· More details about "ext reme viewpoi nt problem" may be found in [7] . an d x = IOC* I is the distance aJfordiJlg the most desirable view.20 . According to the rules of the game.IDAI2 = J ISC•I2 IDAI 2 = .ll field with the goal line passing t hrough the goal posts marked by little black circles. Therefore. goal line T FIGURE 4 .rt of a.n attem pt at a conversion must be taken on a line extending ba. How does one find the distaJace x = IOC' I? Denoting h = IOAI and recalling that IABI = d. Lange considered in [1211 a mo re general problem in which the picture is tilted out from t he wall.t point wbich lies both oo t he straight line p a. GEOM ETRY level). Therefore.nd oo a.ckwaJ·ds from t he point of touchdown. This problem app lies only when the at tempt is not scored between t he posts. a.4SI 2 . + ~r (~r = _ J(h+d)h.88 4 .nd B wi t h the rad ius as small as possible. The can be fo und by the geometrical co nstruction shown on crit ical point Figure 4. t he optimal viewing distance is the geometric mean of t he distances of the upper and lower ends of the rod from the viewi ng level.i s tha. This point is the point of t he tangency of the circle through A a.nd B and the straight line p. David Wells [186] considered the following variant of the "bestview pro blem" of practical interest.4 a. where [A'OI = [OA[ = h and A' C* B L~ t he semici rcle wi t h the diameter lA' Bl = 2h + d. Fi nd t he point To n this line from which the conversion should be taken so that the angle subtended by the goal posts is the largest. 1 134]. Pigure 4.
Therefore. tbe solution to the rugby conversion problem bears a grea.18. see Dorrie's book [54].20. as shown in Figure 4.n be found in He in ricb Do rie's book. The Saturn p1·oblem is an interesting spacevariant of Regiomontanus' problem. pp. Choosing the circle to toucb the line exactly at point T implies that all other points of the line are outs·de the i circle. FIGURE 4.tor expressed as an arc of meridian. P roblem 4. for more details.rity to t he solution of Regiomontanus' "bestview p roblem" . 100 Great Pmblerns of Elernenta?IJ Mathematics [54. the same angle will be subtended by the goal posts at any point on t his circle. The widest view of Saturn's ring . vVe give here the outline of t he solution to the Saturn problem. Since the peripheral angles corresponding to a fixed chord of a given circle are the same.rger angle.nd it ca. a. widest? At wha· latitude does Sa· ttrn's rmg system appea1· t t \Ve recall that latitude is the distance on the sphere surface toward or away from the equa.21.SAT URN PROBL EM 89 Obvious ly. Hermann MaJ·tus was proba. the choice of any point outside it will subtend a smaller angle and any point inside it. 370371] .t simila. the conversion should be taken from the touching point T.bly the first to pose t his problem. la. a.
]'.2(7·+p)' IAFI ab 2p IAZI It can be shown that the value of p is given by p= . GEOMETRY To solve this problem. IM. First we draw the ci rcle !1 that passes through points A and B and which is tangent to the meridian m.800 km. IABI the width of the ring.te from the right triangles £::..1ZF and l::.tion. The widest view of Saturn's ri. we will calcula.{ is the midpoint of Saturn. Now. we obtain therefrom COS<p = sin 'tP = IMFI a+b IMZI .900 km . Then the point of tangency 0 is the point from which the ring appeaJ"s to be greatest.22 we will find the solution. where Z is the center of the circle .90 4.]'.J plane. z • \ ''• '' • ''• '\ m '\ '• ' ' •.AZF.AI = a being the outer radius. with a:n inner radius of 88.!1 a. aJld that Saturn's ring system lies in its equatoria.rc m represents a meridian.4B. so that LAO B = 1/J is maximal.21 and 4.nd F the middle of . The a.id liS in viSllalizing this situa..22 a.22. and IM Bl = b the inner radius of the ring. . Denoting the radius of !1 by p.titude 'P = LCMO at which t he ring width appeaJ"s largest. let IMCl = 7' be t he equatoria l radius of Saturn on !\II A and let 0 be the point si tuated at the la. we assurne that Saturn is a sphere witll tbe radius of 56.ng The latitude 'P of 0 and the maximum 'if. '• '' • M F FIGURE: 4. Figures 4. Using Figure 4.500 km and a:n outer radius of 138.
Assuming that t he crosssection of Saturn t hrough its poles is an ellipse with semimajor and minor axes p and q.._.l case was given by . According to Smart [165]. Saturn is co nsiderably deformed from the ideal sphere on which the above derivation is based. for the specific values of a. S'<Lm of . The minimal sum of distances in a triangle The fonuula. it follows <p ~ 33° 33' 54" > 'if. 303) Bonaventura Cavalieri (1598.1647) (T p. Toricelli won fame for his discoveries in physics. 371]).. they both studied the challenging problem that follows. respectively. p.1867) (t p.valieri was successful in optics and astronomy. 306) P ierre de Fer mat (1601..tion of this wellknown problem is very simple: P r oble m 4 .:..:.. find the po·i nt 'W hose distances fi'Orn the vertices of the tl'ia.19. having an equatorial radius of 59. while Ca.1665) (t p... (a+ b)T ab + r.nd a polar radius of 53.850 k rn.. Jacob Steiner (1796. Both colla.. ~ 18° 26' 40".r· ' (a. so that.650 krn a. 303) Evangelista Torricelli (1608.2 ab .._7. The solution in t his rea. Spain) in The Mathematical Gazette. and r. = .. b. Tonicelli and Bonaventura Cavalieri were very influential seventeenthcentury Italian scientists..2 · Hence. the relevant geocentric latitude is fou nd from t he cubic equation where tan <p = (q/p) tan t . and finally.J'VliNIJ\·IAL SUM OF DISTANCES IN A TRIANGLE 91 (see [54. both were forerunners of infinitesimal methods.:..b)1· sin 'if. we finally obtain cos <p = . This yields 29° 39' 10" as an approximate val ue for <p..borated with Galileo.ngle is minimal. Note how this solution reverts to that mentioned earlier when p = q = r·.John Trainin (Granada. 302) Evangelista. In the plane of <! triangle.1647) (t p..
Rotate L:::. the grea. recreationa. For th is reason they are frequently called Steiner's problems. knowing that obtuse angles exceed 120°.a. and C .oreover . determ·i. a wa1·ehouse.nd the . B. This problen1 frequently appears in n:JaJ1Y mathematics books. Let T' be the image ofT under the performed rota. Otherwise.r.ne t he m·i nimal combined lengths of the rectilineM' roads linking the common po·i nt D to A. an oil pipeline. In other· 1uor·ds. sometimes. lies on the straight line A' B.tical recreation only. and. Furthermore. a depm·tment ston~. B. In the sequel. LetT be a point inside L:::.4'T'TB and it is not shorter than the straight line A' B . B are co Unea. the famous GermanSwiss geometrician. T. Bonaventura Cavalieri. fo1· example. B.CTT' is equilateral. ICTI = ICT'I = ITT'I.92 4. By construction.llHe situations.sogonic centei'Of the tr i. also studied this problem. Torricelli's student Vincenzo Vivian:i (1622.t ion. using the symmetry a. and C ag1·ee to build a joint p1o_ject.ABC (a candidate for the isogonic center). considered the above problem and a series of similar problems in detail. Obviously.Then the sum of lengths IATI + IBTI + ICTI is equal to the sum IA'T'I + ICTI + IBTI = IA'T'I + iT'TI + iBTI. The last sum is the length of the polygonal line . and connect T witb vertices A.ABC about C through 60° into the position A' B'C. we wi ll present t he wellknown geometric solution of Steiner's problem of the min:imal sum of d istances for t riangles whose angles do not exceed 120° .bly the first work on this subject.U physicist and rn athematician Evangelista TorricelU witb an this very problem.l •ualne. On ma:t'imal and minima. they provide a~curate models of rea. According to some historians of mathematics.t French mathematician Pierre de Fermat was interested i. For these reasons.nother great Italian mathematician.C is> 60° (Figure 4.tion D of this joint vent1we S'!!Ch that the inhabitants of these th1·ee villages tnwe·1·se a m:in·i·mal route. the isogonic center just coincides with the vertex of the obtuse angle. the point where the required minimum is attajned is often called the Torricelli po·i nt or. T' . problems of this type are not restricted to ma. and C.n it. be chal lenged t he eminent Ita. that include challenging optimization tasks such as: Three villages A. the isogonic center.s (1659).thema.l and courserela. but more important ly. the Fennat po·int. and their optimal solutions have a direct economic impact. Hence we conclude that the length IA'T'TBI will rea.ch its minimum if the points A'.23). denoted by r·. and IATI = IA'T'I.1703) published his solution in proba. The problem posed at the beginning of this section has a long history. In the nineteenth century Jacob Steiner. o1· a ca. Therefore. GEOMETRY The point with this property is now known as the i. a. Find the loca.ted.sino. we observe that L:::. ro.ngle. Assume that the <\ngle L.
say BC and CA.ci.URE 4 . t he intersection of t hese arcs gives the desired isogonic center T* .s . 302) The great German astronomer and matbematiciao Johan I<epler is best known for his discovery of t he three mathematical laws of planetary mo tion. J ohannes K epler (1571. Min imal sun:> of d istances Frc.BC. ''' : • '• . Then we draw two arcs with the radii I01 B l and IOzCI taking 0 1 and 0 2 as the centers. a fact explained a few deca. but also very impressive. B T' A ' '' I .nd 0 2 . is that he was not aware that the came of the motion of the planets is gravity. The discussion of this construction is left to the reader.20.bout the location of T • (see Figure 4. This property gives us an idea a. • • ' • • '' • ' • Oz A' Frc. ' c A ' '' ' ' ' o. we draw str aight lioes under the angle of 30° related to two sides of 6l1. • T '4 • • • • • • '' . ''.mli. and find the points 0 1 a. ' :.24) . 23. .J'VliNIJ\·IAL SUM OF DISTANCES IN A TRIANGLE 93 equality of crossing angles rela. . P r oble m 4 .* Find the isogonic cente1· (T01ricelli point) 11Smg the H enm ?Y~ftection pl'in. Vlha.U RE 4.t·u.ple. ' '' '' .t is most surprising.1630) (+ p. • . Hint: See Problem 4. it is easy to show that all sides of t he triangle ABC are seen at tbe angle of 120°. Locatioo of Torricelli's poiM inatriugle First.2 4. 8 .7.ted to T '.des later by Newton in his monumental work Philosophiae Na.
" In other words.tics. Kepler advanced new ideas for the solution of ma.1639 Volumes of cylinders and spheres In his book New solid geometry of wine ba?·rels.nnes Kepler described t he methods for simple measurement of the volumes of banels of different shape. Then tbe restriction 0 ::::. Kepler's favorite child died of smallpox at the age of seven. GEOMETRY Princ·ip·a Mathematica (1687). The base radius of the cylinder is JR 2 .nd min imum problems t. he clied.nd let x be half tbe beight h of the cyUnder.25).dius of the sp bere a.ximum a. .. wbkh in turn have touched upon the essence of differential and integral calculus. Johannes Kepler 1571.5) The aim is to find x that provides maximal volume \fc of the cylinder. Kepler himself was accused of heterodoxy since he was a profound Lu theran. Let R be the ra. Kepler lived a great deal of his life in poverty and while on a trip apparent ly to recover his permanently unpaid salary.thema. R is obvious (see Figure 4./2.94 4. J'nsc?'ibe a cylinde?' of maximal volume in a given sphe1'e. So it is not strange that this inquisitive and imaginative man was the author of probably the Jllst ever science fiction story. Theorem V is one of the results contained in Kepler's book: "Of all cylinde?'S with the same diagonal. this theorem gives i the solution of the following problem: Problem 4. his mother was tried and sentenced for practicing witchcraft. Joha. and his first wife Barbara went mad and clied. In t he next chapter we will see that I<epler i dealt wi t h so me problems which could be considered today as recreationa l mathematics.n d his children found themselves forced to leave Prague because the Emperor Matthias clid not tolerate Protestantism.x 2 and its volu me is (4. called Somnium (The Dream). however. see [161].n be solved u~ing elementary ma.! life.21. x ::::.o clarify the basis of his methods. He a. This problem ca. Kepler's persona.s . the largest and most capacious is that in which the mtio of the base diameter to the he·i yht ·. was plagued by misfortune.
306) Although he did not learn to read or to write until the age of 14. J acob Steiner later became a professor at the University of Berlin and one of the .VOLUMES OF CYLINDERS AND SPHERES 95 ·r • I "'=x 2 R f' IGURE 4..5). Largest cyliudet in a sphere The problem can be easily solved by using differential calculus.. Fi rst we factor f(x) in the following way: We note that the function f reaches its ma:dmum when the first term vanishes. For our purposes. Here we use the suitable elementary manipulations to avoid clifferential ca. it is sufficient to co nsider the function appeariug in (4./3.dius of the cylinder are lIenee we see that the ratio of the base diameter of the extreme cylinder to t he height is .}2. when x = R/ . J acob S teiner (17961863) (t p. a fact established by Kepler. that is..25. For this value of x the height ami the base ra.lculus.
and many bistol'ians a. PonceletS teiner's theorem.ld be "enci?cled with a. tied thern i togethe1·. 7 lsoperimetric .22. o known as Elissa) and her role in the founding of the city of Carthage. she endeavor·ed to find a suitable plot of land on which to settle.IJ Euclidean constructions can be carried out witb a straightedge alone in the presence of one cir cle and its center drawn on the plane of the construction.t a. being a capable negotiato1·.secu. She built a fortn~ss on land next to what is today named the Bay of T1mis.9 One of the most ingenious proofs is clue to the great GermanSwiss geometer J acob 6[n 1904 t he [talian Francesco Seveti s howed that au a1 {of arbitrary s ize) a.6 Dido's problem Virgil. Blaschke. one of ancient Rome's greatest poets. Berlin 1956. 61. the local 7ule1·. some ltistorical references can be found in the book Kl'eis und Kugel (Circle and Sphere) (Leipzig 1916) of the German geometer vV.nd va.9 m?ACh land as cott.9Uine. Ya~·b. Once she had put en07Agh di.96 4. and in that way enclosed a la1ge tmct of land. find the one that encloses the laryest area. Nevei·theless Dido. Hildebrandt.ven length. 9 Repl'inted by Auflage.) problem 8 The literatu re devoted to Dido's problem is vast.tion by her b?'Othe1·. figures are figu res having the same perimeter. let us consider the problem as follows: Proble m 4. This question is known as Dido's pmblem.nd its ·c center are sufficient to make )>ossible all Euclidean constructions with a straightedge a lone 1 p.t this was the first discussion in litera. Variati011srechung heute. Howeve1·. Among all clo8ed plane cur"ves of (L gi. 1986. managed to pe1·suade Ya1·b to fulfill a "mode.re of the opinion tha. 5 Mathema. b·ull's hide. for instance. GEOMETRY greatest geometers ever. . asserts t ba.ria. As D·do fled ft'Om per. Wafa's problems in this book .tions on them .rkable results. This prompts one to ask: How 7n1ACh land can a bull's h·ide enclose? Using the terms of modern mathematics.st" wish: to sell he1· a." Cleuer D·do then c·ut a btAll's hide into nalt'I'O'w st1'ips. 7 Today we understand that the desired curve is a circle.tion problems often make use of co nstru ctions of thls sort a. 6 See. she b1•ilt the city of Carthage. 8S.9tance between them to assn1e he1· safety. Abu'J.tical recrea.ture of an extrema. was not willing to sell he1· the land. 981 . describes in the Aeneid the aventure of the legendary Phoenician princess Dido (al.she follow ed the Medite·t i 1anean coa. one of his rern a. or the classical isope1'imetl'ic Jn'Oblern. RheiuischWestfiilische Academie der Wissenschaften. DeGruyter. and nea~· it.
s~ c a) b) c) F tGUA.26(a)). Steiner. area St <area S2. say Aa:B.r t S 1 .rcs AaB and A/3 8 joining A and B lie on the same side of the straight line through A a. 1.ctuaJ existence of a rn a.rger pa. larger a. By replacing one of these arcs.rea than Acx8f3 A.26(b)). then the ch01Yi AB halves the Mea of this c• rve into eqnal pa~t. Steiner's solut ion of Dido's problem (I) The extrmnr1l c·.gel. Blaschke.E 1!. failed t.rt S2 under reflection in the diameter AB instead of the smaller pa. 1 1 A convex region U is one with the prope rty t hat if any pair of point. S2 . Weierstrass later gave a rigoro us proof. it contai ns two points A a. and add it up to S 2 (which has the same length as S 1) . then the angle AC B is a 1'ight angle.s.x. If C is any t t point on the curve. (II) and (IJI)). with its image Aa 'B under reflection in AB. both with the same length.ea:. however.wue ·i. pp.DIDO'S PROBLEM 97 Steiner. 11 Proof.nd B (see Figure 4. curve t hat would solve the isoperin1etric problem. Assume that the chord AB divides the area. Steiner's solution of the isoperimetric problem follows from the three auxilia. M. Tikhomirov's book (176]. I<reis und I<u.26. (II) If points A and B hal·ve the pe1'1mete1· of the extremal curve into equal lengths. be assum ed the existence of a. 10 We present Steiner 's proof below as it appears in V.ry assertions (Lemmas (I) . In that case. then the tine segment PQ connecting P and Q lies inside U. Suppose that the desired curve is not convex. (III) Suppose · hat po·ints . But then we take the imageS~ of the Ia.5 (P. Q) lies inside U.nd B such that both a.i rnum . 10 W. . into unequal parts S1.o prove t he a.42.s com. u Proof. one obtains a new curve Aa' B /3A of the same length that encloses a. Leipzig 1916.! and B halve · he extremal cu1·ue. In this way we would obtain a figure with the same length but the larger area (Figure 4.
chord t hat haJves t be length of t be extremal cu. as shown in Figure 4. 13 Although be also gave a great contribut ion to comb inatorial designs. The a.tical results. some included in this section. but we included it in the chapter on geometry since Steiner was a great geometer _ Is thi~ a n sufficiently good reason? 12 Jourrud .rn eter AB splits into three parts: the triangle ABC a:nd the segments adjacent to the sides AC and CB with the a reas SA c and SBc (see Figure 4.98 4. \Ve see that the extremal figure consists of all points C from which a. GEOMET RY P1·oof.AB'C . t he solut ions of some recreational problems require very powerful mathemat ical tools. rotate segment Sc B around point C unt il point B arrives at position B' in such a. fall somewhere between serious mathematics a. SAac will reach its maximum when the a:ngle AC B becomes a rigb t angle (sin C = 1).26(c)). poi nt C such t hat ACE is not a right a.J angle over t be diameter of a circle is always 90° .ngle. Division of space by planes The following problem and many others. way that ACE' is a right angle. 349. Since SAac = SAc+ Se a+ Se. The figu re obtained by reflecti ng t he curve AC 8' in t he chord A 8' has t he sa. Steiner t1·iple system. . which proves the assertion. Assum e there is a.rea SABC bounded by the aJ·c ACB a.ro e pel"iroeter but a larger area than the original figure. ABC = SAc+ Sea+ ~ IACIIBCI sin G < S11c + Sc B + ~IACII BCI = SAc+ ScB + St. which means t hat t he curve in question is a circle.26(c) .nd t he dia.nd recreational mathematics.364. On t he other hand. Now.t hemat ica l branches or to the cl.fiir die reine und angewarulte Mathematik 1 (1826). recall a.is ill ustrates a wellknown property of a circle: t he perip hera.rve is seen at a. Tb. The following problem was first solved in 1826 by Steiner 1 2 P r oble m 4. The famous geometer Jacob Steiner considered several such problems of dual character.23. This is not unusual. What is the maa:i mum nmnber of pa·rts into which a space can be d·ivided by n planes? Perhaps this pro blem has a more combinatorial flavor. right angle.iscovery of important mathema. we have already emphasized that the study of many mat hematical tasks and games led to the development of new ma. we conclude that the area.
6 . Taking into account that those pa...1 in total) T 1T2. . to obtain the maximum number of pa rt s. • ? + 2. T2. . . 2 1 FIGURE 4. . The line segments (n . . we must exclude (i) parallel lines and situations in which (ii) three or more lines pass through one point._ 1T" and the two semistraight lines with the ends at TJ and T. . Accor(ling to this simple consideration we have .tis6ed. belong to t he various parts of the plane a.= n(n + 1)(2n + l) To find t he desired maximum number. .27 where n = 3). say T 1. we will assume that these two condi tions are sa. Each of t hese tra. . In what follows.D IVISION OF SPACE BY PLANES 99 In so hdng this problem we wiiJ use t he wellknown formulae l+2+ ··· +n = 12 n(n + 1) 2 .. es the number of parts by n + 1 (see Fig ure 4.+ · · · + n.nd their number is obviously n + 1. T". denote t he number of parts in the plane. one additional line will be cut by t he previous n lines into n points. let us first solve the same ty pe of planimetric problem that we present here: What is the ma:t'imum numbe'r of pMis into which a plane can be divided by n stmight lines? O bviously.. 27. T.. T2T3.v ersed parts is divided into two parts so that the (n+ l )th line increa..rticuh•r cases (i) and (ii) are excl uded . generated by n lines. Dividing the plane by straight lines Let P.
. + P2 + · · · + Pn 1 · k= l Since 81 = So + Po = l + l = 2.P0 = 1 + 2 + · · · + n. (4.. This consideration leads to the relation 8..8) 14Stuns of the form l :m<k<n ( a(k+ 1) . A new additional plaJle is cut by the first n planes into n lines in such a way that conditions (i) and (ii) are satisfied. wbi ch means that t he a.n two planes are pa. planar sections.tion 14 yields n... Therefore.+1 = 8 .7) 2::::( sk+l .sk) = s.1 L (Pk+ J k=O Pk) = 1 + 2 + · · · + n . (<1.. . Since Po = l and l + 2 + · · · + n = n(n + 1)/2. Let 8. . To attain the maximum number of partial spaces we require that (i) the lines of intersection of no more tha..• • According to (4. P. Euotatiou was int roduced by Joseph Fomie r in 1820.6) Let us ret urn to t he space problem originally posed.l spaces by . it follows that S.100 4. _.dditional (n + l)th plaJ1e increases the nuo1ber of the partia. we fin ally find P. that is. Each of t hese sections cuts the traversed partia l space into t wo sroaller spaces.7) we obtain '1}. the new (n+ l )th plane is divided by then lines into P.1 + P. denote t he required maximum num ber of partial spaces obtained by n planes.(k)) are often called telescoving by analogy with a telescope whose thicknesS is determined by the radii o f the outermost and innermost tubes of t he telescope. = 2+ (4.P. GEOMETRY Telescoping summa.s1 = P1+ P2+ ·· · + P. By the way. = l + n(n +1) 2 = n 2 + n+2 2 .. P ~ .o. .".rallel and (il) no more than three planes intersect at one point.
8) we find t hat the required maximum number of parts.nd t be formulae for t he sums of natu ral num bers a. i Road system in a square The following problem.24.l )n] n3 + = 2 + 5n 6 6 · Using this res ult.gain to Jacob Steiner. The following natural question arises (see (88]): Problem 4. is the sum of the first fmw entries of the nth row (figure below right.nd squa.ne is div· ded into (infinite and bounded) parts by i n lines. we find that k=l ~Pk = ~~(k2 +k+2) = n l +~ [ ~k2 + ~k] k=l k=l k= l = n. obtai ned by dividing a space by n planes.. is ascri bed a. is given by s. which can be found in many books.. can be expressed by the entries of the Pascal triangle. . from (4. P5 = 16) and S.. We have seen t hat some of these parts a.res of natural numb ers.6) a. Determine the ma:J:imu.f bo·unded parts ('regions) . 1 1 1 1 1 1 1 1 2 2 1 1 1 1 1 1 1 4 1 3 4 3 3 6 3 4 1 1 6 4 1 1 5 101 10 5 1 1 6 15 20 15 6 1 1 5 10 101 5 1 6 15 20 15 6 1 The su mP.1)(2n .1 +  1 [n(n . is equal to t he sum of the first thTee entries of the nth row (figure below left.ROAD SYSTEM IN A SQUARE 10 1 By (4.re infinite.m poss·ble nmnbet· o.23 was the determination of the maximum number of parts into which a plane is divided by n st raight lines.* A pla. T he sumS.1) 2 6 (n .. while others are bounded. The first step in solving Problem 4. S 5 = 26) .6 It is in teresting to note t ba... n 3 + 5n + G = . given above... S.t tbe nurn bers Pn and S .
V3 . A road system is composed of the solid lines EV1. Using the triangle inequa. = 1 .n 0. S'(O) = 2( 1 .tions will be discussed later.nd FV:~. c A ~.~.ngle 0 which should be determined so that this road system bas minio1al length. see Figure 4.~. V2 . FV1. each being a ve~'tex af a squ. 4 .102 a1· 1uhatever'). E~. Other configura.28 has smaller total length than any nonsymrnetric network X . a.28. shanld be connected by a r·aad netwaTk so that the total length of the 1·aad system is minimal.t.y = 1 . (J E [0. 1am·ehauses. the length of the desired road netwo rk is S = 2(2x + z) . EF. Solution.re of side length equal to 2 units.E 4.28. Since y = tane. Minimum road system .tan (J. Let V 1 .B z 1 F I ~1 1 D FJGUR.are. AB and CD are perpendicular bisectors. Referring to Figure 4. we have X = 1 cos (J .ne + where we introduce 2 2 cos 8 (J  ) = 2 + 2f(B) . Fom· villages (hamlet . lT/4]. f(O) = cos ta. with t be unknown a. airp01t ter·mina.25.ta.28. :. and \14 be the verti ces of tbe squa. GEOMETRY Proble m 4..Ji ty it is easy to prove that the symmetric network X shown in Figure 4.
Hence. Using the wellknown formulae . the inequality (4. the sought value of t he a. The length of the minimal road network is For co mpariso n. to find tbe 01iniroum of S(8) it is suffi cient to deterroine t be minimum of t be fun ction !(8) on the interval [0. more familiar to tbe wider circle of readers. The refore. from (4. From the last expression we see t that the minimum of f(O) is obtained for · = cos 20 = 1/ 2. but we wish to avoid it and demonstrate an elementary method.tan 0 > cos 8 vr:3. after squaring and rearrangement. First. 11"/4].1].cos 28 = ~ t 2 ' 2 cos O= 1 + cos 28 _ 2 .10) we get t ~ !l+t V2 + \13 V2 < 2. . we obtain Squaring once again yields 1 . 1r /4].10) sin 0 + vr:3 cos 0 < 2. we prove the inequality /(8) = 2 . This problem can be easily solved by differential calculus. Since cos 0 > 0 .ROAD SYSTEM IN A SQUARE 103 Since !(8) = (2 .sin B)/ cos 8 > 0 for 8 E [0. 11"/4). Hence. 20 = 60° . 0= S!O J 1 . that is.9) holds true.9) Assume t hat (4. (4. t he inequality (4.2t) 2 > 0.ngle 8 is 30° .6568.V2· f1+t where we set · = cos20 E [0.9) can be wri tten in t he form (4.4t + 4t 2 = (1 .10) is proved. 0 E [0. let us note that the lengt h of t he two diagonals of t he square ( C<\Se B = 45° ) is 2VS ~ 5.
)) or one larger circle co ntajns three smaJJer circles inside it (Figure 4. . lmou.nese mathematician.ken with the plus sign if a. the French philosopher .~e. Find a !'elation that involves the mdii of fo1w adjoining ci1·cles which allows easy calculation of the mdii. i Frederick Soddy derived '' simple formula for the ra. 303) H arold Scott MacDonald Coxeter (19072003) Scientists frequently conduct simultaneous yet independent research on the same problems.dii of the remaining three cir'Cle. Kissing circles Not more than four circles can be placed in a. published t in Na· ure (Vol. Seki Kowa. the British physicist and Nobel Prizewi nning chemist. with every pair to uching at a different point .29(b)) .104 4. p.1708) ( 4 p . sed it in an unusual way in the stanzas of his poem.s.·ng the m. Rene Descartes.thematicia.29(b)) . P r oble m 4. G EOMETRY Rene Descartes (15961650) Frederick Soddy (1877..29(a.dii and expre. It is less seldom for researchers from dispa. the J apa. There are two possible situations: either tll!'ee circles sunound a smaller one (Figure 4. circle is touched on the inside (the circle 4 on Figure 4. a professor at the University of Toronto.n. of the Jou1·th touching ci1·cle. Let C£. 308) (4p.June 20.)) . and d be t he reci procals of the radii of four "kissing" circles ta. 1021). plane so that each circle touches every other circle. and the minus sign if a. circle is touched on the outside (all circles on Figure 4. soldier and ma.26. b. 302) (4 p. mechanist and samurai (!). Frederick Soddy.29(a. 137. T hen Soddv's formula reads " . and the famous longlived geometer Harold (always known as Donald) Coxeter . all studied the problem of "kissing" (or touching) circles at one time in their lives. c.rate t ime periods to pay their attention to the same problem. 309) (4 p .1956) Seki Kowa (l642. Thus ap pears t he following cbaJ ienging question. The Kiss P1eci. 1936.
V will now discuss in short the derivation of the Desc:utesSoddy fo rve mula. for more details see Coxeter's book [43.29. J(b and K c be three mu t ually tangent circles with cente rs A. The sum of · he squa·res of all jour bend.s t Is fwlf the sqttar·e of thei1· surn. 13. (3. Soddy's poem mentions this quantity as the bend a. For this reason.tion.30) . it was discovered tha. B. The sro a. However. t he above formula is so metimes referred to as the Desca.15j.ng circles b) The recip rocal of a circle's radius is customarily referred to as its cu?·vatu?·e.+ b + c)/2 is the .Jler are t he benter. Since zero bend's a dead straight line And concave bends have minus sign. If s = (a.Soddy formu la.) F IGURE 4. a.rtes. b.ABC wi t h sides a. c and the corresponding angles a. C . . Let us form the triangle [).t Descartes already koew of this formula. Let K a. Though their intrigue left Euclid dumb There's now no need for rule of thumb. K issi. 'Y (see Figure 4.rly: Four circles to the kissing come. The bend is just the inverse of The distance from the center..KISSING CIRCLES 105 4 3 3 4 a.s the middle verse states clea.fter the above formula's publica. pp .
. 'Pc denote the angles a.c: a..SBC. and a. then it is easy to conclude tha.c. small inner ci rcle K. s c are t he rad ii of t he circles K. L.c) · (< 1. respectively. larger o uter circle K' . I<c. ISBI = ?' + s  b... 'Pb.11} sm  · 2'Pa 2 = 1 .. we obtai n wherefrom. ISCI = r + s .b. Let <p.b)(s c) (·. Coxeter's solution for t he kissing ci rcles From Figure 4. s . 2 'Pa 2 = 1 + COS <pa 2 z'Pa (r + a)1· (r + .106 4.30.30 we see that two circles can be drawn to touch all three circles I<a.nd radii 1·..cos  2 = :".t center S of the smallest ci rcle I< m t he three triaJ1gles L.b}(1· + s.. L. cos Hence.s ... I<. GEOMETRY semiperim eter of the t riangle L.t t be lengths s a.SBC.. S' a.SC A .:7'7 (s . alter a brief rearrangement. I<b .. Then ISAI= 1· + sa. 1·' .b}(?· + s c)" (4. J<b . Applying the cosine theorem to t riangle L.11') .+ s .SAB.ABC. Let t hese two circles have centers S . Ka sb B FIGU RE 4 ..
'/. 2 (1· +sa)(1· + .a)(1· + s (T + 8 . we can derive the following identity: • 0 $10  a • Sill 2fJ . .b) = . o 'Ph .a T+.s .KISSING CIRCLES 107 Aoalogously.b)(T + . Using (4.77.ke of brevity. let f a = (1· + s .= O.c) .a)(s .b) IPo (s .c).b + ~ . Since the angles ~'P•.b)(s .. fJ. .  2 2 2 2 2 2 (4. (t1.b s c 1'(1· + s .b)' 2 = (4.a. o 'Pa .a)('r + s .'Y + 2..a) ( 8 . b) . 14) T his relation holds for any t hree angles whose sum is 180° .c)(s .15) For the sa.a) .14) we have . COS 0: = 0 .b) . (4. + 2 (s . (s .s .· .a + 2.a)(s. from identi ty (4.c Hence s.c) = ' 2 (1· + . ·> 'Pa sw.$10 .nd 'Pc we obtain cos .c)(s . 'Ph . t'Pb .13' ).b)(s ..15) we obtain (s .a)(1· + s  c).s . for t be a.c) 'P~ = (4. s.c) _ 0 (s. . 11). ~'Pc satisfy t his condition. 0 Sm Sill/ (4.13' ) Combining t he sine theorem and the cosine theorem for any triangle with the aJ1gles a. 2 Sin 2 (1' + b)1· . T(1· + a) = O.fc !.a)(s .) ~~ (s .ngles 'Pb a. 2 2 'Pc Sill (1· + c)T ' 2 (1· + s. from (4.12') and cos .sm· . 12).c) (s .s1o 'Pc cos .sm· 'Pc + 2 sm. 11').13) and (4.13) (4.a)('r + _.a)(1· + .12'). (4.b) . (1.b T+ s .'"' (?· + s . (3.sc) 'P~ ( 8 .12) (4.s. /b fc fa 1· + s . f &= (1· fc = + 8 .'.
Ka.16) for a 4 (the curvature of either l( or [(') .ud usiog a.rtes. u 3 . + <12 + <13  2Ju2us + <13<11 + <11<12 ]  In 1670.s than the dio. They cover all but 120 squar·e uni'ts of the cit'Ctnnscr•ibing cir·cle.b 0"" .ry manipulations. wrote a work entitled.s.. ' _ 1 s.. I. [168]).. we get (o1  uz. on t he other side of t he world.bbreviations 1 0"] = . we obtain two roots The upper sign yields the larger curvature. a. cir·cle. each tangent to the other· two and to the or'iginctl cit'Cle (Figme 4. u 4 of the radii are caJied their cur·vatures.o4) 2 = (2o1..meter· of the next larget· one. Problem 4. uyuki z formulated a problem that incorporated four kissing circles (see [167. Three circle.c we co rne to the relation After squaJ·ing. 1 . Hence.o3 .t = [u 1 + 0"10"2]  1 . u 2...th of Desca.' .guchl Kazuyuki. Find the diameter·s of the thr·ee insc1'ibed circles. Kokon Sampoki (Old and New Method in Mathematics). The diametet·s of the two smallet· cir·cles are eq·ual and each is 5 units les. s a 0"? = . GEOMETRY After dividing by .(o1 + o2 + 0"3 = 4(uzO"J + <14)) 2 + 0"30"4 + o4o2). Solving t he quadratic equation (4. the radii of circles [( and ](' are r· = [o1 + o2 + 0"3 + ZJo2 0"3 + oao1 r.t is.. t ba. t he smaller circle.~ are inscl'i. Vol.27. three decades after t he dea. Therefore. after elementa.. Sawa. 1 ..bed within a. a J apanese mttthematicit~n..31) .108 4. we finally obtain The reciprocals <11. . 439]. p..
KISSING CIRCLES 109 120 x+2.5 F IGURE 4 . Let x (= 7' 1 = r2) be the radius of the two smallest circles andy (= 1·4 ) the radius of the largest circle. pp.18) .tics Smith and Mikami. pp. J< azuyu ki's kissi ng ci rcles problem According to Smith and Mikami [1681. Seki Kowa. 96.5.17) 1[ But now the crucial question arises: How to eliminate one of the two variables in (4. the most distinguished mathematician of seventeenthcentury J apa. Frederick Soddy expanded the kissing circles formu la to five mu t ually kissi ng sphe res. In his poem The I<iss Pr·ecise.. 9697]. (4..5) 2 = y 2 .n. the required rela. {4. The fact that a wooden tab le engraved with the formula was found in Tokyo's prefecture in 1796 (see [68]) appears to substantiate t his.100].Soddy fo rmula . a nd arrived at an equation of the sixth degree [168. we can form the equation 120 2x2 + (x + 2. Using the condition concerning the covered area. Seki I<owa used only words to exp ress his method of solution.17)? Seki Kowa had to have an auxi liary relation necessary for the elimination.31. Then t he radius of the remaining circle is 1·3 = x + 2. Acco rding to the reconstr uction of Seki's solution given by his pupil Takabe [168. we might perhaps answer this question in part. solved t his problem. Did Seki Kowa have knowledge of Descartes. and considering the analysis of the prominent historians of mathema.Soddy's formula? Through analysis of Kazuyuki 's solution of the problem.tion was most probably the Descartes.
Gosset bas sbown tha. and amusing examples.. .nswer.lized formula. and Mathernatics and Pla·u.ngle bisector (altitude).29. 308) George P6lya.tical publica.ny mathematicians.Jth of useful.shoTtest bisecting a1'C of a squme is its altittAde tfwou.It. was a versatile mathematician whose out pu t of mat beroa. amateurs and professionals alike respond with t he standt1.nuary 1937). t pleasing.t in the case of ndimensional spheres at most n + 2 spheres "touch" each other and satisfY the following genera. We have selected one fTom his Mathema· ics and Plattsible Reasoning [14 1. and a diligent reader is welcome to solve the following simple problem. Is t he reader nervous abo ut nsp beres (n > 3)? "Mission impossible?" 'W hat is most astonishing is that there exists a beautiful formula for this general case. GEOMETRY where a. but also wide ranging. George P6lya (1887.28.1985) (t p.rd answer of a chord parallel to the base since it L~ shorter than the a.s diameter and the . * Fo1w toltching unit sphe1es a1·e mvranged in the /01rn of "nnmded" tetmhednm leaving a space jo1· a fifth sphe· e. is incorrect.: The last formula is like a. Let us stop here: formulae a. d . The shor·test bisecting M·c of a cir·cle ·is ·it.sible .gh the center. c. b. Ja. This a.ReaMning (two volun1es) contai n a. Thorold Gosset of Cambridge University made further generalization on nspaces whi ch he published in Natme (Vol. As well as working in many mathematical disci plines. P roble m 4. of five spheres ta. J\1/athematical Discove1y (two volum es). he also taught.ken wi t h the corresponding signs. VoL 2]. 139. and e a re reciprocals of t ile radi i. Find the mdi11S of r that sphere.tions was not only voluminous. sh:ining star in the sky of geometry. What is the sho1·test b·isecting a1·c of an equilateTal t·riangle? Ma. however. Let us define a bisecting an: as a simple ctwve which bisects the area of a given 1 ·egion. The shortest bisecting arc of area P r oble m 4. wea. his popular works sucll as Ho·w to Solve .re given.llO 4.
where w 1 . CU7'ues of a.. . . given equilateral triangle {:.ving the shortest perimeter. found on pages !l6!l8 of this book Let us return to P61ya. performed in such a way that the next (copied) bisecting arc starts at t he eod of the former bisectiog a.Jly./3j8.. .. the closed curve n is a circle.pe so t hat the curve n encloses haJf of the hexagon's a rea. a. consequently. regular bexagon as sbown in Figu re 4.ll closed plane lar'f}e.. Let w be an eventual bisecting arc for a. .' .ing arc of the equila.. . Shor test bisecting arc of FIG URE 4.~rea .. is closed and it is a candidate for the bisecting closed curve of the hexagon. Among a. denoted by a dashed line. is a 60° arc of a ci rcle..'s problem. '' '' • FIG URE 4 . According to the solution of the isoperimetric problem given above. we create a. this is Ja.cob Steiner's solution of Dido's problem. • . ...t bave the saJUe perimeter. we aJ·e looking for a.. The bisectil\g a.pe of n such as that ha.THE SHO RTEST BISECTING ARC OF AREA 111 To a..' .. isoperimetric: figures being figures tha. slw. . ... . where a is the side of the eq uilateral t riangle 6..33 . the shortest bisect. Thus. From the relation 1' 2 71 / 6 = a2 .32 .. . .32.rc w must have such a sha.pes with the given area..tera. By five reflections of a given equilateral triangle 6 ..m efll'iC pf'O blem. . ci1·cle encloses the Actua... Therefore. .L(a) . given length. . / w2 I A ~2 .. \ I I I I .nswer correctly. . to find w . let us recaJI the solution of a classic ·isopel"i. Arc on one side The new curve n = wUw 1 U · · · Uw5 .l triangle [::. we find t hat the radius of this circle is . a circle has the shortest perimeter among aJl sba.. w5 are the copies of w. and .rc.9t are11.
. End of proof.:.643 C!. we present on Figure 4.nd P2. dra..2..Pt· . circular arc against t he central a ngle Answers to Problems 4 . 2  lAC I 2 = r·l .6833 is the length of t he shortest bisecting arc given in Figure 4. Taking a = 1.643 a 1 2 3 F ICUR.·r . The straight line L = 0..r·z . AC aJld C B . Denote t he radii of t he circles centered at G 1 and G 2 wit h Pt a.E '1. The proof is elementary and uses only the Pythagorean theorem. end of mystery.1.w the Jin es OtCt a od OGt · Fioally. G EOMETRY 1' = (! v~ !"3Ji ~ 0. IOHI = r· . Let OF be the radius line of the greatest semicircle passing t hrough t he centers 0 a.nd. Of course. ICBI 2 = r·z. and let lAB I !. Finally.2r·2 . curve of a.w two perp endicu la.Pt = Tt + 1'2 .32. L(CX) 3 2 1 0. a. .~ shown in Figure 4. 1· = r· 1 + 1·2 .35.34 the dependence of the length L( a) of a circular arc on the cent ral angle a E (0.Pt: IOGd = 1' .112 4. IOtHI = r·1 . Gt a.(h .33) .. shown for the purpose of comparison . The length of a. which bisects the area. Let 0 . different shape than a circular arc is always longer. T hen we have IOt Gt l = 1't + Pt. is alwa~s longer than the bi5ecting arc presented above in Figure 4.3. n ).rs from G 1 to the lines CD and A 8 to t be point H. respectively.nd.. dra..::. a. 0 1 a nd 0 2 be the centers of the semicircles with the diameters AB... of the triangle and has its ends on one side of the triangle (Figure 4. from the aforementioned reaso ns.Pt = r 1 .32. we show that the length of a circular arc.
The Arhimedean circles. We will use the notation from the solution of Problem 5. we obta. By the Pythagorean theorem we find that . After equ aJizing the rigbtha. Applying a simila. (1' t .2 and Figure 4. the twin circles of Archimedes have t he same radius equa.P t ) 2  2 P 1) .35.solution From the right tria. see (4.nd sides and short a rrangement.35. The Archimedea.r method to the circle centered at G2 (simply exchanging t he subscript indices 1 and 2) . 4.(1· 1 IHGd2 = (1't + 1' 2 .J to half t he harmonic mea.ANSWERS TO P ROBLEMS 113 A F IGUR E 4.3.dii p = P1 = P2 = ?'Jr·2/(T t + 1·2).ngles 0 1G 1 H and OG 1 H we obtain by the Pythagorean theorem IHGd2 = h + pJ) 2 .19) .35 have the same ra.n of t he radii ?' 1 and 1·2 .19) Therefore. we get hence PI = 1't1'2 1'1 + 1' 2 .n twins shown in Figure 4. (4.1'2 Pd .in the same result.
.Jf115. we obtain Figure 4.. by the diameter perp endicular to the tangent (of the length t). Indeed . P6lya. using (4. its diameter d is then given by 4 . it seems that the given data a re insufficient to find the requ ired area.p) c~ > p). the area of P6lya. 4.IMCI)2 4p(y'1'1.'s figure is S = 2·11'1CDiz = 4 2 2 11' (!)2= 1rtz .5. haJving t he given ci rcles. The radii 1· 1 = dJ/2 and T 2 = d2/ 2 of ..jr! .114 4 . It is easy to notice that t his problem is equiva.'s problem itself is more intriguing if it is considered independently of the arbelos problem because. Since the smallest circle tangents the twin circles. T he arbelos prob lem of George P61 ya. The presented proof follows the argumentation given in Tien's paper [175] .19). 8 F IGURE 4 . Hence.6.rger semicircle K.JrZ)2 + p2 2J1·1r2 + p2 = 2(~..36. Hence.. we obtain INCI = 2. Let 1' be the radius of two sma.ft2)2.1 with IC D l = tj2 . GEOMETRY 2 Similarly.. IG1Gzl = = 2)(1 NMI/2) 2 + p2 2J1·1r2 = 2jp(.1. at first sight .36. The quadrilateral G 1 NGzM is a parallelogram so that. IN1111 = (INCI .lent to Problem 4.nd R the radius of a la. a..ll semicircles K3 and K 4 . show n in Figu re 4.
21· = const.  \ a) F IGU RE 4 . so that a new value 1·~ satisfies T + ·r~ + 1'2 = R.tion formed by touching circles of radii 1·.:W(b)). for example. It is easy to see t hat t he radii and sides are chosen in such a way that these four circles touch each other (except for K3 a nd K4) . if T + 1' 1 + r2 = R . and again 1·. centered a.n that there is a.6. Obviously. Figu re 4. wherefrom d1 + d2 = 2R . Now we ha. Assume that fo r t he configu ration displayed in Figure 4. 1·~ (i= 1·1) .Jl circles are the sa.tion with touching circles is possible.t the vertices of these t riangles. a + 1'2 = T + 1·1 + 1·2 2R = 2r + 2b = 21· + d 1 + d2 .me except for one (K1 ).6. Therefore. quadrilateral composed of three equal triangles with sides a = Tl1' 1. this would mea. 1' 2 and 1· inside a circle of radius R. b) Let us construct a. This completes the proof. and c = 1'l1'2. it follows tha. Since c + ?'t = and 1· + 1·2 + 1·1 . Yet such a situation is impossible since the "hole" determines uniquely the size that fits into it. . I I I \ \ \ \ \ \ \ L. t his qu ad rilateral is a t rapezoid. According to the previous analysis. Thus. we return to our starting point. .37. This meMs that the circles K 1 and K2 touch the big circle K centered in the central vertex C. To complete the proof.ANSWERS TO PROBLEMS 115 the circles 1<1 and K 2 are changeable unlike the fixed entries r and R . r 1 . Next draw circ les of rad ii r. we need to prove the opposite claim. then the described configura. Let us change 1'1 . 1·2 . b = r 1 l1'2. In this w<w we obtain that 1' + 1· 1 + 1'2 = R holds. new configura. A "backwards" method of dra.t c + ·r 1 = a + 1'2 = R .ve two configu rations where a. except for t he commo n central vertex C (Figure 4. as in Figure 4.wing will be used to solve the problem. we have 1' + r 1 + 1·2 i= R.37(a).
then ICA'I + 1. The intersecting points A. First.39.od Cs be the points symmetric to C w·ith respect to the halfstraight lines PA a.'s idea. Indeed . '' y Pa B' FJGIJRE 4. Let x and y be the lengths of segments of the broken bamboo. y = 10.round the smftl l . exposed in solving Problem 4. Wafa. the shortest way between t he points CA and CB goes in a straight line.pplied in thls case.rrauge three larger triangles a.nd Bo determine t he places on the river banks that provide the sho rtest tour CA 0 B0 C of the advent urer.38). B ro ken bamboo 4.t ions :c + y = 18.15.14. From the system of equa.39). we a.11.nd PB .~A'I + lA' B'l + IB'Cs l > ICAAol + IAoBol + IBoCe l = IC11CBI· In other words.9. to Cs and denote with A0 and B0 the intersecting poi nts of the straight Une CACn and the balt~straight lines PA a. Let t be llalfstraight U nes Prt and p 8 denote the river b<1J1ks and let the point C mar k the position of the cottage. y2  :c2 = 36 (see Figure 4. GEOMETRY 4 . can be also u.38. Join CA. Let CA a. we find x = 8. or opposite. efully a. if A' and B' are arbitrary points on PA and PB .1' B'l + IB'CI = I C.o a.116 4 . 4 . T he s h ortest tour F IGURE 4. respectively (Figure 4.nd Pn .
B .42 .versing along a circle (with radius 1' and centered in C) instead of the li ne (Figure '1.20. Assume for a while that the distance ICXI is fixed and equal to (say) 1·. Let A be the source of a light ray. with the distance ICXI fixed. we have to find a.l to the . Dissection of foul· t l·iaugles 4 .7 in a. FIG URE 4. The three pieces outside this tria. which reflects from the round mirror in its w<w towards t he receiver B . One can presume that in this task we have an image in the "round mirror" .ices by tbe dotted lines. Band C be the vertices of a given t riangle !::. specific wa. p. Let A.41) . Then we can apply t he Heron principle of minimum considered in Problem 4.4.ngle fit the spaces inside its boundary exactly (see [186. C so that the sum of lengths IX AI + IX Bl + IXC is minimal.ANSWERS TO PROB LEMS 117 triangle as shown in Figure 4. but with the point X tra. point X in the plane determ ined by the poi nts . A 8 A B '('{ {3 {3 a a c c FIGURE 4 .40. FIGURE 4 . 192]). let us find the minimum of the sum IAXI + IBXI .y.ABC. Namely. we construct a laJ·ger triangle. Since t he angle of incidence is equa.40 . Joini ng vert.41.
2) = (nl)(n2) 2 . From the solution of Problem 4. form six angles with the common vertex X . <1nd t hro ugh A and X . all the corresponding signs of curvatures are plus) and 6.J6 < 0.+ 1.18) for five kissi ng spheres we ha. The other va.4:~: .. The location of the Torricelli point X is given in the discussion of Problem 4. T herefore. m ==3 Since Pj = 1. t be stra.nd X must be tbe bisector of tbe a. . T he telescoping surnrna.23 we conclude t ha.2).ngles are mutually equal (according to the equality of opposite angles). 4.: = P..e ?'2 = 1 1/xzl = l1.42 that all these a..2247. The solutions of this equ>1tion give the val ues of cu rvatu res x 1 = 2 + J6 > 0 and x 2 = 2 .+ 1. P = P + (5 ..BC are seen a.t each of them is equal to 60° .dius ·r 1 = l/x 1 = . · + (n. . B and C.. it follows t bat + · ·· + (n. • = 1+2 Pj = 2 + .t t he mth line (m > 3) intersects the previous lines in m .~_ 1 + (n . P.118 4. GEOMETRY a. Consequently.24.ngle L AX B to provide minimal distance.) P.:. two new infinite parts and m.1 + J6/ 2 ~ 0.rts. .1 distinct poi nts increasing the number of parts by m . Let P. . From formula (4.7.+L .+ x ) = ? ? ? ? (1 ? + 1 + 1 + 1 + x). which means that all sides of the triangle A. .2).l u. 4.igltt li ne passing t hrough A a. we choose x 1 (all five spheres are touched outside. Let x be the curvature of t he fifth sphere.28. Since we a.P = P: . It is ol)V"ious fTom the Figure 4.J6/ 21~ 2. the same result obtained as before . connecting the point X to t he poi nts A.2 = 0 follows.2247 is t he radius of t he larger sphere which encloses and touches four given spheres.nd the required ra. respect ively. should be also the bisectors of the a ngles LCXA and LBXC. P = P i+ (4 .2 bounded parts. n 1 2).. LAXB = LBXC = LCXA = 120°. For symmetry. .ngle of reflection .tion gives L (P. we have P3 = 1. Three straight lines. 2) . the straight lines through B and X .t t he angle of 120°. hence it follows tha.re concerned wi th the smaller sp here.~ be the requi red maximum possible numb er of bounded pa. hence t he quadratic equation x 2 .ve 3(1? + 1..
ps. t he word te. hexagonal columns of lava. However.t ion of a space (often referred to as honeycombs) is a specia.ps.sell(ltion or tiling of the plane for it .rnples of tessella.pter we consider t he filli ng of a plane and a (3d imensional) space.rly. the tessellation has been an everyday job in creating mosa. floors and yards.rtist M. stone or glass used to make mosa.ssella comes from Latin to denote a small cubical piece of clay.lso included the very recent Co nway and R. The filli ng of t he 3dimensional space is the subject of the second part of this cha. of these tessella.lls. windows. region tha. can be seen a. resulting from an a. It is well known that the Dutch a. with t he rock fracturing into rectangular blocks. C.p ter.lled Tessella. a tessella. In the first part we present regula r tessellations (consisting of congruent regular polygons) studied by J ohannes Kepler and semiregular tessellations which permit more kinds of regular polygons (one of eight patterns found by Kepler). Chuanming Zong In this cha. Penrose's tilings.t the Giant's Causeway in Ireland.ics. from the ancient times to the present. A ft.l case of filling the space since the latter permits the appearance of ga. t hen we most often use the terms tes. For example.S?<bjecf. Another example is the soca.tio ns a. Escher made many famous pieces of art with periodic tessellations with sha. We have a.pes resembling livjng t hings. It is needless to say that. an unusual sedimentary rock formation.t tnes the plane by translation.er all. which use two different polygons. It is worth noting that the pattems of tessellations can be found in nature.s.adin 's pinwheel tiling. Clea.s ·in mathematic.ncient volcan ic eruption. You will also find nonperiodic tessellation of the eminent B ritish mathematical physicist Roger Penrose.re periodic giving a.ted pavement in Tasman ia.Chapter 5 TILING AND PACKING Sphe1·e packing is one of the most fascinating and challeng·ing .tions creating nonperiodic patterns. aJ·e the most famous exa. in this book we focus on those puzzle prob119 . Both.ics and a variety of decorations for building wa. If the plane figures fill a plane wHh no overlaps llJ1d no ga.
we omit the tessella.U written books that deal with various aspects of sphere pa. is known as sphete packing. the familiar arra. t he basic question of the most efficient packing remained unanswered unti l 2005 when Thomas Hales solved Kepler's spherepa.t least as far as Kepler's seventeenthcentury work.c e and turn our attention to another fascinating recreational subject : pa.thema. ingenious methods have t been cr·ea.thema. What is the most efficient wa.ticaJ patterns all aJ·ound us.nd ma. but a lso that of severa. he noted that t he first criterion for a good problem was that it co uld be explained "to the first person one meets in the street. La. known as the GregoryNewton problem which concerns the number of touching sp heres. Hermite. T I LING AND PACKING !ems that ba. "the problem is so s· mple · hat the1'e is some hotJe that some dcty we may be able to solve it".t the piles of fruits.y to pack identicaJ spheres? . Fejes T6th [63]. Rogers [148]. So.ticians.ticia. Indeed.Johannes Kepler was the fu·st who tried to give the answer to this question (in 1611). and Minkowski. does the packing result in the maximum number of oranges that can fit into the ava. Zong says: "As wo·r k on the classical sphe1>e packing problems has pro g1essed many exciting 1est~lts have been ob· ained.g range. These books.cldng sp heres. a.ce? The problem fam iliar to greengrocers a. a. However.ns.J contemporru·y ma. In his book [194].oblems have been ptvpose<l and investigated. Gauss. as the Swiss mathematician Peter Henrici once said for some classes of simplyformulated problems. have attracted the attention not only of outstanding mathematicians such as Dirichlet.nd <1 number of cita.tions within them. " .ve been posed a. for example. Conway and Sloane [41]. known as Kepler's conjecture. Problems such as t hese and others related to them. oranges perhaps.ting back a. David Gregory and Isaac Newton discussed llJ10ther type of sp herepa. the most efficient in terms of optimal density? In other words. and Szpiro [172] have a.cking problem in 1694.t sphere packi ng has developed into an iluportaJtt di scipline.ted. How a re t hey arranged? Is the a rrangement of sphericallyshaped fruits. despite extensive investigations da.bema. r·elated chctllenging rn.nd look closely a. \Vhen David Hilbert announced his famous list of 23 problems in Paris at the International Congress of Mathematicia. t he spherepacking problem certa.t ion of t be 3dimensionaJ spa.nd/or solved by great mat.ngement of fruits at the market.inly satisfies Hilbert's criterion for i t a good problem. C. and S1WJWiMng connect·i ons with other subjects have been jo1md.ilable spa.rket vendors of stacking oranges a nd the distinctly mathematical pattern seen in such anangements. suggest tha. We can find ma. Zong [194].cking.ns of 1900.120 5. Consider.cking problem. " According to its very simple formulation.
1) . 273].ogles. (II) If the vertex of one polygon cannot lie along the side another. n..1630) (+ Mosaics ln a. Penrose nonp eriodi cal tiling a. see Figure 5.r polygons.s of 1·eg'ula. not necessarily different . squares aod bexagons.2 Hence it follows that n 01ust be 3. n 3 sides. then the following is (5.1. Then the interior angle at each vertex of such a polygo n is (n. there are only th ree such tessellations: mosaics of equilateral triangles. 4 or 6. Kepler was also interested in mosaicsthe filling of a..r hexa.. Semi1egula.1. The story about the latter problem includes a short discussion on the very recent Hales' solution of Kepler's conjecture.1' tessellations permit combinations of two or more kinds of regula.ton and t he densest sphe1·e packing of Kep ler. Problem 5.r polygons that tile the plane.nd Coowa. A tessellation is 1·egular if it is made up from regular polygons of the same kind.ttem.y 's cube puzzles are also considered.cefilling problems wi t h regular polyhedra. * * * Johannes K epler (1571... 3 j.2)180° fn .~ = 2 +  p.. If the three kinds of polygons have n 1 .ddition to sp herepacking problems and spa. 17] a. Ch.. Here we present some interesting tasks concerning t his subject. (I) Let us consider t he filling of t he plane with congruent regular polygons and let n be the munber of sides of each polygon. polygons. then the number V (n) of polygons at each vertex is given by (using (I)) V (n) . p. listed in [63.MOSAICS 121 In tbis chapter we wiU present brief essays of the two best known problems related to sphere packing: t be kissing sphe1es of Da. in ot her words. although not necessarily like..:::::::..2) 4 .gons. Ch.. Ass'ume tha. plane with regular. 302) 360n . Knuth's pentaminopuzzle. at each vertex we can join \1(:3) = 6 equilateral tria. [74. Find itll pa. T he creation of mosaics by these patterns is called a tessellation.180(n .t we have a mosaic composed of 1<!911l m· polygons of thr·ee different kinds at each verte:c. \1(4) = 4 squares and \1(6) = 3 regula.nd [137.vid Gregory and Nev. valid: n2. As shown above.
.6) (3.. Eight patterns o£ regular polygons that tile the plane .6) FIGURE 5..1.. )> (3.4) (3.. ..8) I' . (4.122 5..6..12) \. .. )> )> \.. ... .4..4) (3.. . T I LING AND PACKING (3...6) (3.12) .. I' (4.
9.'t .t (4. (4. served a. From the equa.5.3) (from (I)). 6. composed of different combinations of triangles. given by the triples (n 1. This pattern is displayed in Figure 5. are (3. n2. 4) on the right side of t he second row. 2. Gardner [74.2 pattern (3. wh ere<~k = (nk .s the inspiration for a Salvador Dali painting that he titled simply Fifty Abstract P. (3.lly. octagons and dodecagons (see F igure 5. squares. 2. where t = 2 Obvious ly. A pa. 1 The .18). 15).1).nd. Let us find integr al solutions of t he equa. 4. relation (5. we can compose a mosaic combining congruent squares.4.1) we find '1 (5.6) has two squares at each vertex. t E {3. or 6. mosa.1) . All integral solutions of the equation (5. t must be 3. An interesting fact is that there are precisely eight semiregular tessellations. (3.4. p.t) is a positive integer. It was shown tha.t tern (3.8. congruent regular hexagons. In other words .ic. t 2 + t] which provide that the ratio t 2j(n2 .1 thus. 12) is t he only triple of di.ict1wes Which as Seen from T1uo Yanls Change into Three Lenins Masquemding as Chinese and as S een from Six Ya·rds Appem· as the Head of a Royal B engaL Tigef'.1) . These six trip les of integral solutions are only candidates for composing a. (3. in t he last row (left) .i t follows fromo:1 + o:2 + o:3 = 3600.42). 6) in t he upper righthand corner was first described by J ohannes Kepler and it is the only one (among the eight) with t he property t hat it is changed by mirror reflection. 2) n3 = 2 + t _ . ('1. hexagons.20). 12).tio o (5. we find n 2 a nd n 1 tl. From (5.MOSA ICS 123 (. 207J. 6}.1) gives only necessaJ·y conditions. fina. 2see M.1.n3 ). 7. The quantity n2 takes those values from the interval [t + 1.fferent congr uent regulaJ· polygons that can form a. 6. t = 4 and t = 6.2)180°/nk (k = 1. mosaic under the given conditions.1). The fourth pattern (3. and congruent regular dodecagons. Considering the three cases t = 3.2) we determine n 3 . 10.tiou n ln2 n1 + n2 = t we find n1 = t+ t2 n2 . from (5.
r·ee Lenins Ma. Although Escher 's understanding of mathematics was mainly visual and 3 Tiling is a more restrictive category of repeating patterns because it is usually re lated to patterns of polygons. and proba. Kepler and his successors were t he pioneering researchers into mosaics and tessellat ions. and so on. Tit·ings and Patte?YLS l90j by B. The symmetric patterns in t he Alhambra. etc. useful too l in maki ng models in crys tallography. Speaking about tessellation. it is impossible to overlook the Dutch a.tiona.2. T I LING AND PACKING FIGURE 5 . The classification of tessellations of the plane using tiles 3 can be performed in various ways.Royal Benga. C. S.rtist Maurits C.4) Sa lvador Da. He was impressed by the patterns in the Alhambra aud George P6lya's academic paper on plane symmetry groups. Many details can be found in t he book. However . In the early twentieth ce ntury. It is worth noting that tessellations a.lU 5.l Tiger·. . are one of t he finest examples of the mathematical a rt of thirteenthcent ury Islamic artists.in) . Griinbaum a nd G. coding theory. J. periodic or aperiodic tiling.s querading as Chinese and as S een from Six Yards Appear as the Hea(l of a . T he pattern (3. cellular structure of plants. a Moorish pala. or irregular tiling.l i's p aint ing Fifty A bstract Pictures Which as Seen from Two Yar·ds Change into Th. thus we have regular. they are also a. symmetric or asymmetric tiling.1972). semi regular. Shephard. depending on the typ e of tiling.ce in Granada (Spa. Escher (1898.l mathematics. the Russian crystallographer E. most au thors do uot make a differe nce between tessellat ion and t iling.bly the best known architectural use of symmetric patterns.re no t only the subject of recrea. Fedorov enumerated exactly 17 essentially different types of periodic symmet ry pa tterns.
ESCHER'S T ESSELLATION
125
in tuitive h.e had no formal traj ning in mathematics he fast caught on to the concept of ttte 17 plane symmetry groups and created splend id periodic tilings with woodcuts and colored drawings using this concep t . Escher created many pictures using periodic tesse llation in which living things such as birds, reptiles and fish are used as tiles instead of polygons. Figure 5.3 named Symmetr·ic drawing E67 (1946) is one of his typical images of this kind . Ad,jacent horsemen in two colors constitute t he basic image; t he tiling of the plane is performed by translation and repetition of this image.
F IGURE 5.3. Symmett·y drawing E67 ( 1946);
a per iod ic tessellation by M. C . Escher
In addition to his creations using tessellations, M. C. Escher created many ingenious illusions, impossible building structmes and geometric distortion in 3space, which often had a flavor of "mystery and absurdity" . Escher's lithographs, woodcuts and graphic a.rts, involving mathematical relationships among figures and space, demonstrated his effort to inco rporate mathematics into a rt, and vice versa. M. C. Escher was highly appreciated by eminent scientists, crystallographers and mathematicians (including the fa.mous Canadian geometer H. S. M. Coxeter, the man who loved symmetry) .
126
5.
TI LING AND PACKING
Roger P enrose (1931 ) (~
p. 310) p. 310)
John Horton Conway (1 937 ) ( ~
Nonperiodic tiling
Sir Roger Penrose, t he outstanding British mathematical physicist and cosmologist, is probably best known for his books on popular science and the 1974 d iscove ry of no nperiodical tilings of the p lane. Being a lso a recreationa l mat hematician, he searched for sets of ti les that. t ile only no nperiodically. Fo r a long time experts were convinced that such a set does not exist. However, in 1964 Robert Berger constructed such a set using more than 20,000 ·wanglike dominoes, named after Hao Wang who introduced in 1961 set s of unit squares 82] with colo red edges (see Gardner { for details). Later Berger red uced t he number to 104, and Do nald Kn uth found a n even sma ller set of92. Dramatic improvement was made by Ra.p hael i'vl. Robinson who constructed six tiles that enable a nonperio clic tiling.
Roger Penrose 1931
Fi nally, Roger Penrose came to the tiling scene. In 1974 he found a set of only two tiles that force nonperiodicity. J ohn Horton Conway, another famous British mathematician and abo a top expert in tiling problems, na1oed these tiles "kite" and "dart" . They a.r c derived by cutting a rhombus with angles of 72 and 108 degrees and the sides equal to the golden ration if; = (1 + ../5)/2 ::::: 1.618, as shown in Figure 5.4. What is really surprising is that such tile pattems were later observed in the arrangement of atoms in quasicrystals.
NONPERIODIC T ILING
127
"'
/
T
H H
H
/
/
"6(1 > / / / / 36(1
/ "1>
t/1
1> = 1 ;/5
Kite
T
T
Dart
T
FIGURE 5.4. Construction of Penrose's t iles, kite and da.rt
Now we have tools, kites and darts. Wouldn' t it be nice if we could joint these tiles in such a wa: as to a~·oid periodicity, and also bumps a.nd dents? y Penrose proposed a simple way. Let us mark the corners H (hea.d) and T (tail) as is shown in Figure 5.4 right. Then, to provide nonperiodic tiling, it is sufficient to fit tiles so that only corners of the same Jetter may touch. Penrose's proof that t he tiling is nonperiodic is based on the fact that t he ratio of the numbers of pieces of the two shapes is go lden ratio <P = 1.618... , that L5, an ina.tional num her. The complete proof is beyond the scope of t.his book. The described t iling with kites and darts produces rema.r kable Penrose pa.tterns which ma.ke in turn Penrose universes. These universes contain amazing patterns and shapes, a nd possess surprising features that take your breath away. Most of them were discovered and studied by Roger Pemose and John Horton Conway. It is interesting to note that Penrose, following Escher's transformation of polygonal t iles into a.nimal shapes, generated nonperiodical tiling pa.t terns by changing his kites and darts into chickens! Many details can be found in Chapter 7 of Gardner's book The Colossal Book of Mathematics [82]. Using t ranslations a.nd rotations of Pemose's kites and darts, it is possible to create numerous extraordinary patterns. P laying with these tiles is very plea.sura.b le and you ca.n genera.te remarka.b le pictmes tha.t will rea.U y astonish your friends. Here is one easy but interesting ta.sk.
P roblem 5.2. * A1·med with kites and darts, t1y to const?'Uct ·he tru.ncated t y·hornb11 shown in Figme 5.5 togethe1' with its dimensions, 'Whe1e c,b = 1.618 ... .s is the golden r·atio.
128
5.
T I LING AND PACKING
1 +2~
1+2~
FIGURE 5.5. Penrose's tiling of t he truncated rhombus
John Horton Conway has been mentioned above in connection with Penrose's nonperiodic tiling. Together with ChaJ·les Radin, ConWity experimented with another kind of nonperiodic tiling, the socalled pinwheel tiling. P inwheel tiling uses only one tile, a rightangled t riangle with sides 1, 2, v'5, but it allows infinitely many orien tations of this unusual tile; see l143j. The t iles can match edgetoedge, but also vertextoedge. An exam ple of the pinwheel tiling is shown in Figure 5.6.
FIGURE 5.6. The pinwheel t iling
MAXIMUM AREA BY PENTAMINOES
129
Donald K nuth (1938 )
(4 p. 310)
Donald Knuth 1938
Perhaps t he most innovative computer scientist ever, Donald Knuth (Stanford Un iversity), the author of the tlueevolume masterpiece The A1·t of Compute1· P1·ogramming and the creator of '!EX, the revolutionary typesetting program, has solved and analyzed a mu ltitude of mathematical problems by using com puter techn iques. Knu th nt has gjven significa contribution to recreational mathematics collaborating, among many authors, with Martin Gardner in his famous column Mathematical Games in the journal Scient·ific American and the famous mathematicians John Horton Conway and Ronald Graham.
Aside from the extremely comp lex problems that he has considered, he has also tackled various challenging tasks and pu;~zles, three of which we present in this book (this chapter, and Chapters 7 and 10).
Maximum area by pentaminoes
A polyornino is a ny figure consisting of a set of edgeconnected un it squa.res. For instance, a domino is the rect angle formed by two unit squa.res. Fivesquare figures , called pentaminoes, are useful in constructing various games. Many different types of polyom inoes CI)Jl be found in Go lomb 's excellent book, Polyominoes [87] . There are exactly 12 pentarnino figures, each of which, to a certain extent, resembles a letter of the alphabet, as Figure 5.7 illustrates.
u
v
T
L
y
N
X
p
w
F
z
FIGURE 5. 7. Twelve pentam inoes denoted by t he letters of the a lphabet
130
5.
T I LING AND PAC KING
We ba.ve selected the following puzzle among the ma.oy where pentaminoes figure as the majn object .
P roblem 5.3. Us·ng the full se· of 12 pentominoes, fo·rm a .fence o.f any i t shape M'O·und the la.ryes· possible field of cmy shape. t
Figure 5.8 shows a pentarnino fence that encloses a shape wit h a. ma.ximum area of 128 unit composite squares. Do nald E. Knuth proposed t he solution and proved t hat t he number of 128 squares cannot be exceeded [75, p. 109].
128
F IGU RE 5.8. Pent am ino fence of t he ma.ximum a rea
Ten years after Knut h published hls solution in the S cientific Arne'T'i can, Pablo E. Coli from Argentina. posed the same problem once again in the Journal of Recr·eational.Matherrwtics, No. 1 (1983). Among many submitted ·· solutions, two of them a.t tracted particula r attention. Using t he come1 to come1 configuration, S. Vejrnola from Prague found the solut ion displayed · in Figure 5.9 wi th a ho le whose area is an even 161 units.
161
16 1.5
FIG URE 5.9. A hole wit h area of 161
F IG URE 5. 10. A hole with <J.rea of 161.5
Problem 5. the corners of the pieces must coincide with the lattice point of the plane.following two t·iling problems: a. hea.ted debate that "oblique" solutio ns such as Campbell's should no t be regarded seriously. M. hole o. The next example is probably familiar to the reader. * Two dio. e5). of 161.l of Recn~ational Mathematics (Problem 134"7)."7) solve the . * Joi.6. he preferred employing a.no (2 x 2) co·uld be placed at the centet· of the board (the squar·e. hi. in solving similar polyomino problems one has always understood that the pentaminoes should be placed perpendicularly or horizontally.s·ng all 12 i pentaminoes tmde!' the . New Zea.n area.fter a. The co mpetit ion ended a. Ca.5.n two differ·ent "empty" pentaminoes to for·rn a.) Cove?' the 8 x 8 chessboar·d with all 12 pentam·inoes so that one squcwe tetrami. One assumes that t he side of each pentamino bas the length l.mpb ell of Feilding. and const?·uct a?otmd the hole a 1ectangle u.m·inoes (shown in Figtwe 5. style would lead to a.TILINGS BY PENTAM INOES 131 T .Land. h8) with alll2 pentaminoes. d5 e4. Problem 5.f the 12 pentaminoes nwst bot·de?' ·he hole. t 2) The perimete1· of a Tectangle shmtld be at most 34.s d4.. Here is a similar puzzle with aU 12 pentarninoes. Qui te proba. "disheveled" style.10 configuring a. Problem 5. Knuth 's reco rd shown in Figure 5.f the area 10 units. Can you cove1· the given tnmcated boa?·d.bly.* Using al/12 penta. Subsequent to the extensive debate referred to above. Can you constr11ct such a 1ectangle? Hin· : T he problem is difficult and we give a hint as a help to the reader: t the bole inside a rectangle looks like this : L .. such a. posed by Pablo Coli fTom Argentina in Jou·rna. Now we present several problems concerning the tiling of plane polygons by other plane polygons. consisting .gonally OpfJ08ite sq·uates of a standanl chessboa.5.8 remains unbeaten.. constr ucted a second solutio n sbown in Figure 5.4 . b) Cove?' an incomplete 8 X 8 chessbom·d except the jou1· come· squmes r (at.n increase in the area. aS. of the hole.rd 8 x 8 /l(we been cut 011t. Although never actually expressed.following conditions: 1) Each o. Campbell did not place the pentaminoes in the e:t'Pected perpendicular or horizontal position since the task had never explicitly stipulated placement conditions.
ith The reader may remember Heronian triangles from Chapter 2 (Problem 2. squares with rational sides. Notice that the Ltile. 4 Squal'in. Is ·it possible to tile Lslwped tiles ~ conS'isting of 4 unit squares. t r with integral s ide. The number of the contained small squares is called the o1·de· of a perfect squared square.b out the petject squared square.l sides.ttention to a more interesting subject.J square using on ly ot.thematicia.ve searched for the answer to the following question of great interest. are more interesting a nd challenging t han rat ional squares. most of problems directly handle integral squares. consequently.ns and computer scientists ha.9qua1es? See F1gu1e 5.9). \VIa.re requ ired to be of different sizes. has been extensively studied for more t ban sixty decades. Then we speak a. Covering by 2 X 1 dominoes Problem 5.J squa.r·es. 7* (Fuchs and Tabachnikov [67]). Find the pe· ject squcned square of Lowest o• der·..torial geometry. with dominoes 11Jhose size 1s .132 5.ber integr