Plan ahead for the next school year. Schedule your class today!

G
Topic
First Poster
Last Poster
k a July Highlights and 2025 AoPS Online Class Information
jwelsh   0
Jul 1, 2025
We are halfway through summer, so be sure to carve out some time to keep your skills sharp and explore challenging topics at AoPS Online and our AoPS Academies (including the Virtual Campus)!

[list][*]Over 60 summer classes are starting at the Virtual Campus on July 7th - check out the math and language arts options for middle through high school levels.
[*]At AoPS Online, we have accelerated sections where you can complete a course in half the time by meeting twice/week instead of once/week, starting on July 8th:
[list][*]MATHCOUNTS/AMC 8 Basics
[*]MATHCOUNTS/AMC 8 Advanced
[*]AMC Problem Series[/list]
[*]Plus, AoPS Online has a special seminar July 14 - 17 that is outside the standard fare: Paradoxes and Infinity
[*]We are expanding our in-person AoPS Academy locations - are you looking for a strong community of problem solvers, exemplary instruction, and math and language arts options? Look to see if we have a location near you and enroll in summer camps or academic year classes today! New locations include campuses in California, Georgia, New York, Illinois, and Oregon and more coming soon![/list]

MOP (Math Olympiad Summer Program) just ended and the IMO (International Mathematical Olympiad) is right around the corner! This year’s IMO will be held in Australia, July 10th - 20th. Congratulations to all the MOP students for reaching this incredible level and best of luck to all selected to represent their countries at this year’s IMO! Did you know that, in the last 10 years, 59 USA International Math Olympiad team members have medaled and have taken over 360 AoPS Online courses. Take advantage of our Worldwide Online Olympiad Training (WOOT) courses
and train with the best! Please note that early bird pricing ends August 19th!
Are you tired of the heat and thinking about Fall? You can plan your Fall schedule now with classes at either AoPS Online, AoPS Academy Virtual Campus, or one of our AoPS Academies around the US.

Our full course list for upcoming classes is below:
All classes start 7:30pm ET/4:30pm PT unless otherwise noted.

Introductory: Grades 5-10

Prealgebra 1 Self-Paced

Prealgebra 1
Wednesday, Jul 16 - Oct 29
Sunday, Aug 17 - Dec 14
Tuesday, Aug 26 - Dec 16
Friday, Sep 5 - Jan 16
Monday, Sep 8 - Jan 12
Tuesday, Sep 16 - Jan 20 (4:30 - 5:45 pm ET/1:30 - 2:45 pm PT)
Sunday, Sep 21 - Jan 25
Thursday, Sep 25 - Jan 29
Wednesday, Oct 22 - Feb 25
Tuesday, Nov 4 - Mar 10
Friday, Dec 12 - Apr 10

Prealgebra 2 Self-Paced

Prealgebra 2
Friday, Jul 25 - Nov 21
Sunday, Aug 17 - Dec 14
Tuesday, Sep 9 - Jan 13
Thursday, Sep 25 - Jan 29
Sunday, Oct 19 - Feb 22
Monday, Oct 27 - Mar 2
Wednesday, Nov 12 - Mar 18

Introduction to Algebra A Self-Paced

Introduction to Algebra A
Tuesday, Jul 15 - Oct 28
Sunday, Aug 17 - Dec 14
Wednesday, Aug 27 - Dec 17
Friday, Sep 5 - Jan 16
Thursday, Sep 11 - Jan 15
Sunday, Sep 28 - Feb 1
Monday, Oct 6 - Feb 9
Tuesday, Oct 21 - Feb 24
Sunday, Nov 9 - Mar 15
Friday, Dec 5 - Apr 3

Introduction to Counting & Probability Self-Paced

