Stay ahead of learning milestones! Enroll in a class over the summer!

G
Topic
First Poster
Last Poster
Three-player money transfer game with unique winner per round
rilarfer   1
N 32 minutes ago by Lankou
Source: ASJTNic 2005
Ana, Bárbara, and Cecilia play a game with the following rules:
[list]
[*] In each round, exactly one player wins.
[*] The two losing players each give half of their current money to the winner.
[/list]
The game proceeds as follows:

[list=1]
[*] Ana wins the first round.
[*] Bárbara wins the second round.
[*] Cecilia wins the third round.
[/list]
At the end of the game, the players have the following amounts:
[list]
[*] Ana: C$35
[*] Bárbara: C$75
[*] Cecilia: C$150
[/list]
How much money did each of them have at the beginning?
1 reply
rilarfer
an hour ago
Lankou
32 minutes ago
Find all integer solutions to an exponential equation involving powers of 2 and
rilarfer   2
N 41 minutes ago by teomihai
Source: ASJTNic 2005
Find all integer pairs $(x, y)$ such that:
$$
2^x + 3^y = 3^{y + 2} - 2^{x + 1}.
$$
2 replies
rilarfer
an hour ago
teomihai
41 minutes ago
Winning strategy in a two-player subtraction game starting with 65 tokens
rilarfer   1
N an hour ago by CHESSR1DER
Source: ASJTNic 2005
Juan and Pedro play the following game:
[list]
[*] There are initially 65 tokens.
[*] The players alternate turns, starting with Juan.
[*] On each turn, a player may remove between 1 and 7 tokens.
[*] The player who removes the last token wins.
[/list]
Describe and justify a strategy that guarantees Juan a win.
1 reply
rilarfer
an hour ago
CHESSR1DER
an hour ago
Radius of circle tangent to two equal circles and a common line
rilarfer   1
N an hour ago by Lankou
Source: ASJTNic 2005
Two circles of radius 2 are tangent to each other and to a straight line. A third circle is placed so that it is tangent to both of the other circles and also tangent to the same straight line.

What is the radius of the third circle?

IMAGE
1 reply
rilarfer
an hour ago
Lankou
an hour ago
Four-variable FE mod n
TheUltimate123   2
N an hour ago by cosmicgenius
Source: PRELMO 2023/3 (http://tinyurl.com/PRELMO)
Let \(n\) be a positive integer, and let \(\mathbb Z/n\mathbb Z\) denote the integers modulo \(n\). Determine the number of functions \(f:(\mathbb Z/n\mathbb Z)^4\to\mathbb Z/n\mathbb Z\) satisfying \begin{align*}     &f(a,b,c,d)+f(a+b,c,d,e)+f(a,b,c+d,e)\\     &=f(b,c,d,e)+f(a,b+c,d,e)+f(a,b,c,d+e). \end{align*}for all \(a,b,c,d,e\in\mathbb Z/n\mathbb Z\).
2 replies
TheUltimate123
Jul 11, 2023
cosmicgenius
an hour ago
Functional divisibility for large arguments
Assassino9931   3
N an hour ago by Assassino9931
Source: Bulgaria Winter Mathematical Competition 2025 12.3
Determine all functions $f: \mathbb{Z}_{\geq 2025} \to \mathbb{Z}_{>0}$ such that $mn+1$ divides $f(m)f(n) + 1$ for any integers $m,n \geq 2025$ and there exists a polynomial $P$ with integer coefficients, such that $f(n) \leq P(n)$ for all $n\geq 2025$.
3 replies
Assassino9931
Jan 27, 2025
Assassino9931
an hour ago
Max integer divisible by 25 with leftover equal to one-fourth of a share
rilarfer   0
an hour ago
Source: ASJTNic 2005
In preparation for a piñata, a certain number of candies was bought to be equally distributed among 25 guests. However, during the distribution, it was noticed that one-fourth of the amount each guest should receive was always left over.

What is the greatest number of candies that could have been originally purchased?
0 replies
rilarfer
an hour ago
0 replies
Combinatorics
TUAN2k8   2
N an hour ago by soryn
A sequence of integers $a_1,a_2,...,a_k$ is call $k-balanced$ if it satisfies the following properties:
$i) a_i \neq a_j$ and $a_i+a_j \neq 0$ for all indices $i \neq j$.
$ii) \sum_{i=1}^{k} a_i=0$.
Find the smallest integer $k$ for which: Every $k-balanced$ sequence, there always exist two terms whose diffence is not less than $n$. (where $n$ is given positive integer)
2 replies
TUAN2k8
Today at 8:22 AM
soryn
an hour ago
source own
Bet667   5
N 2 hours ago by GeoMorocco
Let $x,y\ge 0$ such that $2(x+y)=1+xy$ then find minimal value of $$x+\frac{1}{x}+\frac{1}{y}+y$$
5 replies
Bet667
4 hours ago
GeoMorocco
2 hours ago
Cross-ratio Practice!
shanelin-sigma   3
N 2 hours ago by MENELAUSS
Source: 2024 imocsl G3 (Night 6-G)
Triangle $ABC$ has circumcircle $\Omega$ and incircle $\omega$, where $\omega$ is tangent to $BC, CA, AB$ at $D,E,F$, respectively. $T$ is an arbitrary point on $\omega$. $EF$ meets $BC$ at $K$, $AT$ meets $\Omega$ again at $P$, $PK$ meets $\Omega$ again at $S$. $X$ is a point on $\Omega$ such that $S, D, X$ are colinear. Let $Y$ be the intersection of $AX$ and $EF$, prove that $YT$ is tangent to $\omega$.

