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

G
Topic
First Poster
Last Poster
k a April Highlights and 2025 AoPS Online Class Information
jlacosta   0
Apr 2, 2025
Spring is in full swing and summer is right around the corner, what are your plans? At AoPS Online our schedule has new classes starting now through July, so be sure to keep your skills sharp and be prepared for the Fall school year! Check out the schedule of upcoming classes below.

WOOT early bird pricing is in effect, don’t miss out! If you took MathWOOT Level 2 last year, no worries, it is all new problems this year! Our Worldwide Online Olympiad Training program is for high school level competitors. AoPS designed these courses to help our top students get the deep focus they need to succeed in their specific competition goals. Check out the details at this link for all our WOOT programs in math, computer science, chemistry, and physics.

Looking for summer camps in math and language arts? Be sure to check out the video-based summer camps offered at the Virtual Campus that are 2- to 4-weeks in duration. There are middle and high school competition math camps as well as Math Beasts camps that review key topics coupled with fun explorations covering areas such as graph theory (Math Beasts Camp 6), cryptography (Math Beasts Camp 7-8), and topology (Math Beasts Camp 8-9)!

Be sure to mark your calendars for the following events:
[list][*]April 3rd (Webinar), 4pm PT/7:00pm ET, Learning with AoPS: Perspectives from a Parent, Math Camp Instructor, and University Professor
[*]April 8th (Math Jam), 4:30pm PT/7:30pm ET, 2025 MATHCOUNTS State Discussion
April 9th (Webinar), 4:00pm PT/7:00pm ET, Learn about Video-based Summer Camps at the Virtual Campus
[*]April 10th (Math Jam), 4:30pm PT/7:30pm ET, 2025 MathILy and MathILy-Er Math Jam: Multibackwards Numbers
[*]April 22nd (Webinar), 4:00pm PT/7:00pm ET, Competitive Programming at AoPS (USACO).[/list]
Our full course list for upcoming classes is below:
All classes run 7:30pm-8:45pm ET/4:30pm - 5:45pm PT unless otherwise noted.

Introductory: Grades 5-10

Prealgebra 1 Self-Paced

Prealgebra 1
Sunday, Apr 13 - Aug 10
Tuesday, May 13 - Aug 26
Thursday, May 29 - Sep 11
Sunday, Jun 15 - Oct 12
Monday, Jun 30 - Oct 20
Wednesday, Jul 16 - Oct 29

Prealgebra 2 Self-Paced

Prealgebra 2
Sunday, Apr 13 - Aug 10
Wednesday, May 7 - Aug 20
Monday, Jun 2 - Sep 22
Sunday, Jun 29 - Oct 26
Friday, Jul 25 - Nov 21

Introduction to Algebra A Self-Paced

Introduction to Algebra A
Monday, Apr 7 - Jul 28
Sunday, May 11 - Sep 14 (1:00 - 2:30 pm ET/10:00 - 11:30 am PT)
Wednesday, May 14 - Aug 27
Friday, May 30 - Sep 26
Monday, Jun 2 - Sep 22
Sunday, Jun 15 - Oct 12
Thursday, Jun 26 - Oct 9
Tuesday, Jul 15 - Oct 28

Introduction to Counting & Probability Self-Paced

Introduction to Counting & Probability
Wednesday, Apr 16 - Jul 2
Thursday, May 15 - Jul 31
Sunday, Jun 1 - Aug 24
Thursday, Jun 12 - Aug 28
Wednesday, Jul 9 - Sep 24
Sunday, Jul 27 - Oct 19

Introduction to Number Theory
Thursday, Apr 17 - Jul 3
Friday, May 9 - Aug 1
Wednesday, May 21 - Aug 6
Monday, Jun 9 - Aug 25
Sunday, Jun 15 - Sep 14
Tuesday, Jul 15 - Sep 30

Introduction to Algebra B Self-Paced

Introduction to Algebra B
Wednesday, Apr 16 - Jul 30
Tuesday, May 6 - Aug 19
Wednesday, Jun 4 - Sep 17
Sunday, Jun 22 - Oct 19
Friday, Jul 18 - Nov 14

Introduction to Geometry
Wednesday, Apr 23 - Oct 1
Sunday, May 11 - Nov 9
Tuesday, May 20 - Oct 28
Monday, Jun 16 - Dec 8
Friday, Jun 20 - Jan 9
Sunday, Jun 29 - Jan 11
Monday, Jul 14 - Jan 19

Intermediate: Grades 8-12

Intermediate Algebra
Monday, Apr 21 - Oct 13
Sunday, Jun 1 - Nov 23
Tuesday, Jun 10 - Nov 18
Wednesday, Jun 25 - Dec 10
Sunday, Jul 13 - Jan 18
Thursday, Jul 24 - Jan 22

Intermediate Counting & Probability
Wednesday, May 21 - Sep 17
Sunday, Jun 22 - Nov 2

Intermediate Number Theory
Friday, Apr 11 - Jun 27
Sunday, Jun 1 - Aug 24
Wednesday, Jun 18 - Sep 3