Introduction to Counting & Probability
Wednesday, Jul 2 - Sep 17
Sunday, Jul 27 - Oct 19
Monday, Aug 11 - Nov 3
Wednesday, Sep 3 - Nov 19
Sunday, Sep 21 - Dec 14 (1:00 - 2:30 pm ET/10:00 - 11:30 am PT)
Friday, Oct 3 - Jan 16
Sunday, Oct 19 - Jan 25
Tuesday, Nov 4 - Feb 10
Sunday, Dec 7 - Mar 8

Introduction to Number Theory
Tuesday, Jul 15 - Sep 30
Wednesday, Aug 13 - Oct 29
Friday, Sep 12 - Dec 12
Sunday, Oct 26 - Feb 1
Monday, Dec 1 - Mar 2

Introduction to Algebra B Self-Paced

Introduction to Algebra B
Friday, Jul 18 - Nov 14
Thursday, Aug 7 - Nov 20
Monday, Aug 18 - Dec 15
Sunday, Sep 7 - Jan 11
Thursday, Sep 11 - Jan 15
Wednesday, Sep 24 - Jan 28
Sunday, Oct 26 - Mar 1
Tuesday, Nov 4 - Mar 10
Monday, Dec 1 - Mar 30

Introduction to Geometry
Monday, Jul 14 - Jan 19
Wednesday, Aug 13 - Feb 11
Tuesday, Aug 26 - Feb 24
Sunday, Sep 7 - Mar 8
Thursday, Sep 11 - Mar 12
Wednesday, Sep 24 - Mar 25
Sunday, Oct 26 - Apr 26
Monday, Nov 3 - May 4
Friday, Dec 5 - May 29

Paradoxes and Infinity
Mon, Tue, Wed, & Thurs, Jul 14 - Jul 16 (meets every day of the week!)
Sat & Sun, Sep 13 - Sep 14 (1:00 - 4:00 PM PT/4:00 - 7:00 PM ET)

Intermediate: Grades 8-12

Intermediate Algebra
Sunday, Jul 13 - Jan 18
Thursday, Jul 24 - Jan 22
Friday, Aug 8 - Feb 20
Tuesday, Aug 26 - Feb 24
Sunday, Sep 28 - Mar 29
Wednesday, Oct 8 - Mar 8
Sunday, Nov 16 - May 17
Thursday, Dec 11 - Jun 4

Intermediate Counting & Probability
Sunday, Sep 28 - Feb 15
Tuesday, Nov 4 - Mar 24

Intermediate Number Theory
Wednesday, Sep 24 - Dec 17

Precalculus
Wednesday, Aug 6 - Jan 21
Tuesday, Sep 9 - Feb 24
Sunday, Sep 21 - Mar 8
Monday, Oct 20 - Apr 6
Sunday, Dec 14 - May 31

Advanced: Grades 9-12

Calculus
Sunday, Sep 7 - Mar 15
Wednesday, Sep 24 - Apr 1
Friday, Nov 14 - May 22

Contest Preparation: Grades 6-12

MATHCOUNTS/AMC 8 Basics
Tues & Thurs, Jul 8 - Aug 14 (meets twice a week!)
Sunday, Aug 17 - Nov 9
Wednesday, Sep 3 - Nov 19
Tuesday, Sep 16 - Dec 9
Sunday, Sep 21 - Dec 14 (1:00 - 2:30 pm ET/10:00 - 11:30 am PT)
Monday, Oct 6 - Jan 12
Thursday, Oct 16 - Jan 22
Tues, Thurs & Sun, Dec 9 - Jan 18 (meets three times a week!)

MATHCOUNTS/AMC 8 Advanced
Tues & Thurs, Jul 8 - Aug 14 (meets twice a week!)
Sunday, Aug 17 - Nov 9
Tuesday, Aug 26 - Nov 11
Thursday, Sep 4 - Nov 20
Friday, Sep 12 - Dec 12
Monday, Sep 15 - Dec 8
Sunday, Oct 5 - Jan 11
Tues, Thurs & Sun, Dec 2 - Jan 11 (meets three times a week!)
Mon, Wed & Fri, Dec 8 - Jan 16 (meets three times a week!)