Proposed by chengbilly
3 replies
shanelin-sigma
Aug 8, 2024
MENELAUSS
2 hours ago
Olympiad Combinatorics Book
Pascal96   126
N Dec 27, 2023 by zaahir
Hi everyone, I am currently writing a book on combinatorics for people preparing for national and international math competitions, especially the IMO and selection tests leading up to it. The book is intended to expose readers to a variety of ideas, techniques and problem solving strategies, ranging from the intuitive “greedy algorithms” in the first chapter to the powerful Probabilistic Method in chapter nine.
I am uploading chapter one here, and would appreciate your feedback and any suggestions. Over the coming weeks, I will be uploading the remaining chapters one at a time.
The only prerequisites are familiarity with basic graph theoretic concepts and terminology, algebraic inequalities, induction and the pigeonhole principle. Experience with invariants and the extremal principle is also helpful.
EDIT: CHAPTER 9 IS OUT! Since only 3 attachments are allowed per post, I have uploaded chapters 4, 5 and 6 in my comment below (10th on this page), and chapters 7, 8, and 9 further below (comment number 49 on this page).
NOTE: The solution to example 8 in chapter 1 is incorrect, and will be corrected in the final version of the book. For now, ignore this example.

Full book (uploaded by green_dog_7983): Dead Link
[Amir: new link]
126 replies
Pascal96
Aug 6, 2014
zaahir
Dec 27, 2023
Olympiad Combinatorics Book
G H J
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Pascal96
124 posts
#1 • 454 Y
Y by bcp123, Konigsberg, gobathegreat, utkarshgupta, frill, sabbasi, professordad, rgreenanswers, AndrewKwon97, thkim1011, PatrikP, fclvbfm934, happiface, fireonice18, El_Ectric, TheCrafter, minimario, shivangjindal, Cyclicduck, raptorw, sicilianfan, misgiven, tau172, ABCDE, wcao9311, CalcCrunch, TheMaskedMagician, acupofmath, Wawowiee, debjit1999, Em80, socrates, Boomer, Amir Hossein, AnonymousBunny, Ashutoshmaths, ThePathOfWar, mbrc, Philip7086, flamefoxx99, NormanWho, Chaos_Theory, Uagu, RishabhDahale, Anish_S, RadioActive, explogabloger, hnhuongcoi, ARCH999, kenneth102099, Debdut, Kezer, blippy1998, DominicanAOPSer, mihajlon, Higgsboson79, rigor, AdithyaBhaskar, drkim, 24iam24, DrMath, sheripqr, ATimo, ssk9208, champion999, AdBondEvent, huricane, trumpeter, Wave-Particle, joey8189681, amplreneo, yojan_sushi, shinichiman, aops777, hwl0304, Eugenis, bearytasty, pican, FTW, nikolapavlovic, fractals, Rubaiya, NHN, Tintarn, randomusername, InCtrl, anantmudgal09, MathPanda1, Knin2820, yimingz89, GoJensenOrGoHome, monkeyl, SHARKYBOY, quantummath, WOOT2016er, rkm0959, Devesh14, TheOneYouWant, mathtastic, simos20, quangminhltv99, Hydrogen-Helium, madmathlover, K6160, tarzanjunior, Ankoganit, mewtwomew, jam10307, lucasxia01, m1234567, brianapa, pinetree1, fireclaw105, NTA1907, babu2001, shiningsunnyday, mathwizard888, ankitsnigam, dtxiong, stan23456, Plasma_Vortex, Generic_Username, wu2481632, mrowhed, Temp456, rterte, DeathLlama9, Flash12, andrei_cdr29, gradysocool, purpleapples, always_correct, nsato, 62861, Natsu_Dragneel, skys, math90, pi_Plus_45x23, Snowfractals, Number1, Vietnamisalwaysinmyheart, Churent, thunderz28, JasperL, mathcrazymj, rafayaashary1, MathSlayer4444, Phie11, steppewolf, tenplusten, vsathiam, Swag00, TYERI, tiwarianurag021999, Weakinmath, bluephoenix, Problem_Penetrator, kk108, user2324335345, shawnee03, claserken, div5252, Kayak, nmd27082001, Gh324, Sids2k, ThisIsASentence, ArijitViswananthan, targo___, samuel, fatant, rodamaral, Tawan, AnArtist, QWERTYphysics, dram, enhanced, ccx09, 277546, Uros, integrated_JRC, tapir1729, NotKris, Kagebaka, Wizard_32, Vrangr, rmtf1111, Zoom, opplakat, e_plus_pi, lifeisgood03, taisan, lazysnorlax, MNJ2357, Supercali, mathlogician, samoha, gmail.com, Durjoy1729, illogical_21, MEGAKNIGHT, ultralako, allinnohesitation, InfiniteAnswers, AlastorMoody, TheMagician, math-o-enthu, bhargav13baruah13, biomathematics, NOLF, mathisreal, Aspirant-to-IMO, niyu, Arhaan, Saikat002, Drunken_Master, Mathisfun04, doitsudoitsu, nikhil.mudumbi, BinomialMoriarty, magicarrow, MathInfinite, TheDarkPrince, sriraamster, MathbugAOPS, AbsoluteZer0, aadhitya, Twistya, PhysicsMonster_01, MathPassionForever, SoumikNayak, RAMUGAUSS, NoDealsHere, TheCoolDinosuar, mathleticguyyy, Guardiola, Mathotsav, Math_Is_Life_03, Spiralflux789, Vietjung, MelonGirl, Math-wiz, FISHMJ25, meet18, MathematicalPhysicist, Systematicworker, p_square, duttaditya18, hellomath010118, Varuneshwara, Kaisun, fjm30, Atpar, lilavati_2005, heidi3003, Loppukilpailija, Aarth, GeronimoStilton, SHREYAS333, Greenleaf5002, whatRthose, Sumgato, Polipo2704, mathsworm, WindTheorist, BigSams, khina, Feridimo, Martin007B, ErijonHasi1, yaseenmollik, Bassiskicking, RudraRockstar, Gumnaami_1945, amar_04, Math_olympics, Kamran011, freeman66, Toinfinity, a2048, tree_3, OlympusHero, Zorger74, AmirKhusrau, Dem0nfang, The_Conjecturer, mueller.25, MintTea, Bltbob, tastymath75025, Aspiring_Mathletes, Kanep, Abbas11235, The_Giver, char2539, adityaguharoy, Purple_Planet, Orangensaft12, CaptainLevi16, khan.academy, NePtUnEMaTh, smartkmd1, matinyousefi, TwilightZone, Aryan-23, scimaths, Kgxtixigct, myh2910, Yusrizal, Han1728, Imayormaynotknowcalculus, Awesome_guy, Googolplexian, heheXD1, leibnitz, ghu2024, Gaussian_cyber, Pluto1708, Invert_DOG_about_centre_O, PROA200, Bumblebee60, ilovepizza2020, Nathanisme, itslumi, A-Thought-Of-God, Congruentisogonal44, DievilOnlyM, A_Math_Lover, NJOY, IAmTheHazard, captainsnake, Talgat05, Pitagar, Geo_alphan, anonman, TsunamiStorm08, Didier, lazybean123, ProblemSolver2048, Hamroldt, babygrogu, Ucchash, k12byda5h, MathsMadman, tigerzhang, Euler1728, 606234, phoenixfire, EmilXM, Aritra12, Ninjasolver0201, Rg230403, superagh, Andrei246, IceWolf10, sotpidot, NumberX, EllipticSWAN, samrocksnature, EZmath2006, Jerry122805, hakN, Siddharth03, 554183, Wizard0001, srijonrick, parmenides51, N1RAV, mathlearner2357, MathJams, Taco12, NealShrestha, abvk1718, violin21, megarnie, Nymoldin, guavaSeabird, john0512, sklf023, Timmy456, IMUKAT, Elnuramrv, Flying-Man, TheCollatzConjecture, Pranav1056, CyclicISLscelesTrapezoid, Superguy, AwesomeYRY, MrOreoJuice, Sprites, Hexagon_6-, Nuterrow, ALM_04, pikapika007, polynomialian, rayfish, skyguy88, Seicchi28, wasikgcrushedbi, Gacac, Jndd, Miku_, DPS, PHSH, HamstPan38825, mathking999, Zaro23, Blast_S1, a-dumb-math-kid, rama1728, Quidditch, somebodyyouusedtoknow, Mathlover_1, David-Vieta, sehgalsh, userr.7, matharcher, Mogmog8, adorefunctionalequation, howcanicreateacccount, thepigod762, GeoKing, EpicBird08, ab2024, huashiliao2020, peelybonehead, s12d34, Rainmaker2627, wenwenma, Adventure10, Mango247, cursed_tangent1434, Tafi_ak, johnlee1234, anonymouzzz, ATGY, TestX01, ohiorizzler1434, ehuseyinyigit, Lhaj3, Fah2008, and 13 other users
Hi everyone, I am currently writing a book on combinatorics for people preparing for national and international math competitions, especially the IMO and selection tests leading up to it. The book is intended to expose readers to a variety of ideas, techniques and problem solving strategies, ranging from the intuitive “greedy algorithms” in the first chapter to the powerful Probabilistic Method in chapter nine.
I am uploading chapter one here, and would appreciate your feedback and any suggestions. Over the coming weeks, I will be uploading the remaining chapters one at a time.
The only prerequisites are familiarity with basic graph theoretic concepts and terminology, algebraic inequalities, induction and the pigeonhole principle. Experience with invariants and the extremal principle is also helpful.
EDIT: CHAPTER 9 IS OUT! Since only 3 attachments are allowed per post, I have uploaded chapters 4, 5 and 6 in my comment below (10th on this page), and chapters 7, 8, and 9 further below (comment number 49 on this page).
NOTE: The solution to example 8 in chapter 1 is incorrect, and will be corrected in the final version of the book. For now, ignore this example.