Precalculus
Wednesday, Apr 9 - Sep 3
Friday, May 16 - Oct 24
Sunday, Jun 1 - Nov 9
Monday, Jun 30 - Dec 8

Advanced: Grades 9-12

Olympiad Geometry
Tuesday, Jun 10 - Aug 26

Calculus
Tuesday, May 27 - Nov 11
Wednesday, Jun 25 - Dec 17

Group Theory
Thursday, Jun 12 - Sep 11

Contest Preparation: Grades 6-12

MATHCOUNTS/AMC 8 Basics
Wednesday, Apr 16 - Jul 2
Friday, May 23 - Aug 15
Monday, Jun 2 - Aug 18
Thursday, Jun 12 - Aug 28
Sunday, Jun 22 - Sep 21
Tues & Thurs, Jul 8 - Aug 14 (meets twice a week!)

MATHCOUNTS/AMC 8 Advanced
Friday, Apr 11 - Jun 27
Sunday, May 11 - Aug 10
Tuesday, May 27 - Aug 12
Wednesday, Jun 11 - Aug 27
Sunday, Jun 22 - Sep 21
Tues & Thurs, Jul 8 - Aug 14 (meets twice a week!)

AMC 10 Problem Series
Friday, May 9 - Aug 1
Sunday, Jun 1 - Aug 24
Thursday, Jun 12 - Aug 28
Tuesday, Jun 17 - Sep 2
Sunday, Jun 22 - Sep 21 (1:00 - 2:30 pm ET/10:00 - 11:30 am PT)
Monday, Jun 23 - Sep 15
Tues & Thurs, Jul 8 - Aug 14 (meets twice a week!)

AMC 10 Final Fives
Sunday, May 11 - Jun 8
Tuesday, May 27 - Jun 17
Monday, Jun 30 - Jul 21

AMC 12 Problem Series
Tuesday, May 27 - Aug 12
Thursday, Jun 12 - Aug 28
Sunday, Jun 22 - Sep 21
Wednesday, Aug 6 - Oct 22

AMC 12 Final Fives
Sunday, May 18 - Jun 15

F=ma Problem Series
Wednesday, Jun 11 - Aug 27

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, May 22 - Aug 7
Sunday, Jun 15 - Sep 14 (1:00 - 2:30 pm ET/10:00 - 11:30 am PT)
Tuesday, Jun 17 - Sep 2
Monday, Jun 30 - Sep 22

Intermediate Programming with Python
Sunday, Jun 1 - Aug 24
Monday, Jun 30 - Sep 22

USACO Bronze Problem Series
Tuesday, May 13 - Jul 29
Sunday, Jun 22 - Sep 1

Physics

Introduction to Physics
Wednesday, May 21 - Aug 6
Sunday, Jun 15 - Sep 14
Monday, Jun 23 - Sep 15

Physics 1: Mechanics
Thursday, May 22 - Oct 30
Monday, Jun 23 - Dec 15

Relativity
Sat & Sun, Apr 26 - Apr 27 (4:00 - 7:00 pm ET/1:00 - 4:00pm PT)
Mon, Tue, Wed & Thurs, Jun 23 - Jun 26 (meets every day of the week!)
0 replies
jlacosta
Apr 2, 2025
0 replies
k i Adding contests to the Contest Collections
dcouchman   1
N Apr 5, 2023 by v_Enhance
Want to help AoPS remain a valuable Olympiad resource? Help us add contests to AoPS's Contest Collections.

Find instructions and a list of contests to add here: https://artofproblemsolving.com/community/c40244h1064480_contests_to_add
1 reply
dcouchman
Sep 9, 2019
v_Enhance
Apr 5, 2023
k i Zero tolerance
ZetaX   49
N May 4, 2019 by NoDealsHere
Source: Use your common sense! (enough is enough)
Some users don't want to learn, some other simply ignore advises.
But please follow the following guideline:


To make it short: ALWAYS USE YOUR COMMON SENSE IF POSTING!
If you don't have common sense, don't post.


More specifically:

For new threads:


a) Good, meaningful title:
The title has to say what the problem is about in best way possible.
If that title occured already, it's definitely bad. And contest names aren't good either.
That's in fact a requirement for being able to search old problems.

Examples:
Bad titles:
- "Hard"/"Medium"/"Easy" (if you find it so cool how hard/easy it is, tell it in the post and use a title that tells us the problem)
- "Number Theory" (hey guy, guess why this forum's named that way¿ and is it the only such problem on earth¿)
- "Fibonacci" (there are millions of Fibonacci problems out there, all posted and named the same...)
- "Chinese TST 2003" (does this say anything about the problem¿)
Good titles:
- "On divisors of a³+2b³+4c³-6abc"
- "Number of solutions to x²+y²=6z²"
- "Fibonacci numbers are never squares"


b) Use search function:
Before posting a "new" problem spend at least two, better five, minutes to look if this problem was posted before. If it was, don't repost it. If you have anything important to say on topic, post it in one of the older threads.
If the thread is locked cause of this, use search function.