AMC 10 Problem Series
Tues & Thurs, Jul 8 - Aug 14 (meets twice a week!)
Sunday, Aug 10 - Nov 2
Thursday, Aug 14 - Oct 30
Tuesday, Aug 19 - Nov 4
Mon & Wed, Sep 15 - Oct 22 (meets twice a week!)
Mon, Wed & Fri, Oct 6 - Nov 3 (meets three times a week!)
Tue, Thurs & Sun, Oct 7 - Nov 2 (meets three times a week!)

AMC 10 Final Fives
Friday, Aug 15 - Sep 12
Sunday, Sep 7 - Sep 28
Tuesday, Sep 9 - Sep 30
Monday, Sep 22 - Oct 13
Sunday, Sep 28 - Oct 19 (1:00 - 2:30 pm ET/10:00 - 11:30 am PT)
Wednesday, Oct 8 - Oct 29
Thursday, Oct 9 - Oct 30

AMC 12 Problem Series
Wednesday, Aug 6 - Oct 22
Sunday, Aug 10 - Nov 2
Monday, Aug 18 - Nov 10
Mon & Wed, Sep 15 - Oct 22 (meets twice a week!)
Tues, Thurs & Sun, Oct 7 - Nov 2 (meets three times a week!)

AMC 12 Final Fives
Thursday, Sep 4 - Sep 25
Sunday, Sep 28 - Oct 19
Tuesday, Oct 7 - Oct 28

AIME Problem Series A
Thursday, Oct 23 - Jan 29

AIME Problem Series B
Tuesday, Sep 2 - Nov 18

F=ma Problem Series
Tuesday, Sep 16 - Dec 9
Friday, Oct 17 - Jan 30

WOOT Programs
Visit the pages linked for full schedule details for each of these programs!


MathWOOT Level 1
MathWOOT Level 2
ChemWOOT
CodeWOOT
PhysicsWOOT


Programming

Introduction to Programming with Python
Thursday, Aug 14 - Oct 30
Sunday, Sep 7 - Nov 23
Tuesday, Dec 2 - Mar 3

Intermediate Programming with Python
Friday, Oct 3 - Jan 16

USACO Bronze Problem Series
Wednesday, Sep 3 - Dec 3
Thursday, Oct 30 - Feb 5
Tuesday, Dec 2 - Mar 3

Physics

Introduction to Physics
Tuesday, Sep 2 - Nov 18
Sunday, Oct 5 - Jan 11
Wednesday, Dec 10 - Mar 11