Full book (uploaded by green_dog_7983): Dead Link
[Amir: new link]
Attachments:
OlympiadCombinatoricsChapter1.pdf (869kb)
OlympiadCombinatoricsChapter2.pdf (814kb)
OlympiadCombinatoricsChapter3.pdf (924kb)
This post has been edited 15 times. Last edited by Amir Hossein, Jan 23, 2020, 7:55 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
utkarshgupta
2280 posts
#2 • 5 Y
Y by Pascal96, Math_olympics, samrocksnature, Adventure10, and 1 other user
Thanx a lot !!!!!!

That is exactly what I need !

I will be eagerly waiting for subsequent chapters !!!!
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Konigsberg
2207 posts
#3 • 11 Y
Y by droid347, mathcrazymj, dram, Math_olympics, samrocksnature, IceWolf10, Adventure10, Mango247, and 3 other users
I would be reading the first chapter when I have time, but a quick glance to me says that it is quite good. It seems a good (combinatorial) counterpart to v_Enhance's geometry book. Will there be solutions to the exercise problems, or we have to search them ourselves?

May I ask when would the other chapters be posted?

Thanks!
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Pascal96
124 posts
#4 • 9 Y
Y by samuel, mathcrazymj, hibiscus, Math_olympics, samrocksnature, Adventure10, Mango247, and 2 other users
Thank you for your positive feedback! To answer your questions, there may be a gap of about a week before I put up the next chapter since I will be out of town, but after that I should be putting up two to three per week. There will be nine chapters in total, covering algorithms (two chapters), processes, existence, games, counting in two ways, extremal combinatorics, graph theory and the probabilistic method. Eventually I will put them all into a single, complete pdf with a brief appendix on prerequisites as well. I thought I would initially post chapters individually to get some feedback and make changes where required.
As of now I do not have any plans to write solutions to exercise problems, but if you would like a hint/solution sketch to a particular problem you have been working on feel free to pm me. It may also be useful to know that the exercises are (for the most part) arranged in increasing order of difficulty (with exercise 10 being an exception as it is a lemma needed for 11).
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
deepesh
59 posts
#5 • 4 Y
Y by blackwave, Math_olympics, samrocksnature, Adventure10
I cant find the link for some reason
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
utkarshgupta
2280 posts
#6 • 4 Y
Y by Math_olympics, samrocksnature, Adventure10, Mango247
Maybe you are on a tab or mobile
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Konigsberg
2207 posts
#7 • 4 Y
Y by Math_olympics, samrocksnature, Adventure10, Mango247
could you give links for the solutions to the informatics olympiad problems? the others could be found either through google or aops resources.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Pascal96
124 posts
#8 • 3 Y
Y by Math_olympics, samrocksnature, Adventure10
Most of them should be under greedy algorithms at this link: http://www.iarcs.org.in/inoi/online-study-material/topics/
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Konigsberg
2207 posts
#9 • 4 Y
Y by Math_olympics, samrocksnature, Adventure10, Mango247
oh ok. When would the other chapters be posted?
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Pascal96
124 posts
#10 • 4 Y
Y by Math_olympics, samrocksnature, Adventure10, and 1 other user
I just uploaded chapter 2. Chapters 3, 4 and 5 should be ready within the next 3 or 4 days
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Pascal96
124 posts
#11 • 29 Y
Y by bcp123, fclvbfm934, PatrikP, acupofmath, hungrycap, RishabhDahale, RadioActive, ARCH999, huricane, trumpeter, bearytasty, pican, TheOneYouWant, 62861, thunderz28, e_plus_pi, samuel, mathrabbit812, allinnohesitation, Math_olympics, Pluto1708, samrocksnature, Adventure10, EpicBird08, and 5 other users
It turns out I'm only allowed 3 attachments in one post, so here are chapters 4 and5.
EDIT: Chapter 6 is out!
Attachments:
OlympiadCombinatoricsChapter4.pdf (867kb)
Chapter5 Games Aug 2014.pdf (801kb)
Chapter6 Aug 2014.pdf (884kb)
This post has been edited 2 times. Last edited by Pascal96, Sep 4, 2014, 12:15 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
thkim1011
3135 posts
#12 • 3 Y
Y by samrocksnature, Adventure10, and 1 other user
Thank you! I hardly know any olympiad combinatorics, so I guess this is a good chance to learn. Just wondering, what did you use to write this book?
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
mentalgenius
1020 posts
#13 • 4 Y
Y by Math_olympics, samrocksnature, Adventure10, and 1 other user
It looks like Microsoft Word.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
v_Enhance
6874 posts
#14 • 35 Y
Y by butter67, zmyshatlp, Pascal96, bearytasty, TheOneYouWant, madmathlover, CQYIMO42, CeuAzul, mcmcphie, mathcrazymj, samuel, mathrabbit812, Spiralflux789, lemon94, RudraRockstar, Math_olympics, Pi-is-3, myh2910, amar_04, Nathanisme, Euler1728, samrocksnature, primesarespecial, Thapakazi, abvk1718, Hypatia1728, weili4216, rayfish, AOPSUser2357, EpicBird08, Adventure10, NicoN9, and 3 other users
This work is really impressive! You are very fast.