Update (by Amir Hossein). The best way to search for two keywords in AoPS is to input
[code]+"first keyword" +"second keyword"[/code]
so that any post containing both strings "first word" and "second form".


c) Good problem statement:
Some recent really bad post was:
[quote]$lim_{n\to 1}^{+\infty}\frac{1}{n}-lnn$[/quote]
It contains no question and no answer.
If you do this, too, you are on the best way to get your thread deleted. Write everything clearly, define where your variables come from (and define the "natural" numbers if used). Additionally read your post at least twice before submitting. After you sent it, read it again and use the Edit-Button if necessary to correct errors.


For answers to already existing threads:


d) Of any interest and with content:
Don't post things that are more trivial than completely obvious. For example, if the question is to solve $x^{3}+y^{3}=z^{3}$, do not answer with "$x=y=z=0$ is a solution" only. Either you post any kind of proof or at least something unexpected (like "$x=1337, y=481, z=42$ is the smallest solution). Someone that does not see that $x=y=z=0$ is a solution of the above without your post is completely wrong here, this is an IMO-level forum.
Similar, posting "I have solved this problem" but not posting anything else is not welcome; it even looks that you just want to show off what a genius you are.

e) Well written and checked answers:
Like c) for new threads, check your solutions at least twice for mistakes. And after sending, read it again and use the Edit-Button if necessary to correct errors.



To repeat it: ALWAYS USE YOUR COMMON SENSE IF POSTING!


Everything definitely out of range of common sense will be locked or deleted (exept for new users having less than about 42 posts, they are newbies and need/get some time to learn).

The above rules will be applied from next monday (5. march of 2007).
Feel free to discuss on this here.
49 replies
ZetaX
Feb 27, 2007
NoDealsHere
May 4, 2019
Sum and product of 5 numbers
jl_   1
N 2 minutes ago by jl_
Source: Malaysia IMONST 2 2023 (Primary) P2
Ivan bought $50$ cats consisting of five different breeds. He records the number of cats of each breed and after multiplying these five numbers he obtains the number $100000$. How many cats of each breed does he have?
1 reply
jl_
3 hours ago
jl_
2 minutes ago
Interesting inequalities
sqing   3
N 5 minutes ago by sqing
Source: Own
Let $ a,b> 0 $ and $ a+b\leq  2ab . $ Prove that
$$\frac{ 9a^2- ab +9b^2 }{ a^2(1+b^4)}\leq\frac{17 }{2}$$$$\frac{a- ab+b }{ a^2(1+b^4)}\leq\frac{1 }{2}$$$$\frac{2a- 3ab+2b }{ a^2(1+b^4)}\leq\frac{1 }{2}$$
3 replies
sqing
4 hours ago
sqing
5 minutes ago
a+b+c=2 ine
KhuongTrang   30
N 9 minutes ago by KhuongTrang
Source: own
Problem. Given non-negative real numbers $a,b,c: ab+bc+ca>0$ satisfying $a+b+c=2.$ Prove that $$\color{blue}{\frac{a}{\sqrt{2a+3bc}}+\frac{b}{\sqrt{2b+3ca}}+\frac{c}{\sqrt{2c+3ab}} \le \sqrt{\frac{2}{ab+bc+ca}}. }$$
30 replies
KhuongTrang
Jun 25, 2024
KhuongTrang
9 minutes ago
Divisibility holds for all naturals
XbenX   12
N 36 minutes ago by Null314
Source: 2018 Balkan MO Shortlist N5
Let $x,y$ be positive integers. If for each positive integer $n$ we have that $$(ny)^2+1\mid x^{\varphi(n)}-1.$$Prove that $x=1$.

(Silouanos Brazitikos, Greece)
12 replies
XbenX
May 22, 2019
Null314
36 minutes ago
2021 EGMO P1: {m, 2m+1, 3m} is fantabulous
anser   55
N an hour ago by NicoN9
Source: 2021 EGMO P1
The number 2021 is fantabulous. For any positive integer $m$, if any element of the set $\{m, 2m+1, 3m\}$ is fantabulous, then all the elements are fantabulous. Does it follow that the number $2021^{2021}$ is fantabulous?
55 replies
anser
Apr 13, 2021
NicoN9
an hour ago
Complicated FE
XAN4   0
an hour ago
Source: own
Find all solutions for the functional equation $f(xyz)+\sum_{cyc}f(\frac{yz}x)=f(x)\cdot f(y)\cdot f(z)$, in which $f$: $\mathbb R^+\rightarrow\mathbb R^+$
Note: the solution is actually quite obvious - $f(x)=x^n+\frac1{x^n}$, but the proof is important.
Note 2: it is likely that the result can be generalized into a more advanced questions, potentially involving more bash.
0 replies
XAN4
an hour ago
0 replies
Feet of perpendiculars to diagonal in cyclic quadrilateral
jl_   1
N an hour ago by navier3072
Source: Malaysia IMONST 2 2023 (Primary) P6
Suppose $ABCD$ is a cyclic quadrilateral with $\angle ABC = \angle ADC = 90^{\circ}$. Let $E$ and $F$ be the feet of perpendiculars from $A$ and $C$ to $BD$ respectively. Prove that $BE = DF$.
1 reply
jl_
2 hours ago
navier3072
an hour ago
IMO Shortlist 2014 N5
hajimbrak   58
N an hour ago by Jupiterballs
Find all triples $(p, x, y)$ consisting of a prime number $p$ and two positive integers $x$ and $y$ such that $x^{p -1} + y$ and $x + y^ {p -1}$ are both powers of $p$.

