The Ussrolympiad Problem Booi( | Algebra | Number Theory

(
SelecteclProblemsancl Theorems of ElementaryMathematics

'+ r
r
,4

I

-d
()-

:E
rt1

D.O.Shklarsky, N.Chen N. tzov, and l.M.Yaglom
in algebra, arithrnctic, clcrntntary of tht' problt'rrrs first appe:rrecl in competitive examinations sponsorerd by thc School Matht'rrratit':rl Sot'it'ty of thc Moscow State University and in the Matlrcnratical ()lyrnpilrls hckl in Most.orv. Although most of the problems presupp()s('orrly lriglr st lrool rnlrllrt'rrrrtit's, tlrt'y rrrt' not easy; some are of uncommon difficrrlty :rrrrl will clrrlL'rrgc tlrc irrgt'nrrity ol irny researchmathematician.Nevertheless,nrirrry:rrcrvr'll rvillrirrllrrr';rtlrol rrroIir':rlctl high school students and even advanct:rl scvcrrth :rrrtl t.iglrtlr {r:r,k'rs. Most scr'li.rrs Arr,rrr11 llrtsr';rrr': llrt The problems are grouped into twclvt's('l):lr:lll divisibility of integers, equati<lns lutvirtg irtlt'gcr solrrliorrs. r'rrrlrr:rlirrrl.rrrrrs:nrrl products, miscellaneous algebrait'prolrlt'ttts, lltr':rlg, lrr:r,,1 pr,l1 rr,,rrri:rls ,,,,rr1rl, r numbers,problemsof ntrmbt'rthtrrrl rlillcr, rrlr'\r'rlu{ nr'{ \ ,tlistirrr'livlirrcrlrrrlili.r and sums, and more. givlrr;irrrnirn\(:r\r'.,.rll.rrrrlr'.,,rlrrliorrs;rr. Completesolutionstoallprolllcrrrsrrr, detailed from different llrlitrts ol r icu Solrrliorts lr) nr(,r( :r,lr.rrr, , ,1 ;rr,,lrllrrrs rrrc giveninconsiderabledt'tail Nlorr',,r',t,rrlt,tt:t,lurtt,,,lr,trrr'pl ,:rr,,trt;r1,,1,r1, I s,lrrlrrr;r\.rrrr'l\,,lrr:r1s theyarediscussedintlrt'st'r'tiorryrrltlrlirrr,.llrr'lrr,rlrl,rrr. inhighschoolandcolltrgt't'rrrricttltrttr,llris,lr:rll,rrliirrr,\rrlrrr, interest to teachers clclrlirrg \$'itlr r,,illcrl ;rrrrl r(l\:ilrr'r'(l I rr\\r'\ rrrll1,,,,1 1,:rrlr,rrlrr This book contains 320 unconventional number theory and trigonometry. problenrs

t,
l,

m (n ,p

()

'I, ,l

o
o o
@ g

) )
r'D 1

!i 3 p
)e

-

; x )
G

') *-t

a

U
FFI

r-

v

T / D () (f ,]
ID ln

w r.J\

r'1

llr, ,,1'1r,,rr,,,,,,,,',.,llr 1"rl'lislr,rl Unabridged D o v c r ( 1 1 ) 1 ) : | )t r ' l , t r l , l t , ; r l r , , r r , , l W.H.FreemanantlOorrrlr:rrrr.S:url'rrrr,r.,(,' l!){i.l l,'r,rr,'rrllr'llr'llrrl(llrrssi:rrr) (llrrrrr.rrr) r'rlrtr,,rr l'.rlrt,'r ,, l,,r, rr,,rrl \rrllror'rrrolr. edition.Prefac't'tollrr'lrrl illustrations. xvi +.lir2trp i,1,, li', l'.rl.r l,,,rrrrrl

lr1 17

:<
rp
tl
fl \i/

SelectedProblems and Theoremsof Elementary MathematiCs

\J

r\
U o
l'rr', 1 ) , , r , r ( , , r r r 1 ' 1 ,l , \ l , l l ! , ,,,,l', ,",1',, ', 'r,, ( .rl.rlor',,rr:rillrlrlt'rrltott rtrluest.

r \8N 0-qBtr-??1 01-7

a o a
@

D.O.Shklarsl<y, Chentzov N.N. and l.M.Yaglom

5

'il,l,-'l',

lNll\A

ililffiffI| ililililill|iltilililfitl
o \o \

? N

r:d"

DOVER BOOKS ON MATHEMATICS
A Corcrsp HrsroRyoFMArrlEnaeucs, Dirk J. Struik. (6025b-g) \$Z.gI Sr.lrrsrrcer-Mprnoo rnou rrrn Vmweonrr or Quer,rrvCovrnol, Wtli.r,r A. Shewhart. (65232-7) \$7 .95 Vrcrnns, Tbtsons,u.u nu B.lsrc EqumoNs oF FLUrD MEcrrANrcs. Rutherford Aris. (661 10-5)98.95 Tlrr TlunmrN Booxs otEucuo's Er,rrl,tnvrs, translated with an introduction and commentary by Sir Thomas L. Heath. (60088-2, 60089-0, 60090-4) \$29.85 IvtnoougrroN ro P.IRTIAL FERErtrur. DF Equlrroxs wrru Aler,rcertoNs; E.C. Zachmanoglouand DaIe W. Thoe. (652b1-B) \$10.9b Nul,mnrcer,Mrrrroos r.on Scmltrlsrs .cND ENcNEens, Richard Hamming. (65241-6)\$15.95 Onou.reny DrrrennNrrer, Equ.lrtors, Monris Tenenbaum and Harrv Pollard. (64940-7) \$18.95 Tbowrc.lr, CercuLUSwm{ ANALyrrc GEoNc-rBy, Judith L. Gersting. (67343-X)\$13.95 Oscrr,r,lrroxsrNNorr,welln SyslEMs,Jack K. Hale. (62362-6) g?.gb Gpepx M.l,rrrrlarrc.c,I, Tkoucrrr ervouc OnrcrNor ArcsgRA. Jacob Kle in . (27289-3)\$9.95 Fntrro DnrsRENcr EquerroNs,H. I-r.y & F. hssman. (67260-g) \$?.gb AppuclnoNs or Fnvnr Gnor-rps, S. Lomont. (6Z8Z6-6)gg.gs J. Arpr,rco hoeABrr-rry Moorrs wrnr Osrur.rzltrolr Appr,rc.lrroNs.Sheldon M. Ross. (67314-6) \$6.95 l.rlnoouctroN lr rnr Cerrulus or Vmurrons, Hans Sagan. (67366-9) \$12.95 IvrnoousrroN ro PenrrAr,DnrnnsNTrAL EeuATroNs,Arne Broman. (66158-X)\$6.95 AN IrrnoousrroN tr ORDTNARy Du.r.ansNTrAL EeuATloNS, Earl A. Coddinston. (65942-9) \$8.95 M.q,TRrces Lween ThetsroRMATroNS, AND Charles G. Cullen. (66328-0)\$8.95 DrrrBnpwrnr, Fonnrswtrn Appt tcATIoNS rlrE pxystcer. ScreNcEs.Harlev To Flanders. (66169-5)\$7.95 Thnony exo Appr,rcATroN INFrrvnpSpnres, Konrad Knopp. oF (66165-2)\$13.95 AN I*rnopuctroN nr ArcnsRArc SrRUcruREs, Joseph Landin. (65940-2) \$?.e5 Getvms Decrsrous: IrrnooucuoN AND ,rNo CRrrrcALSr-nvpy, R. Duncan Luce and Howard Raiffa. (65943-?) \$12.95 Frnsr Oporn M.lrrculrrcel Locrc, Angelo Margaris. (66269-1) \$?.95 Ixrr.ooucrror,r ro Toeorocv, Bert Mendelson. (663b2-B) 96.9b GporvrsrRy: ColrpnprnusrveCounsn,Dan pedoe. (6b812-0) g12.gs A FuNcrrowar, Ar.rlr,ysrs, Frigyes Riesz and B6la Sz.-Nagy. (66289-6)\$12.95

(antinu.edon fuck flnp)

ard Problcms Tlrcorems Selected s Matlrcmatic of Elcmentary D. O. SIKLARSKY N. N. CHENTZOV I. M. YAGI.,OM
REVISEDAND EDITED BY

Invnc SussMlN,
Univcrsity S futrto Clara TRANSTATEDBY

JoHxMeYrovIcH,
Univcrsityof funnClam

iL. J-\ 5 fl,o".,0 , '
INC. DOVERPUBLICATIONS, NewYom

v-L "/ oo !

FOREWORDTO THE
Published in Canada by General hrblishing Company, Ltd., 30 Lesmill Road, Don Mills, Toronto, Ontario. hrblished in the United Kingdom by Constable and Company, Ltd., 3 The Lanchesters,162-l& ftrlham FalaceRoad, London W6 9ER.

EDITION THIRD (Russian)

Bibliographical Note
This Dover edition, first published in 1993, is an unabridged and unaltered republication of the work finst publish€d by W.H. freeman and Company, San francisco, in1962.

Shkliarskil, D. O. (David Oskarwich), lgt&-1942. fizbrannp zadrchi i tcoremy elementarnol matematiki, ch l. English] The USSR Olympiad problem book : selecrcd problems and-theorems of elementary mathematics/ D.O. Shklarsky, N.N. Chentzor,,I.M. yaglom; translated by John Maykorrich.-3rd ed / rcv. and edited by Irving Sussman. p. cm. rsBN G48G27709-7 l. Mathematics-hoblems, exercises,etc. I. Chentsov,N. N. (Nikolal Nikolaevich) tr. IAglom, I. M. (lsaak Moiseevich), l92l-. III. Sussman,

Tnrs aoox coNrAINs320 unconventional problems in algebra, arithme' Most of these tic, elementary number theory, and trigonometry. problems first appeared in competitive examinations sponsored by the School Mathematical Society of the Moscow State University and in the Mathematical Olympiads held in Moscow. The book is designed for students having a mathematical background at the high sghogl level;r very many of the problems are within reach of seventh&6nd Solutions are given eighth grhde students of outstanding ability. for all the problems. The solutions for the more difficult problems are especially detailed. The third (Russian) edition differs from the second chiefly in the elimination of errors detected in the second edition. Therefore, the preface to the second edition is retained.
t The level of academic attainment referred to as "high school level" is the American ninth to twelfth grades. The USSR equivalent is seventh to tenth grades. This means that this material is introduced about two years earlier in the Russian schools. Since Russian children begin their first grade studies about a year later than do American children, the actual age disparity is not as much as two years l0ditorl. v

il

Irving. IV. Trtle. QA43.S58131994 5lO'.7*dc20

93-11553 CIP

Manufactured in the United Statesof America Dover Publications,Inc., 3l East 2nd Street,Mineola N.y. ll50l

TO PREFACE THE
EDITION SECOND(Russian)

voLuuE,which constitutesthe first part of a collection, THp rnBssNT contains 320 problems involving principally algebra and arithmetic, although severalof the problemsare of a type meant only to encourage the developmentof logical thought (see, for example, problems1-8). The problems are grouped into twelve separatesections. The last four sections(ComplexNumbers,SomeProblemsfrom Number Theory, and Inequalities, Numerical Sequences Series)contain important theoretical material, and they may well serve as study topics for school mathematical societiesor for the Societyon ElementaryMathematics institutes. In this respectthe supplementaryrefer. at the pedagogical encesgiven in various sectionswill also prove useful. All the other sections [especially Alterations of Digits in Integers and Solutions of Equationsin Integers (Diophantineequations)lshouldyield material profitable for use in mathematicsclubs and societies. Problemsin Algebra, only four (Miscellaneous Of the twelve sections, Polynomial Algebra, ComplexNumbers, Inequalities)concernalgebra; the remaining sectionsdeal with arithmetic and number theory. A special effort has beenmadeto play down problems(particularly those ih algebra) inriolving detailid nianip-uldtivematter. This was done to avoid dupliciting materiai in the eiCbllent ProblemBoohin Algebra.,.

vui

Preface to the Second Edition

ix

The author is also indebted to the editor, A. Z. Rivkin, whose indefatigable labors on the first and second editions made possible many improvements, and to all the readers who made valuable suggestions, especially I. V. Volkova, L. I. Golovina, R. S. Guter, G. Lozanovsky, I. A. Laurya, Y. B. Rutitsky, A. S. Sokolin, and I. Y. Tanatar.

I. M. Yaglom

EDITOR'SFOREWORD THE TO ENGLISHEDITION

One of the important facets of scienceeducation in the USSR has beentheir series of mathematical competitive examinations held for students of high ability in the secondary schools. Those contests, which are being emulatedincreasingly in our own educationalsystem, culminate eagh year in the Soviet Union in their Mathematical Olympiads held at Moscow University, preliminary qualifying and elimination examinations having beenheld nationwide throughout the academicyear. This book, compiled over a twenty-year period, is a collection of the most interesting and instructive problemsposedat these competitions and in other examinationcentersof the USSR,plus additional problemsand material developedfor use by the fthool Mathematics Study Societies. Perhaps the greatestcompliment which can be paid to the problems createdfor this purposeby leading Soviet mathema' ticians (or tikeii ahd adaptedfrom the literature) has been the extent to which the problems have been used in our own contests and ex' aminations. Soviet students and teachers have had available in published form the problems, and their solutions, given in such examinations, but this material has not generally been available in the United States.

xrr

Editor's Foreword to the English Edition

xiii

A few of these problems have been translated and published in such American journals as The American Mathematicat Monthly of rhe Mathematical Association of America, and problems of similar scope appear as regular features of Several American journals. Except for some compilations from these sources, little exists by way of problems which deal with real and active mathematics instead of the fringe and recreational aspects of the scienceor with conventional textbook exercises. This translation and revision of the Third Revised and Augmented Edition of the olympiad Problem Book should therefore fill a very definite need in American schools and colleges. It contains 320 problems-a few of them merely recreational and thought-provoking, but most of them seriously engaged with solid and important mathematical theory, albeit the preparational background is assumed to be elementary. The problems are from algebra, arithmetic, trigonometry, and number theory, and all of them emphasize the creative aspects of these subjects. The material coordinates beautifully with the new concepts which are being emphasizedin American schools, since the "unconventional" designation attributed to the problems by the original authors means that they stress originality of thought rather than mere manipulative ability and introduce the necessity for finding new methods of attack. In this respect I am reminded of the observation made by some forgotten character in some forgotten novel who opined that the ultimate test of an educative effort lay not nearly so much in what sort of questions the students could finally answer as in what sort of questions they could finally be asked! Complete solutions to all problems are given; in many cases, alternate solutions are detailed from different points of view. Although most of the problems presuppose only high school mathematics, they are not in any sense easy: some are of uncommon difficulty and will challenge the ingenuity of any research mathematician. on the other hand, many of the problems will yield readily to a normally bright high school student willing to use his head. Where more advanced concepts are employed, the concepts are discussed in the section preceding the problems, which gives the volume the aspect of a textbook as well as a problem book. The solutions to more advanced problems are given in considerable detail. Hence this book can be put to use in a variety of ways for students of ability in high schools and colleges. In particular, it lends itself exceptionally well to use in the various Institutes for high school

mathematics teachers. It is certainly required reading for teachers dealing with the gifted student and advanced placement classes. It will furnish them with an invaluable fund for supplementary teaching material, for self-study, and for acquiring depth in elementary mathematics. Except for the elimination of the few misprints and errors found in the original, and some recasting of a few proofs which did not appear to jell when translated literally, the translation is a faithful one: it was felt that the volume would lose something by too much tampering. (For this reason the original foreword and preface have also been retained). Thus the temptation to radically alter or simplify any understandable solution was resisted (as, for example, in the sections on number theory and inequalities, where congruence arithmetic would certainly have supplied some neater and more direct proofs). Some notations which differ in minor respects from the standard American notations have been retained (as, for example, C* instead of Cl). These will cause no difficulty. All references made in the text to books not available in English translation have been retained; no one can know when translations of some of those volumes will appear. Whenever an English trans' lation was known to exist, the translated edition is referred to. The translation was made from the Third (Russian) Edition of Selected Problems and Theorems of Elernentary Mathernatics, which is the title under which the original volume appeared in the Soviet Union. Mr. John Maykovich, instructor at the University of Santa Clara, was the translator, and he was assisted by Mrs. Alvin (Myra) White, who translated fifty pages. The writing out, revising, editing, annotating, and checking against the original Russian were by my own hand. Thanks are due the following persons for their assistancein reading portions of the translation, pointing out errors, and making valuable suggestions: Professor George Polya of Stanford University,r Professor Abraham Hillman of the University of Santa Clara, and Professor Robert Rosenbaum of Wesleyan University. I shall be very grateful to readers who are kind enough to point out errors, misprints, misleading statements of problems, and incorrect or obscure proofs found in this edition.

January 1962

Irving Sussman

t I would also like to call attention to Professor Polya's new book Matht motinal Di,saaerg (Wiley) which contains elementary problems and valuable textual discussion of approaches to, and techniques of, problem solving'

&

CONTENTS

Foreword to the Third (Russian)Edition Preface to the Second (Russian) Edition Editor's Foreword to the English Etlition From the Authors Suggestionsfor Using this Book Numerical Referenceto the Problems Given in the Moscow Mathematical Olympiads 1. Introductory Problems (1-14) 2. Alterations of Digits in Integers (15-26) 3. The Divisibility of Integers (27-7I) 4. Some Problems from Arithmetic (72-109) 5. Equations Having Integer Solutions (110-130) 6. Evaluating Sums and Products (131-159) 7. MiscellaneousProblems from Algebra (1@-195) 8. The Algebra of Polynomials (19G22f) 9. Complex Numbers (Zn-29)

v vii xi I 3
c

6 11

13 20 27 30 38 ,t5 50
xv

xvi 10. Some Problems of Number Theory en-ZS4) 1 1 . Some Distinctive Inequalities (2S\$-30g) t2. Difference Sequencesand Sums (309-320)