Here are some comments as I read through the first chapter. Most of these are just little nitpicks and may not be worth weighting very heavily. The stuff I believe more firmly is in italics. If you want to discuss more, you are welcome to email me at $\text{evanchen}@\text{mit.edu}$.

Introduction
Second paragraph: "Often an algorithm can ... field of number theory". This feels like "fluff" to me, doesn't contribute much to the paragraph and the first sentence seems vacuously true. Also not sure how much I agree with the claim that the Euclidean algorithm is the basis of NT, but that's beside the point ;)

Third paragraph: Perhaps you might want to put this in a preface / chapter 0 of some sort.

Greedy Algorithms
Nice quote :)

"in each step" might be better as "at each step"

"They aren't always the optimal algorithm in the long run" is kind of awkward and "they" seems not so well-defined.
I suggest "Greedy algorithms are not always optimal in the long run".

Example 1
Solution: You may prefer to use $c_1$, $c_2$, for colors and $v_1$, $v_2$, for vertices.

Remark: This is good. You might also want to note something to the effect that the greedy algorithms are also _dumb_; they don't take a lot of things into account. To illustrate this point, you might mention Brook's Theorem, which shows that $\Delta +1$ is usually not tight. I think it's useful to point out in this way that the greedy algorithm usually does not always perform optimally.