Proposed by Belgium
58 replies
hajimbrak
Jul 11, 2015
Jupiterballs
an hour ago
Integer a_k such that b - a^n_k is divisible by k
orl   69
N an hour ago by ZZzzyy
Source: IMO Shortlist 2007, N2, Ukrainian TST 2008 Problem 10
Let $b,n > 1$ be integers. Suppose that for each $k > 1$ there exists an integer $a_k$ such that $b - a^n_k$ is divisible by $k$. Prove that $b = A^n$ for some integer $A$.

Author: Dan Brown, Canada
69 replies
orl
Jul 13, 2008
ZZzzyy
an hour ago
interesting function equation (fe) in IR
skellyrah   1
N an hour ago by CrazyInMath
Source: mine
find all function F: IR->IR such that $$ xf(f(y)) + yf(f(x)) = f(xf(y)) + f(xy) $$
1 reply
skellyrah
3 hours ago
CrazyInMath
an hour ago
Find maximum area of right triangle
jl_   1
N 2 hours ago by navier3072
Source: Malaysia IMONST 2 2023 (Primary) P4
Given a right-angled triangle with hypothenuse $2024$, find the maximal area of the triangle.
1 reply
jl_
2 hours ago
navier3072
2 hours ago
Erasing a and b and replacing them with a - b + 1
jl_   1
N 2 hours ago by maromex
Source: Malaysia IMONST 2 2023 (Primary) P5
Ruby writes the numbers $1, 2, 3, . . . , 10$ on the whiteboard. In each move, she selects two distinct numbers, $a$ and $b$, erases them, and replaces them with $a+b-1$. She repeats this process until only one number, $x$, remains. What are all the possible values of $x$?
1 reply
jl_
2 hours ago
maromex
2 hours ago
Prove that sum of 1^3+...+n^3 is a square
jl_   2
N 2 hours ago by NicoN9
Source: Malaysia IMONST 2 2023 (Primary) P1
Prove that for all positive integers $n$, $1^3 + 2^3 + 3^3 +\dots+n^3$ is a perfect square.
2 replies
jl_
3 hours ago
NicoN9
2 hours ago
x^3+y^3 is prime
jl_   2
N 2 hours ago by Jackson0423
Source: Malaysia IMONST 2 2023 (Primary) P3
Find all pairs of positive integers $(x,y)$, so that the number $x^3+y^3$ is a prime.
2 replies
jl_
2 hours ago
Jackson0423
2 hours ago
IMO 2014 Problem 5
codyj   72
N Apr 15, 2025 by math-olympiad-clown
For each positive integer $n$, the Bank of Cape Town issues coins of denomination $\frac1n$. Given a finite collection of such coins (of not necessarily different denominations) with total value at most most $99+\frac12$, prove that it is possible to split this collection into $100$ or fewer groups, such that each group has total value at most $1$.
72 replies
codyj
Jul 9, 2014
math-olympiad-clown
Apr 15, 2025
IMO 2014 Problem 5
G H J
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Shreyasharma
678 posts
#61
Y by
This seems right, wouldn't mind somebody checking though :whistling:

We generalize to $k$ containers, with total sum at most $k - \frac{1}{2}$. First, we proceed with optimization.
  • For any coins that sum to 1, place them into a container thus reducing the problem to $k - 1$ containers with a total sum at most $k - \frac{3}{2}$.
  • For any two coins of denomination $\frac{1}{2d}$, combine them into one coin with denomination $\frac{1}{d}$.
Note now there is at most one coin of form $\frac{1}{2d}$ for any $d$ and $k-1$ coins of the form $\frac{1}{k}$. Now consider placing all the coins into the containers such that the coins are grouped in the following manner:
  • $\{\frac{1}{2}, \frac{1}{3}, \dots, \frac{1}{3} \}$

  • $\{ \frac{1}{4}, \frac{1}{5}, \dots, \frac{1}{5} \}$

  • $\{\frac{1}{6}, \frac{1}{7}, \dots, \frac{1}{7}\}$,
and so on such that the last container contains coins of the form $\{\frac{1}{2k}, \frac{1}{2k+1}, \dots, \frac{1}{2k+1} \}$. It is easy to see that each box always has a group of coins that sum to less than 1. Then fill in the remaining gaps with smaller denominations. At the end of this process, let the minimal coin outside of a container have weight $\frac{1}{\alpha}$. Then the sum of denominations in the $i$-th container $C_i$, must be greater than $\frac{1}{\alpha}$ giving,
\begin{align*}
    \sum C_i > k - \frac{k}{\alpha}