Physics 1: Mechanics
Sunday, Sep 21 - Mar 22
Sunday, Oct 26 - Apr 26
0 replies
jwelsh
Jul 1, 2025
0 replies
2025 IMO Results
ilikemath247365   7
N a few seconds ago by Cats_on_a_computer
Source: https://www.imo-official.org/year_info.aspx?year=2025
Congrats to China for getting 1st place! Congrats to USA for getting 2nd and congrats to South Korea for getting 3rd!
7 replies
ilikemath247365
Yesterday at 4:48 PM
Cats_on_a_computer
a few seconds ago
EF bisects KL
Giahuytls2326   1
N 27 minutes ago by Royal_mhyasd
Source: my teacher
Let \( ABC \) be an acute triangle inscribed in a circle \( (O) \). The altitudes \( BE \) and \( CF \) intersect at \( H \). Let \( M \) be a point on the minor arc \( BC \) . The lines \( MC \) and \( MB \) intersect the lines \( BE \) and \( CF \) at \( L \) and \( K \), respectively. Prove that the line \( EF \) passes through the midpoint of segment \( KL \).
1 reply
Giahuytls2326
3 hours ago
Royal_mhyasd
27 minutes ago
APMO 2025
motannoir   0
27 minutes ago
When will the subjects of apmo 2025 be published ? It usually appears right after imo.
0 replies
motannoir
27 minutes ago
0 replies
The refinement of GMA 567
mihaig   0
an hour ago
Source: Own
Let $a_1,\ldots, a_{n}\geq0~~(n\geq4)$ be real numbers such that
$$\sum_{i=1}^{n}{a_i^2}+(n^2-3n+1)\prod_{i=1}^{n}{a_i}\geq(n-1)^2.$$Prove
$$\left(\sum_{i=1}^{n}{a_i}\right)^2+\frac{2n-1}{(n-1)^3}\cdot\sum_{1\leq i<j\leq n}{\left(a_i-a_j\right)^2}\geq n^2.$$
0 replies
mihaig
an hour ago
0 replies
No more topics!
IMO ShortList 2001, combinatorics problem 4
orl   13
N Jun 2, 2025 by Aiden-1089
Source: IMO ShortList 2001, combinatorics problem 4
A set of three nonnegative integers $\{x,y,z\}$ with $x < y < z$ is called historic if $\{z-y,y-x\} = \{1776,2001\}$. Show that the set of all nonnegative integers can be written as the union of pairwise disjoint historic sets.
13 replies
orl
Sep 30, 2004
Aiden-1089
Jun 2, 2025
IMO ShortList 2001, combinatorics problem 4
G H J
Source: IMO ShortList 2001, combinatorics problem 4
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
orl
3647 posts
#1 • 5 Y
Y by narutomath96, Adventure10, ImSh95, Mango247, ohhh
A set of three nonnegative integers $\{x,y,z\}$ with $x < y < z$ is called historic if $\{z-y,y-x\} = \{1776,2001\}$. Show that the set of all nonnegative integers can be written as the union of pairwise disjoint historic sets.
Attachments:
This post has been edited 2 times. Last edited by orl, Oct 25, 2004, 12:12 AM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
orl
3647 posts
#2 • 3 Y
Y by Adventure10, ImSh95, Mango247
Please post your solutions. This is just a solution template to write up your solutions in a nice way and formatted in LaTeX. But maybe your solution is so well written that this is not required finally. For more information and instructions regarding the ISL/ILL problems please look here: introduction for the IMO ShortList/LongList project and regardingsolutions :)
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
jgao
82 posts
#3 • 3 Y
Y by Adventure10, ImSh95, Mango247
Anyone with a solution
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Ilthigore
315 posts
#4 • 5 Y
Y by narutomath96, DCMaths, ImSh95, Adventure10, Mango247
Just do it.

We partition the nonnegative integers into three sets X, Y and Z by taking disjoint historic triples {x,y,z} x<y<z and putting x into X, y into Y and z into Z according to a simple algorithm. We also keep track of a set S which is the set of nonnegative integers not yet in X,Y or Z. The algorithm is as follows:

i) Take the least element of S, x, and put it into X (so remove it from S). We also put x+1776+2001 into Z.
ii) If x+1776 is in S, we put it into Y. If x+1776 is no longer in S, we put x+2001 into Y instead.
iii) Return to step (i), having removed another historic triple from S.

Since we keep taking the least remaining element of S, it is clear that if such an algorithm succeeds, we have put every integer into precisely one of X,Y and Z once, which is equivalent to having partitioned the integers into historic triples.

Step (i) will clearly succeed, because x is in S by definition, and x+1776+2001 must be in S, as it cannot yet be in X (being bigger than x), or Y (being bigger than x+2001) and can only be put into Z by this value of x.