Example 2
The comment about how the trivial greedy algorithm fails is IMO very good. I don't know why so few books make comments like this.
Actually the entire solution is just very well-explained.

And that remark at the end about boring calculations is hilarious. Please keep it!

Example 3
You might be pushing a little here with the amount of graph theory to assume, but that's probably fine.
You should mention that $H$ must be nonempty.
Is there a missing space between "$V$" and "vertices" in the problem statement?

The solution feels a bit more dense here than the preceding solutions. Some paragraph breaks might help, at least.
Moreover, I think the wording in terms of edges/vertices instead of average degree is both confusing and counterintuitive (at one point, I thought that the value of $E$ and $V$ were changing). I think the following phrasing might be more intuitive:
"If $d$ is the average degree, then we want to delete vertices until the minimum degree is at least $d/2$.
Call a vertex bad if the degree is less than $d/2$, and begin deleting bad vertices arbitrarily.
... more text ...
Notice that as we delete bad vertices, the average degree of the graph increases, because BLAH "
and then proceed to show the resulting $H$ is nonempty. At the very least, I don't think the "(it started as $E/V$ ...)" should be stuffed into a parenthetical.

Is the bound $d/2$ tight? I feel like looking at a case where equality occurs would be useful for understanding what is happening.
Actually I can't tell from reading your solution why $d/2$ can't be replaced by something else, so I think you should definitely elaborate on why the average degree is strictly increasing.