\end{align*}However as $k - \frac{1}{2} > C_i$, we see that
\begin{align*}
    k - \frac{1}{2} > k - \frac{k}{\alpha} \iff 2k > \alpha,
\end{align*}a clear contradiction as we have already fit coins of this form.

Remark: Just something I noticed, this isn't exactly optimal. Similar to how we bounded coins of the form $\frac{1}{2k}$ we could extend to bounding coins of the form $\frac{1}{pk}$ for some prime $p$ though I doubt that it strengthens the bound by a lot.
This post has been edited 1 time. Last edited by Shreyasharma, Oct 27, 2023, 1:37 AM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Math4Life7
1703 posts
#62
Y by
We change all pairs of the coins of the form $\frac{1}{2n}$ to one coin of value $\frac{1}{n}$. If we have $n$ coins of value $\frac{1}{n}$ we make a coin of value $1$.

We prove the more general problem where we substitute $100$ with $x$. We make it so that we make all the $\frac{1}{1}$ coins irrelevant by decreasing our $x$. Notice that we have at most $1$ of each of the coins with even denominators and we have at most $2n$ of the coins with denominators $2n+1$.

Claim 1:
We can place all the coins from value $\frac{1}{2}, \frac{1}{3} \ldots \frac{1}{2x}$

proof:
We let each of our $x$ piles contain the $x$ numbers with even denominators ($\frac{1}{2}, \frac{1}{4} \ldots \frac{1}{2x}$). We now can see that we can also place the odd coins in their "neighboring" piles. Specifically we claim that $\frac{n-1}{2n-1} + \frac{1}{2n} + \frac{n}{2n+1} \leq 1$ this is obvious by multiplying. We can see that this proves the claim.

Claim 2:
If we cannot place a coin with denominator greater than $2n$ than our total value is above $x - \frac{1}{2}$.

proof:
Let this coin have value $\frac{1}{y}$. We need the piles to each have more than $\frac{y-1}{y}$. Specifically we need the piles to sum to at least $x \frac{y-1}{y} \leq x - \frac{1}{2}$ which obviously has size issues when $y > 2x$

Combining these claims we see the result. $\blacksquare$
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
OronSH
1729 posts
#63 • 2 Y
Y by GeoKing, megarnie
Solved in Cape Town.

We prove this in general, that a collection of coins with total value at most $x-\frac 12$ can be split into $x$ such groups. First notice that we may assume that there is at most one of each coin of denomination $\frac 1{2n},$ since replacing two of them with one of denomination $\frac 1n$ is a more restrictive version of the same problem. Similarly we assume that there are at most $k-1$ coins of denomination $\frac 1k$ when $k$ odd (we may do this for $k=1$ since it is equivalent to decreasing $x$ by $1,$ and the situation cannot happen if $x=1$ so this will work).

Now we place coins one at a time with nonincreasing denomination. Suppose that this fails for some coin with denomination $\frac 1{2n}.$ Then we have all groups have total value more than $1-\frac 1{2n},$ so the total value of coins is greater than $x-\frac {x-1}{2n}$ and thus $x-\frac{x-1}{2n} < x-\frac 12$ so simplifying gives $x > n+1.$ But now we can check that the total value of the coins placed before is less than or equal to $\frac 12+1-\frac 13+\frac 14+1-\frac 15+\cdots+1-\frac 1{2n-1}.$ This is less than $n-\frac 12$ so we must have $x-\frac x{2n}<n-\frac 12,$ but $x-\frac x{2n}=x\left(1-\frac 1{2n}\right) > (n+1)\left(1-\frac 1{2n}\right)=n-\frac 12+1-\frac 1{2n},$ contradiction.

Now suppose this fails for a coin with denomination $\frac 1{2n+1}.$ We have all groups have total value more than $1-\frac 1{2n+1},$ so the total value of coins is more than $x-\frac{x-1}{2n+1}$ and this is less than or equal to $x-\frac 12$ so we can simplify to get $x>n+\frac 32.$ Now we can see that the total value of coins placed before is less than or equal to $\frac 12+1-\frac 13+\frac 14+\cdots+\frac 1{2n}+1-\frac 2{2n+1}$ which is less than $n+\frac 12$ so we must have $x-\frac x{2n+1}<n+\frac 12$ but $x-\frac x{2n+1}=x\left(1-\frac 1{2n+1}\right)>\left(n+\frac 32\right)\left(1-\frac 1{2n+1}\right)=n+1-\frac 1{2n+1}>n+\frac 12,$ contradiction, so we are done.
This post has been edited 1 time. Last edited by OronSH, Dec 16, 2023, 2:40 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
ihatemath123
3445 posts
#64 • 2 Y
Y by OronSH, Inconsistent
If we have two coins of denomination $\frac{1}{2n}$, we merge them into one coin of denomination $\frac{1}{n}$; we can then separate the coin into two once we've allocated the piles.