Step (ii) must also succeed. Suppose it doesn't (noting that for x<1776 it will obviously always work). Then x+2001 must be in Z. But this implies that x-1776 was placed into at some point X. At the time this happened, x should have been placed into Y, but by virtue of its being in S, it isn't already in Y, so this is a contradiction. Thus step (ii) succeeds also, and the algorithm works.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
ABCDE
1963 posts
#5 • 3 Y
Y by ImSh95, Adventure10, Mango247
We use the following algorithm: Let $a$ be the smallest integer that has not been put in a set. If $a+1776$ has not been put in a set make the set $\{a,a+1776,a+3777\}$ and otherwise make the set $\{a,a+2001,a+3777\}$. Suppose that this fails at some point and we can make neither of those sets. This would mean that $a+2001$ was already in a set. It cannot be the least element of a set because otherwise we would have made a set with $a$ as the least element instead when we first put $a+2001$ in a set. If $a+2001$ is the middle element of a set then the least element has to be $a+225$ since $a$ is not in a set yet, but this would be the same contradiction as $a+2001$ being the least element. This means that $a+2001$ is the largest element of its set, so the least element would be $a-1776$. But then we would have made our middle element $a$, a contradiction. Hence, this algorithm works and we are done.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
EulersTurban
386 posts
#6 • 1 Y
Y by ImSh95
So obviously we are going to have two types of historic sets:
$$\{x,1776+x,3777+x\} \; (I)$$$$\{x,2001+x,3777+x\} \; (II)$$so obviously we don't want to end up in a situation such that all the points except one in the set of $\mathbb{Z}_{\geq 0}$ are covered at all.So we need to devise an algorithm such that we don't get into that position.

Algorithm
The algorithm, takes the smallest number now covered by any of the sets. Use type $I$ if possible, if not then use $II$.
To prove that this works we use contradiction.
Suppose this fails, so let $x_i$ be the $i$-th turn.We say that the algorithm has failed on the $(n+1)$-th turn. Where it failed must have been at $x_{n+1}+2001$ or $x_{n+1}+1776$, since $x_{n+1}+3777$ hasn't been covered at all.Furthermore $x_{n+1}+b$ must have been the largest members of their respected set.So by backtracking we have that:
$$x_{n+1}+2001-3777=x_{n+1}-1776 \; - \; \text{minimal element of set}$$But notice how then $x_{n+1}$ would have been covered by our algorithm.Thus a contradiction is taking place here.
For the case of $x_{n+1}+1776$, we also get a contradiction.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
mathleticguyyy
3216 posts
#7 • 2 Y
Y by centslordm, ImSh95
Needless to say, the flavortext didn't age well.

Call an element clogged if it's in a historic set and unclogged otherwise. We use a greedy algorithm, where on the $i$th step, we construct a new historic set $H_i$ with $x$ as the smallest unclogged element, $y$ as $x+1776$ if it's unclogged and $x+2001$ otherwise, and $z=x+3777$. I claim that it will not terminate.

Suppose FTSOC that on some turn, both $x+1776$ and $x+2001$ are clogged. Note that $x+2001$ must be a $z$ element by size, which means that either $x$ or $x+2021-1776$ is clogged as an $y$ element. The former is obviously impossible, and in the latter case, $x$ must have been clogged in the first place.
This post has been edited 2 times. Last edited by mathleticguyyy, Dec 13, 2021, 2:06 AM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
awesomeming327.
1784 posts
#8 • 1 Y
Y by ImSh95
Let $1776=a,2001=b$. Consider the following algorithm: consider a set $S$. Let $m$ be the smallest nonnegative integer not in $S$, then let $S$ be $S\cup \{m,m+a,m+a+b\}$ whenever possible, and let $S$ be $S\cup\{m,m+b,m+a+b\}$ if not possible, and we call $m$ an operator.

We claim that every point, one of the two historic sets above will be available. First, we take care of $m+a+b.$ Note that if $m+a+b$ is in the set, then there must've been an operator that is at least $m$. However, that raises a contradiction because if a number larger than $m$ is used as an operator, then by then $m$ must have been in $S$ already, but now that we are using $m$ as an operator, $m$ must not have been in $S$.