Example 4
Let $a=1776$ seems more conventional than $1776=a$. Also, spacing issues. Would appreciate a paragraph break after "call these small sets and big sets respectively".

The explanation of heuristics is very good here in my opinion. So is the remark at the end.

"Suppose the algorithm fails (that is ..." -- Again, I object to the stuffing of content in parentheses, though not quite as strongly as the previous issue.

Invariants / Monovariants
"... and an invariant is quantity that doesn't change." maybe append "at all" to the end of this sentence.
You might also like to talk briefly about how monovariants / invariants are used, namely
(i) monovariants are often used to show that some process terminates, and
(ii) invariants are often used to show that some state cannot be achieved.

Example 5
How would you think of the black/white coloring?

"... making all but the last 2 entries 0 ..." use "two" instead of "2".

Example 6
Oh man this is a really good example problem. You might want to explain more towards the beginning that we choose the weights in such a way that passing towards $A_0$ does not change the sum of the weights.

The $W_+$ and $W_-$ is actually tricky, initially I thought that $A_n$ could just pass in either direction and it would still work. You might want to show explicitly that this is not the case -- that is, explain why $A_n$ actually needs to be careful by showing an example where $A_n$ passes the wrong way and everyone is sad, then go into the $W_+$ and $W_-$ distinction.