Similarly, if we have $2n-1$ coins of denomination $\frac{1}{2n-1}$, we just place them all into one pile since that's extremely efficient (no leftover space).

So we may now assume we have at most one coin of denomination $\frac{1}{2n}$ and at most $2n-2$ coins of denomination $\frac{1}{2n-1}$. For $1 \leq i \leq 100$, we place all coins of denomination $\frac{1}{2i}$ and $\frac{1}{2i-1}$ in pile $i$.

We now fill in all spaces with coins of denomination $\frac{1}{201}$, $\frac{1}{202}$, etc. When we can't fill any more spaces, each pile must be at least $\frac{200}{201} > \frac{199}{200}$ in value, for a total of $\frac{199}{2} =99.5$ spent; we've used all our coins.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
naonaoaz
329 posts
#65 • 1 Y
Y by ihatemath123
Generalize $100$ to $n$. First, do the following reductions:
1. If there are two coins of denomination $\frac{1}{2k}$ for any $k \ge 1$, replace them with one coin of denomination
2. If there are $2k+1$ coins of value $\frac{1}{2k+1}$, replace them with a coin of value $1$.
If we can find a valid grouping after these reductions then we can also find one before since we can split the coins in both bullet points.

If we have a coin of denomination $1$, then we're done by induction, so assume we don't.

Now place the one (if we one) $\frac{1}{2}$ value coin into one group. Next, for all $1 \le k \le n-1$ place all $\frac{1}{2k+1}$ and $\frac{1}{2k+2}$ coins into one group. By our restrictions, this group has value at most
\[\frac{2n}{2n+1} + \frac{1}{2n+2} < 1\]Now we can just shove the rest of the coins that have value $\le \frac{1}{2n+1}$ into any group that still has room. FTSoC, assume we can't do this. Then the total value is at least
\[n \cdot \left(1-\frac{1}{2n+1}\right) > n-\frac{1}{2}\]a contradiction, which finishes the problem.
This post has been edited 1 time. Last edited by naonaoaz, Feb 25, 2024, 5:58 AM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
dolphinday
1323 posts
#66
Y by
Replace $100$ with general $k$.
Now we can make the following optimization. Assume that the Bank of Cape Town allows us to trade $2m - 1$ coins of denomination $\frac{1}{2m - 1}$ for a coin of denomination $1$ and $2$ coins of denomination $\frac{1}{2m}$ for a single coin of denomination $\frac{1}{m}$. We make this optimization repeatedly, and are left with at most $2m - 2$ coins of denomination $\frac{1}{2m - 1}$ and at most $1$ coin of denomination $\frac{1}{2m}$. Now we can set aside all coins that have denomination $1$. Place all coins of denomination $\frac{1}{2m - 1}$ and $\frac{1}{2m}$ in pile $m$ which is valid since the total value of pile $m$ is at most $\frac{2m - 2}{2m - 1} + \frac{1}{2m} < 1$.
Notice that all coins of denomination $< \frac{1}{2k}$ can be placed into groups.
If not, then we can create pre-existing groups and show that it is impossible that the coins of denomination $< \frac{1}{2k}$ cannot fit anywhere.. Then this implies that all of the groups have remaining space that is $< \frac 1 2n$ which is a contradiction since the sum of the preexisting groups would be $> n - \frac 12$, so 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.
Pyramix
419 posts
#68
Y by
Incorrect solution
This post has been edited 1 time. Last edited by Pyramix, Apr 15, 2024, 2:03 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Pyramix
419 posts
#69
Y by
Replace 100 with $n$ and $99.5$ with $n-0.5$. We induct on $n$.
Replace two coins $\frac1{2m}$ with one coin $\frac1m$. Replace $2m+1$ coins $\frac1{2m+1}$ with $1$ coin, and make separate group (this is just induction hypothesis).
Keep doing this until we cannot. At this point we have at most 1 coin with denominator is even and at most $2t$ coins if denominator = $2t+1$. Consider set $S_0$ containing the $\frac12$ coin, and $S_m$ containing all coins $\frac1{2m}$ and $\frac1{2m+1}$ for every $m<100$. Then, each set has sum at most 1. We are now left with denominations $\frac1{201},\frac1{202},$ etc. Distribute them into the sets, we can do this because the sets have sum less than 1. Suppose we are still left with some "extra" denominations. So, the "sets" each have sum as at least $1-\frac1{201}=\frac{200}{201}$. Since there are 100 such sets, we already have a total sum of $\frac{20000}{201}>\frac{199}2$, a contradiction.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
joshualiu315
2513 posts
#70
Y by
Replace $100$ with a general $n$. We will perform an algorithm on the coins as follows:
  • Exchange $2$ coins of denomination $\tfrac{1}{2k}$ for a coin of denomination $\tfrac{1}{k}$.
  • Exchange $k$ coins of denomination $\tfrac{1}{k}$ for a coin $1$.