Now, if $m+a$ is unavailable, then either $m+a-b$ was an operator before or $m-b$ was an operator before. If $m+b$ is unavailable, then $m-a$ was an operator before. Since $m$ is currently being used as an operator, the historic set associated with $m-a$ is $\{m-a,m+b-a,m+b\}$, but the set with $m+b-a$ is only used when $m$ is unavailable! Obviously this cannot be the case, so we're done.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
cj13609517288
1939 posts
#9 • 2 Y
Y by ImSh95, Mango247
We provide an algorithm that generates sets that cover any nonnegative integer eventually. Call a historic set an $\alpha$ set if $y-x=1776$ and $z-y=2001$. Similarly, call a historic set a $\beta$ set if $y-x=2001$ and $z-y=1776$.

Our algorithm first covers $0$ with an $\alpha$ set, then repeatedly tries to cover the lowest uncovered number with the same type of set until the $x$ of the new set has to be more than one greater than the $x$ of the previous set, then it switches to the other type of set. If at one point, the lowest uncovered number is greater than any covered number, restart by covering the lowest uncovered number with an $\alpha$ set.

Now, we will prove that our algorithm works. When the first $1776$ $\alpha$ sets are made, there will be a gap between the largest $y$ and the smallest $z$. When we start to use the $\beta$ sets, note how the previously largest $y$ and the previously largest $z$ are now one-upped by the $x$ and $y$ in the new $\beta$ set. This continues until a new gap is formed between the largest $y$ and the smallest $z$, and the algorithm is continued. If at any point the gap doesn't exist anymore, we can simply restart the algorithm. Now, we note that the $x$ and $z$ cannot possibly clash($z$ is supposed to always be $1776+2001$ above $x$ which increases every time), and $y$ cannot clash because it one-ups the previous largest $z$. QED.
This post has been edited 2 times. Last edited by cj13609517288, Nov 16, 2022, 6:35 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
programmeruser
2455 posts
#10 • 1 Y
Y by ImSh95
Note that a historic set is either in the form $\{x, x+1776, x+1776+2001\}$ (which we will call a 1776 set) or $\{x, x+2001, x+1776+2001\}$ (a 2001 set).

We can use the following algorithm to achieve this task:
We let $x$ be the smallest number not yet covered. If none of the numbers in the 1776 set have been covered already, then we use a 1776 set, otherwise we use a 2001 set.

Now we prove that this algorithm works. We prove that if the 1776 set does not work, then the 2001 set will always work.
Assume for the sake of contradiction that the 2001 set does not work.
Clearly the $x$ element can't have already been covered.
If the $x+1776+2001$ element has been covered, then that means that on some previous step, we either used the 1776 set on $x+2001$ or the 2001 set on $x+1776$. However, this is impossible as $x < x+1776 < x+2001$.
If the $x+2001$ has already been covered, then either we used the 1776 set on $x+2001-1776$, or we used any set on $x-1776$. Clearly the first one is impossible as $x+2001-1776>x$. Now we consider the second case. If we used the 1776 set on $x-1776$, then it would imply that we would have already covered $x$, a contradiction. If we used the 2001 set, then that means that some element in the 1776 set was already covered. If $x+2001$ was already covered, then this implies that $x$ was already covered, contradiction. Otherwise, this implies that $x$ was already covered, another contradiction.

Therefore, a situation where both sets don't work, and the algorithm always works. $\square$
This post has been edited 1 time. Last edited by programmeruser, Jan 31, 2023, 12:22 AM
Reason: add extra newline
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
awesomehuman
499 posts
#11 • 1 Y
Y by ImSh95
We claim that using the following algorithm we can cover the postive integers:
-Find the lowest positive integer $x$ that hasn't already been covered.
-Let $y$ be the lowest if $x+1776$ and $x+2001$ that isn't covered.
-Let $z$ be $x+3777$.
-Then, add the triple $\{x, y, z\}$.

Assume towards a contradiction $x+2001$ is already covered. It can't be the 1st number in its triplet, since it's higher than $x$ and the triplets are added in strictly increasing order based on the 1st number. For the same reason, it can't be the 2nd number in its triplet. So, it is the third in its triplet. The first must be 1776. However, then, because $x$ has not yet been covered, when this triplet was created, $x$ would've been made the 2nd number, a contradiction. So, the 2nd step must be possible.