Example 7
"The second part of the question is trivial" -- I think a little more here would be appreciated. It would probably be sufficient to add something of the form "the sum of the money is invariant".

Example 8
I'm not thinking very well right now, but why is this algorithm optimal? You have this $X$ which decreases by $1$ for most transfers, but decreases by more if one transfers from $n$ to $1$. But the "full algorithm" you specified involves doing the second operation whenever possible; in other words, greedily. Why is that sufficient?

Example 9
"Let the sum of a position ... maximum of the 6 numbers" The wording is a bit clumsy here.
Maybe you want "Let the sum and maximum of a position denote the sum and maximum, respectively, of the six numbers".
And again you may want to use "six" instead of "6".

The explanation of the sub-algorithms is good. Some diagrams might be appreciated.

Misc
At this point my mom is telling me I'm going to a doctor appointment soon, so I'm just skimming now.
The fact that I can still pick up the main idea of the solution is a very positive sign.

Example 10
Nitpick: you ought to be consistent with your (a), (b), (c), (d), since you use double-parens (b) for the label but single-parens b) in the main text.

However, I think your dissection into the (a), (b), (c), (d) observations is very, very good.

Example 11
Now you have a), b), c), d) in the labels. Again, you should try and be consistent.

The prose is very clear though. Again, you motivate the solution very well.

The remark is quite good. I recall being surprised at the low scores for the Problem 6 that year until I remembered what Problem 5 was.
Deputy leaders too good :P

Example 12
The notation here is really dense. Diagrams would be really helpful here, especially for a problem this difficult.

Exercises
The mixture with CS algorithm flavoring is interesting; I personally like it but don't know if others will. It might be worth defining stuff like $O(n^2)$ so that you don't have to keep repeating yourself now or later.

Problem 4 is from some Putnam, but I don't remember which year. It's possible that Putnam stole it though.

You might be interested in providing hints to the problems: just one or two sentences that outlines the main idea. I can attest that this takes much, much less time than writing full solutions, and has a similarly useful effect.

That's all for now, will write more later. And again, feel free to email me if you want to follow up on anything.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Pascal96
124 posts
#15 • 17 Y
Y by Eugenis, mathcrazymj, Problem_Penetrator, samuel, RudraRockstar, Math_olympics, Pi-is-3, Nathanisme, samrocksnature, Adventure10, Mango247, winniep008hfi, and 5 other users
Thank you for all your detailed advice Evan. I'll definitely make the relevant changes in the final book. I agree with all of it apart from a few points.
Introduction: The sentences "Often an algorithm... field of number theory" are intended to contrast with the first paragraph. While the first paragraph asserts that algorithms have several "external" uses - uses outside of mathematics - the second paragraph indicates that the focus of this chapter will be to use algorithms as tools to solve mathematical problems. In fact, I do not think it is that obvious that existence problems like example 3 and 4 can be solved by designing algorithms. Perhaps I should reword these sentences a little to make this clearer.
Example 3: No there's no space missing. It just looks like that because of the italics. But I agree with your other remarks about this problem.
Invariants/monovariants: In the final book there will be a chapter introducing some prerequisites, which will define invariants and monovariants, and also introduce the idea of black and white colorings.
Example 7: Isn't it clear that the total money is invariant? He can only transfer money between accounts, not make or destroy money.
Exercises: I agree with what you said about the "CS algorithm flavoring". Do you think I should put these into a separate section at the end? Also, I think problems 7, 9, 10 and 11 are okay since no algorithm design is required, only analysis.
Z K Y
G
H
=
a