It is obvious that if we can split the collection into $n$ groups after the algorithm, we can make the split before. Hence, we can assume that the algorithm is performed as many times as possible.

We are left with at most $2k-2$ coins of denomination $\tfrac{1}{2k-1}$ and at most $1$ coin of denomination $\tfrac{1}{2k}$. Group the above coins together, which is possible since the sum of each group can equal at most

\[\frac{2k-2}{2k-1}+\frac{1}{2k} = \frac{4k^2-2k-1}{4k^2-2k} < 1.\]
Then, for all coins with denomination less than $\tfrac{1}{2n}$, we can simply add them to groups that have room. If there is not room for such a coin, then each group has sum greater than $1-\tfrac{1}{2n}$, which implies a total sum greater than $n-\tfrac{1}{2}$, a contradiction.

Hence, we have a desired grouping. $\blacksquare$
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Mr.Sharkman
498 posts
#71
Y by
This was massively overestimated in difficulty.

We can use induction, so that, if the coin denomination of value $\frac{1}{k}$ is repeated more than $k$ times, we can simply put a whole bucket just for that coin. Also, we can take any even valued coin which is repeated more than twice, and group two of them together, so that $2$ coins of denomination $\frac{1}{2k}$ become one of denomination $\frac{1}{k}.$ Now, we have reduced the problem to showing that we can group coins with total value at most $\frac{2n+1}{2}$ into at most $n+1$ groups, where the coins of even denomination appear at most once, and the coins of denomination $2i+1$ occur at most $2i$ times.

Put the coins of denomination $2$ into the first bucket (we do not have any coins of denomination $1$). For the other buckets, put one coin of denomination $2i$ in, and all of the other coins of denomination $2i-1$ as well. Then, notice that we are left over with denominations at least $2n+1$ which cannot be stored in its own bucket, since then there would be $1$ too many buckets. These denominations can be tossed into any buckets with leftover room. Then, we can see that it is always possible to put in these last coins, since otherwise we would have more than $(k-1)+\frac{1}{2}$ in denominations. Hence, 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.
N3bula
261 posts
#72
Y by
I will prove that if we have $2n+\frac{1}{2}$ as the total value we can split it into $n$ groups of value at most $1$. Suppose we have $2$ elements $\frac{1}{2n}$, we can
treat this as one element of $\frac{1}{n}$. We can also say that we don't have $n$ elements of $\frac{1}{n}$ because we can induct from previous case that this works. Now
consider $2n$ categories labled with the odd values from $1$ to $2n$. Clearly we can put any elements of the form $m2^k$ into the category labled $m$ without exceeding $100$
elements total. Now consider the elements smaller than $\frac{1}{4n}$, suppose an element smaller than that can not be put in any category, this means the total sum of
all categories is more than $2n+\frac{1}{2}$ which is a contradicition.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Saucepan_man02
1323 posts
#73
Y by
(Replace $100$ with $N$)
Consider the following step: If sum of multiple coins sum to a number of the form $\frac{1}{n}$, then we remove all of them and add a $\frac{1}{n}$ coin.
In the current coin collection, assume that there are $d$ coins with value $1$, then we make single-ton groups with them and thus, we replace $N$ with $N-d$.

We make the number $\frac{1}{2}$ into a single-ton group.
For every $2 \le k \le N-1$, we have at-most one occurrence of $\frac{1}{2k}$ and at-most $2k$ occurrences of $\frac{1}{2k+1}$ and therefore, they sum to: $$\frac{1}{2k}+\frac{2k}{2k+1} < 1.$$Now, we claim that, for all $t \ge 2N-1$, we can freely skip it: If not, then each group has sum of at-least $1-\frac{1}{t}$ and therefore: total sum is at-least: $$\frac{N} - \frac{N-1}{t} \le N-\frac{1}{2}$$But this implies: $t \le 2N-2$, contradiction. Thus, we can place denominations of the form $\frac{1}{t}$ for all $t \ge 2N-1$ into any group which has space for it.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
cursed_tangent1434
597 posts
#74
Y by
Solved this with a concerning amount of hints. But then again, I'm bad at combinatorics and especially at local arguments in particular.

We approach this via induction. We prove the more general statement that for all $k\geq 1$, we are able to split a collection of coins of total value at most $(k-1)+\frac{1}{2}$ into $k$ groups, such that each group has a total value at most 1, for all $k\geq 0$. For $k=0$, the claim is obvious as we can simply chuck all the coins in one group.

We first conduct the following optimization. Whenever we have 2 coins of denomination $\frac{1}{2r}$ we exchange it for a coin of value $\frac{1}{r}$ and whenever we have $r$ coins of denomination $\frac{1}{r}$, we exchange it for a coin of value 1. It is easy to see that if we are able to achieve our goal after this exchange, we are most obviously able to achieve it before (simply place the smaller coins where u placed the equivalent larger coin).