By similar logic, if $x+3777$ is already covered, then it must be the 3rd in its triplet. However, then $x$ would be the first, a contradiction.

So, we can continue this procedure indefinitely and cover the positive integers. We can flip it to cover the nonpositive integers. So, we can cover all integers.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
huashiliao2020
1292 posts
#12 • 1 Y
Y by ImSh95
dont like bashy stuff like this
silly from the aime

x,y,z=x (call it 1st element),x+{1776 or 2001} (second elements, where 1776 or 2001 is two options), x+1776+2001
Clearly the optimal strategy is to cover the smaller numbers (because why would you skip and go to larger? That just plugs your historic sets possible)
Now we show that the algorithm choosing the smallest number not used and use the set with smaller sum if possible, use the larger if not. We prove that this works. Suppose at x_n you cannot cover it. This means either both of the second elements are covered or the largest is. Clearly the largest is not by our algorithm of doing small first, so both x+1776 and x+2001 must be covered. x+2001 must be the largest number in its set (it can't be n+1776, and can't be n), hence the smallest number in this set must be x+2001-2001-1776. However, x_n is not covered, hence x_n-1776,x_n,x_n+2001 must have been used (smaller set). Hence, contradiction. $\blacksquare$
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Maximilian113
592 posts
#13
Y by
Replace $1776$ and $2001$ with any positive integers $a, b$ with $a<b.$ Note that historic sets would be of the form $\{ x, x+a, x+a+b \}$ or $\{x, x+b, x+a+b\}.$ We use the greedy algorithm, where we operate on the smallest nonnegative integer $k$ not yet covered. If $k+a$ is not yet covered, we use the former set, otherwise we use the latter.

It suffices to show that with this algorithm, no number is covered more than once. For the sake of a contradiction, assume that at some point $\ell$ is the smallest number not covered, but $\ell+a, \ell+b$ are already covered. Assume that this is the first occurence of such a situation. Observe that $\ell+a+b$ cannot be covered as it is larger than any $\ell_i+a+b$ covered previously. $\ell+a, \ell+b$ must not have been the smallest numbers in their sets as they are both larger than $\ell,$ so $\ell+a$ must have been covered with $\{\ell-b, \ell+a-b, \ell+a\}, \{\ell+a-b, \ell+a, \ell+2a\},$ while $\ell+b$ was covered along with $\{\ell-a, \ell+b-a, \ell+b\}, \{\ell+b-a, \ell+b, \ell+2b\}.$ For this the latter cannot occur as $\ell+b-a > \ell,$ so $\{\ell-a, \ell+b-a, \ell+b\}$ must occur. But this overlaps with any of the first two historic sets, contradiction. Hence the algorithm works. QED
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Aiden-1089
349 posts
#14 • 1 Y
Y by lightsynth123
Consider the following algorithm to "cover" all nonnegative integers:
Let $n$ be the smallest "uncovered" nonnegative integer. If $n+1776$ is uncovered, choose the set $\{n, n+1776, n+3777 \}$; otherwise, choose the set $\{n, n+2001, n+3777 \}$.

We prove that this works. We need to show that $n+3777$ must be uncovered, and at least one of $\{n+1776, n+2001 \}$ is uncovered.

Assume $n+3777$ is covered, and consider the set that it is in. Clearly it cannot be the smallest element in the set since $n$ is not yet covered, and it cannot be the largest element in the set or it would contain $n$. But if it is the middle element, the smallest element must be $n+1776$ or $n+2001$ which is again not possible.

Now assume both $n+1776, n+2001$ are covered. It is easy to see that the set covering $n+2001$ must be $\{n-1776, n+225, n+2001 \}$. But i this case, the set of the form $\{m, m+2001, m+3777 \}$ is chosen, meaning that $n-1776+1776=n$ is covered, which is not true.

Hence the algorithm works. $\square$
Z K Y
N Quick Reply
G
H
=
a