Now, we place all the coins of size 1 (say there are $k$ of them) in separate boxes. Thus, we have coins of total value $(n-k)+\frac{1}{2}$ to be separated into $(n-k+1)$ groups which is guaranteed to be possible by the induction hypothesis. So, assume we have no coins of size 1 after this optimization.

In this setup, we have at most 1 coin of value $\frac{1}{2k}$ for each $k \geq 1$ and at most $2k$ coins of value $\frac{1}{2k+1}$ for each $k\geq 1$.

Algorithm : We place all coins of value $\frac{1}{2}$ in box $B_1$. For all $k\geq 2$, we then place all coins of value $\frac{1}{2k}$ and $\frac{1}{2k-1}$ in Box $B_k$.

Proof : If $S_k$ is the total value of $B_k$ in such an assignment of coins,
\[S_k \leq \frac{2k-2}{2k-1} +\frac{1}{2k} = \frac{4k^2-4k+2k-1}{4k^2-2k} = \frac{4k^2-2k-1}{4k^2-2k}<1\]Thus, we can place all coins of weights $\frac{1}{r}$ for $r\leq 2n$ using this algorithm.

Now, we have successfully placed all the coins of denominations greater than $\frac{1}{2n}$. For the rest, we perform the following greedy algorithm.

Algorithm : We pick the unplaced coin with the largest denomination ($\frac{1}{i}$-for smallest $i$) and place it in the left-most box which it can occupy (boxes are placed in the order $B_1,B_2,\dots,B_n$ from left to right).

Proof : We claim that this successfully disposes of all the other coins. Assume that we eventually get stuck. That is, there exists a coin with denomination $\frac{1}{r}$ which cannot be placed in any of the boxes. Thus, each box has total value greater than $1-\frac{1}{r}$. Thus, the sum of total assigned coins $S$ is,
\[(n-1)+\frac{1}{2}> S > n\left(1-\frac{1}{r}\right) = n - \frac{n}{r}\]which rearranges to $\frac{n}{r} < \frac{1}{2} \implies r < 2n$. But, we have already packed in coins of size $\frac{1}{r}$ for $r<2n$ and are dealing with smaller coins. Thus, this algorithm never breaks and we can reach our goal.

This means the induction is complete. Thus, it is always possible to split a finite collection of coins with total value at most $99+\frac{1}{2}$ into 100 or fewer groups, such that each group has total value at most 1, as desired.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
PEKKA
1846 posts
#75
Y by
Used an embarrassingly high number of hints. Darn.

Replace $100$ by $n.$
First, we optimize as follows: Given two coins of type $\frac{1}{2k}$ we "combine" them into a coin of type $\frac 1k.$ Given $2k+1$ coins of type $\frac{1}{2k+1}$ we combine them into one coin of type $\frac{1}{1}.$
Now we ignore all of the coins that have been combined as integers. Let the sum of the remaining coins be at most $\frac{2i-1}{i}.$ We will fit them into $i$ boxes.
In the first box we put all coins of type $\frac 12$, of which there are $1$ or less.
In the $j$th box we put the coins of type $\frac{1}{2j-1}$ and $\frac{1}{2j}.$ Of the former type there are at most $2j-2$ and of the latter type there is at most $1$ so the box has value at most $$1-\frac{1}{2j-1}+\frac{1}{2j}<1.$$Now all that remains are coins of value less than $\frac{1}{2i}.$
We perform a greedy algorithm and fit a remaining coin into any box that can fit it. I claim this fits all the coins.
FTSOC this is not true. Then each coin already fits more than $1-\frac{1}{2i+1}$ worth of coins. Over all $i$ boxes, this combines to a total value of $i-\frac{i}{2i+1}>i-\frac{1}{2}$ which is a contradiction. Q.E.D.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
math-olympiad-clown
23 posts
#76
Y by
Can I ask how much point can I get ? ChatGPT says I can got 4~5 but I think I can’t get that much. :-D
we want to prove a stronger statement: for some coins it’s total value is less than n+1/2 .
Then they can be split into n+1 sets . So the problem is just a special case for n=99.

We will do this by induction ,for n=1,we need to prove the coins total value less than 1+1/2 can be split into two sets. And that’s easy because the deviation is less than 1/2 for all sets by greedy algorithm.
next we assume that for n=2~98 all follow the induction hypothesis.Now we need to go on to n=99.
we can deduce that we only need to consider the module of k for the numbers of all coins of Denomination 1/k.
This is because if for some k there are k*a+b for such 1/k coins, then we can merge the k*a coins into a coins of denomination of 1.
We can delete these sets of coins can that leads to a case for n=2~98,which follows the induction hypothesis.
So we only need to consider the module of k for the numbers of all coins of Denomination 1/k.
Now we want to prove we can split all of the coins into two parts for all finite collection of coins with total value at most 99.5 : one has total denomination less than 1 and the other one has total value less than 98.5 ,if so ,we can easily finish the question by induction.
But I failed to prove this :wacko:
Z K Y
N Quick Reply
G
H
=
a