Join our FREE webinar on May 1st to learn about managing anxiety.

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
Easy Geometry Problem in Taiwan TST
chengbilly   7
N 35 minutes ago by L13832
Source: 2025 Taiwan TST Round 1 Independent Study 2-G
Suppose $I$ and $I_A$ are the incenter and the $A$-excenter of triangle $ABC$, respectively.
Let $M$ be the midpoint of arc $BAC$ on the circumcircle, and $D$ be the foot of the
perpendicular from $I_A$ to $BC$. The line $MI$ intersects the circumcircle again at $T$ . For
any point $X$ on the circumcircle of triangle $ABC$, let $XT$ intersect $BC$ at $Y$ . Prove
that $A, D, X, Y$ are concyclic.
7 replies
chengbilly
Mar 6, 2025
L13832
35 minutes ago
Overlapping game
Kei0923   3
N an hour ago by CrazyInMath
Source: 2023 Japan MO Finals 1
On $5\times 5$ squares, we cover the area with several S-Tetrominos (=Z-Tetrominos) along the square so that in every square, there are two or fewer tiles covering that (tiles can be overlap). Find the maximum possible number of squares covered by at least one tile.
3 replies
Kei0923
Feb 11, 2023
CrazyInMath
an hour ago
Interesting Function
Kei0923   4
N an hour ago by CrazyInMath
Source: 2024 JMO preliminary p8
Function $f:\mathbb{Z}_{\geq 0}\rightarrow\mathbb{Z}$ satisfies
$$f(m+n)^2=f(m|f(n)|)+f(n^2)$$for any non-negative integers $m$ and $n$. Determine the number of possible sets of integers $\{f(0), f(1), \dots, f(2024)\}$.
4 replies
Kei0923
Jan 9, 2024
CrazyInMath
an hour ago
Functional Geometry
GreekIdiot   1
N an hour ago by ItzsleepyXD
Source: BMO 2024 SL G7
Let $f: \pi \to \mathbb R$ be a function from the Euclidean plane to the real numbers such that $f(A)+f(B)+f(C)=f(O)+f(G)+f(H)$ for any acute triangle $\Delta ABC$ with circumcenter $O$, centroid $G$ and orthocenter $H$. Prove that $f$ is constant.
1 reply
1 viewing
GreekIdiot
Apr 27, 2025
ItzsleepyXD
an hour ago
No more topics!
Every subset of size k has sum at most N/2
orl   49
N Apr 6, 2025 by Marcus_Zhang
Source: USAMO 2006, Problem 2, proposed by Dick Gibbs
For a given positive integer $k$ find, in terms of $k$, the minimum value of $N$ for which there is a set of $2k + 1$ distinct positive integers that has sum greater than $N$ but every subset of size $k$ has sum at most $\tfrac{N}{2}.$
49 replies
orl
Apr 20, 2006
Marcus_Zhang
Apr 6, 2025
Every subset of size k has sum at most N/2
G H J
G H BBookmark kLocked kLocked NReply
Source: USAMO 2006, Problem 2, proposed by Dick Gibbs
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
brainfertilzer
1831 posts
#41
Y by
Let the set $S$ contain integers $a_1 > a_2 > \cdots > a_{2k+1}\ge 1$. Note that every subset of $S$ with size $k$ having sum at most $\tfrac{N}{2}$ is equivalent to the assertion
\[ \quad a_1 + a_2 + \dots + a_k\le \frac{N}{2}.\]Now, we have
\[ (k+1)a_k - \frac{(k+1)(k+2)}{2} = (a_k- 1) + \dots + (a_k- (k+1))\ge a_{k+1} + \dots + a_{2k+1} >  \frac{N}{2},\]and
\[ \frac{N}{2}\ge a_1 + \dots + a_k \ge a_k + (a_k + 1) + \dots + (a_k + (k-1)) =  ka_k + \frac{(k-1)k}{2}.\]It follows that
\[(k+1)a_k - \frac{(k+1)(k+2)}{2} > ka_k + \frac{(k-1)k}{2}\implies a_k > k^2 + k + 1.\]Hence,
\[ N\ge 2ka_k + k^2 - k \ge 2k(k^2 +k + 2) + k^2 - k = \boxed{2k^3 + 3k^2 + 3k}.\]A construction for this $N$ is $a_k = k^2 + k + 2$ and $a_{k + i} = k^2 + k + 2 - i$ for each $i = -k+1, \dots, k+1$.
comment
This post has been edited 1 time. Last edited by brainfertilzer, Apr 30, 2023, 10:55 PM
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
#42
Y by
Very nice problem! The answer is $N=2k^3+3k^2+3k$ with the integers $k^2+1,k^2+2,\dots,k^2+(2k+1)$. WLOG $x_1<x_2<\dots<x_{2k+1}$. The key is to see that $$x_i\le x_{i+k}+k\implies x_2+x_3+\dots+x_{k+1}+k^2\le x_{k+2}+x_{k+3}+\dots+x_{2k+1}\le\frac N2$$$$\implies N-x_1<(x_2+x_3+\dots+x_{k+1})+(x_{k+2}+\dots+x_{2k+1})\le\frac N2-k^2+\frac N2\le N-k^2.$$$$\implies x_1>k^2\implies N\ge (k^2+1)+(k^2+2)+\dots+(k^2+2k+1)=2k^3+3k^2+3k.\blacksquare$$
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
kamatadu
478 posts
#43 • 1 Y
Y by HoripodoKrishno
I claim that the value of $N=k(2k^2+3k+3)$ works. First we prove the bound, then we give the construction.

Firstly, $a_1,a_2,\ldots a_{2k+1}$ denote the elements of the set that satisfy the problem conditions. Also, WLOG let $a_1\ge a_2\ge \cdots\ge a_{2k+1}$. Now note that the condition for the sum of every subset of size $k$ being most $\dfrac{N}{2}$ is equivalent to $a_1+a_2+\cdots+a_k\le \dfrac{N}{2}$ due to the ordering we imposed. Now from this bound, we have that $\dfrac{N}{2}\ge a_1+\cdots+a_k\ge (a_k+(k-1))+(a_k+(k-2))+\cdots+(a_k)=ka_k+\dfrac{(k-1)k}{2}\implies a_k\le \dfrac{N-k^2+k}{2k}$. We also had that the sum was greater than $N$ which gives the following.
\begin{align*}
    N&<a_1+a_2+\cdots+a_k+a_{k+1}+a_{k+2}+\cdots+a_{2k+1}\\
&\le (a_1+a_2+\cdots+a_k)+(a_k-1)+(a_k-2)+\cdots+(a_k-(k+1))\\
    &\le \dfrac{N}{2}+(k+1)a_k - \dfrac{(k+1)(k+2)}{2}  
.\end{align*}
Now finally using the bound we got for $a_k$ that we got earlier with our current bound (along with some painful algebraic calculations), we get that $N\ge k(2k^2+3k+3)$. So this proves our minimality. Now we provide the construction.

Consider the following sequence.\[k^2+1,k^2+2,\ldots,k^2+2k+1.\]We can check that this actually satisfies our condition and we are done. :stretcher:
This post has been edited 1 time. Last edited by kamatadu, Aug 15, 2023, 4:13 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
eibc
600 posts
#45
Y by
The answer is $\boxed{N = 2k^3 + 3k^2 + 3k}$. This can be achieved with the set $\{k^2 + 1, k^2 + 2, \ldots, k^2 + 2k + 1\}$. We will now show this is is indeed the minimal $N$.

Claim: The minimum $N$ occurs when all of the elements of the set are consecutive.
Proof: Let $x_1 < x_2 < \cdots < x_{2k + 1}$ be the elements of a set satisfying the condition, i.e. there is some (not necessarily minimal) $N'$ such that $x_1 + x_2 + \cdots + x_{2k + 1} > N'$ and $x_{k + 2} + x_{k + 3} + \cdots + x_{2k + 1} \le \tfrac{N'}{2}$. Let $d_1 = x_2 - x_1, d_2 = x_3 - x_2, \ldots, d_{2k} = x_{2k + 1} - x_{2k}$. Note that $d_1, d_2, \ldots, d_{2k} \ge 1$. If $d_i > 1$ for some $i$, then consider when happens when we shift $x_{i + 1}, x_{i + 2}, \ldots, x_{2k + 1}$ down by $d_i - 1$. We see that:
  • If $i \ge k + 1$, then the sum of the $k$ largest elements and the sum of all of the elements both decrease by $(d_i - 1)(2k + 1 - i)$. Since $\tfrac{N'}{2} - (d_i - 1)(2k + 1 - i) < \tfrac{1}{2}(N' - (d_i - 1)(2k + 1 - i))$, this new set still satisfies the conditions
  • If $i \le k$, then the sum of the $k$ largest elements decreases by $(d_i - 1)k$, while the sum of all elements decreases by $(d_i - 1)(2k + 1 - i)$. But $\tfrac{N'}{2} - (d_i - 1)k < \tfrac{1}{2}(N' - (d_i - 1)(2k + 1 - i))$, so this new set also satisfies the condition.
Therefore, we can see in order to achieve the minimal $N$, all of the differences have to be $1$, which proves the claim.

Thus, we can now set $x_i = x_1 + i - 1$ for $2 \le i \le 2k + 1$. Then we get
$$(x_1 + k + 1) + (x_1 + k + 2) + \cdots + (x_1 + 2k) \le \tfrac{N}{2} < \tfrac{1}{2}(x_1 + (x_1 + 1) + \cdots + (x_1 + 2k)).$$This simplifies to $x_1 > k^2$, so $N \ge 2((k^2 + k + 2) + (k^2 + k + 3) + \cdots + (k^2 + 2k + 1)) = 2k^3 + 3k^2 + 3k$, as desired.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
joshualiu315
2533 posts
#46
Y by
The answer is $N = \boxed{2k^3+3k^2+3k}$, which can be achieved with the set $\{k^2+1, k^2+2, \dots, k^2+2k+1\}$.

WLOG let $x_1<x_2<\dots<x_{2k+1}$. Notice

\[x_i + k \le x_{i+k} \implies \sum_{i=2}^{k+1} x_i+k^2 \le \sum_{i=k+2}^{2k+1} x_i \le N/2\]\[\implies N-x_1< (N/2-k^2)+N/2 = N-k^2.\]
Hence, $x_1>k^2$, so by setting $x_1=k^2+1$, and taking the rest as consecutive integers, we show that $2k^3+3k^2+3k$ is the minimum.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
lelouchvigeo
181 posts
#47
Y by
Easy question
Answer
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Shreyasharma
680 posts
#48
Y by
Based upon smaller cases we conjecture that we need consecutive integers. Thus we want to make use of the inequality $x_i + 1 \leq x_{i+1}$ due to the sharpness principle, and force equality to hold.

Order the list in increasing order and denote the smallest element by $x_0$ and for all other elements, represent them as $x_i = x_0 + c_i$. Then,
\begin{align*}
kx_0 + \sum_{i = k+1}^{2k} c_i &\leq \frac{N}{2}\\
(2k+1)x_0 + \sum_{i=1}^{2k} c_i &> N
\end{align*}Then subtracting twice of the first equation from the second we find,
\begin{align*}
x_0 &> \sum_{i=1}^k (c_{k+i} + c_i) > \sum_{i=1}^{k} k = k^2
\end{align*}Thus $x_0$ is at least $k^2 + 1$. Then $N$ satisfies,
\begin{align*}
\frac{N}{2} &\geq k \cdot (k^2+1) + \sum_{i=k+1}^{2k} i\\
\iff N &\geq 2k^3 + 3k^2 + 3k
\end{align*}Thus we must have $\boxed{N \geq 2k^3 + 3k^2 + 3k}$. It is easy to see that when equality holds, it works 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.
shendrew7
794 posts
#49
Y by
Our desired condition is equivalent to
\begin{align*}
&a_1 + a_2 + \ldots + a_{k+1} > a_{k+2} + a_{k+3} + \ldots + a_{2k+1} \\
\implies &a_1 > (a_{k+2}-a_2) + (a_{k+3}-a_3) + \ldots + (a_{2k+1}-a_{k+1}) \ge k^2.
\end{align*}
Thus the minimal value of $a_1$ is $k^2+1$. Note that the optimal value of $N$ is just twice the sum of the largest $k$ numbers in the set, so the $2k+1$ consecutive integers $\{k^2+1, k^2+2, \ldots, k^2+2k+1\}$ does the trick. This gives us our answer of $\boxed{2k^3+3k^2+3k}$.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
megarnie
5603 posts
#50
Y by
The answer is $N = 2 \left(k(k^2 +1) + (2k+1)k - \frac{k(k+1)}{2}  \right) =  2k^3 + 3k^2 + 3k$, which is achievable by $\{k^2 + 1, k^2 + 2, \ldots, k^2 + 2k +1 \}$. Now we prove the bound.

For a given $k$, let a good set (ordered in increasing order) be any set of distinct positive integers where the sum of the last $k$ elements is less than the sum of the first $k + 1$ elements, and let a super set be a good set where the sum of the last $k$ elements is minimal. It's clear that the set of positive integers achieving $N$ must be good, and the smallest possible value of $N$ for that good set is equal to twice the sum of the last $k$ elements.

Claim: There exists a super set where all the elements are consecutive (they form an arithmetic sequence with common difference $1$).
Proof: If the last $k$ elements are not all consecutive in a super set, then if the smallest of these last $k$ elements (the $k+1$th element) is $x$, then the last element must be greater than $x + k$, but we can change the last $k$ elements into $x, x + 1, \ldots x + (k-1)$ (preserving goodness), so the original set was not super. Therefore the last $k$ elements must be consecutive. Now no matter what the first $k+1$ elements are, consider changing them into $x - (k+1), x - k, \ldots, x - 1$. As they were originally all distinct and under $x$, this doesn't decrease their sum, so the set stays good. Moreover, the set also stays super as the sum of the last $k$ elements is unaffected. This super set we constructed has elements $x - (k+1), x - k, \ldots, x + (k-1)$, which means it has consecutive elements, as desired. $\square$

The smallest value of $N$ is twice the sum of the last $k$ elements in any super set. Consider the unique super set that has consecutive elements, starting from $a_1$. The sum of the first $k+1$ elements is $(k+1) a_1 +\frac{k(k+1)}{2}$ and the sum of the last $k$ elements is $k a_1 + (2k+1) k - \frac{k(k+1)}{2}$. Hence, we have \[ (k+1) a_1 +\frac{k(k+1)}{2} > k a_1 + (2k+1) k - \frac{k(k+1)}{2} \implies a_1 > k^2 \]
Hence the sum of the last $k$ elements is at least $k(k^2 + 1) + (2k+1) k - \frac{k(k+1)}{2}$, so \[N \ge 2 \left( k (k^2 + 1) + (2k+1) k - \frac{k(k+1)}{2} \right) ,\]as desired.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Ywgh1
139 posts
#51
Y by
First of all, assume WLOG that $$a_1 < a_2 < \dots < a_{2k+1}$$.
And note that
\[a_{j}-a_i \geq j-i.\]By problem condition we have that

\[ a_1+a_2+ \dots +a_{2k+1} \geq N+1 \geq 2(a_{k+2}+a_{k+3}+ \dots + a_{2k+1})+1.\]Subtracting we get that
\[a_1 \geq (a_{k+2}-a_2)+ (a_{k+3}-a_3)+ \dots +(a_{2k+1}-a_{k+1})+1\]\[    \geq \underbrace{k + k + \dots + k}_{k \text{ terms}} +1 \]\[  =k^2+1\]Which follows from the fact we stated above.

From which we deduce that our set is
\[ {k^2+1,k^2+2, \dots , k^2+2k+1}\]Which means that
\[ N \leq 2((k^2+1)+(k^2+2)+ \dots + k^2+2k+1)-1\]\[= 2k^3+3k^2+3k \]As desired.
This post has been edited 5 times. Last edited by Ywgh1, Nov 2, 2024, 1:38 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
blueprimes
344 posts
#53
Y by
Out of the set of $2k + 1$ integers, let $A$ be the sum of the $k$ smallest, $B$ the sum of the $k$ largest, and $m$ the middle element. Note that $B \le \frac{N}{2}$, so $A + B + m \ge N + 1 \implies A + m \ge \frac{N}{2} + 1 \ge B + 1$.
Now clearly
$$\frac{1}{2} k(2m - k - 1) = (m - 1) + (m - 2) + \dots + (m - k) \ge A$$and
$$B \ge (m + 1) + (m + 2) + \dots + (m + k) = \frac{1}{2} k(2m + k + 1).$$Therefore
$$\frac{1}{2} k(2m - k - 1) + m \ge \frac{1}{2} k(2m + k) + 1 \implies k(2m - k - 1) + 2m \ge k(2m + k + 1) + 2$$$$\implies 2mk - k^2 - k + 2m \ge 2mk + k^2 + k + 2 \implies m \ge k^2 + k + 1.$$Now $N \ge 2B = k(2m + k + 1) \ge k(2k^2 + 3k + 3) = 2k^3 + 3k^2 + 3k$ as desired. Attainability can be demonstrated with the set of positive integers betwee $k^2 + 1$ and $k^2 + 2k + 1$ inclusive.
This post has been edited 1 time. Last edited by blueprimes, Aug 6, 2024, 1:05 AM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
ItsBesi
144 posts
#54
Y by
I don't know why it took me so long to solve it. Also my solution is similar to others.

$\textbf{Answer:}$ $N=2k^3+3k^2+3k$.

$\textbf{Solution:}$ Let $S$ be the set with $2k+1$ distinct positive integers $\iff \lvert S \lvert=2k+1$
$S=\{a_1,a_2, \dots, a_{2k+1} \}$. WLOG $a_1<a_2< \dots < a_{2k+1}$.
So $\boxed{a_{i+j} \geq a_i +j} ...(*)(\because a_1 \leq a_2 +1 \leq \dots \leq a_{2k+1} +2k+1) $

Now from the two conditions we have:
$\boxed{N<a_1+a_2+\dots+a_{2k+1}}$ $...(1)$

$a_{k+2}+a_{k+3}+\dots+a_{2k+1} \leq \frac{N}{2} \implies \boxed{ 2\cdot (a_{k+2}+a_{k+3}+\dots+a_{2k+1}) \leq N}$ $...(2)$

Combining $(1)$ and $(2)$ we get:

$2(a_{k+2}+a_{k+3}+\dots+a_{2k+1})  \stackrel{(2)}{\leq} N  \stackrel{(1)}{<} a_1+a_2+\dots+ a_{2k+1}$ $\implies 2(a_{k+2}+a_{k+3}+\dots+a_{2k+1}) < a_1+a_2+\dots+a_{2k+1}$
$\implies (2a_{k+2}+2a_{k+3}+\dots+2a_{2k+1})-(a_2+a_3+ \dots + a_{2k+1}) < a_1$
$\implies 2a_{k+2}+2a_{k+3}+\dots+2a_{2k+1}-a_2 - a_3 - \dots - a_{2k+1} <a_1$
$\implies a_{k+2}+a_{k+3}+\dots+a_{2k+1} - a_2 - a_3 - \dots - a_{k+1} < a_1$
$\implies (a_{k+2}-a_2)+(a_{k+3}-a_3)+\dots+ (a_{2k+1}-a_{k+1}) < a_1$ $...(3)$

Combining $(*)$ with $(3)$ we get the following:

$(k+a_2-a_2)+(k+a_3-a_3)+ \dots + (k +a_{k+1}-a_{k+1})  \stackrel{(*)}{\leq}  (a_{k+2}-a_2)+(a_{k+3}-a_3)+\dots+ (a_{2k+1}-a_{k+1})  \stackrel{(3)}{<} a_1$
$\implies \underbrace{k + k + \dots + k}_{k \text{ terms}}  \leq  (a_{k+2}-a_2)+(a_{k+3}-a_3)+\dots+ (a_{2k+1}-a_{k+1}) <a_1 $
$\implies  k^2 \leq  (a_{k+2}-a_2)+(a_{k+3}-a_3)+\dots+ (a_{2k+1}-a_{k+1}) <a_1$
$\implies k^2 < a_1 \iff a_1 >k^2 \implies $
$$\boxed{a_1 \geq k^2+1} ...(@)$$
Again from $(2)$ we have:
$N \geq 2 \cdot (a_{k+2}+a_{k+3}+ \dots +a_{2k+1})  \stackrel{(*)}{\geq} 2 \cdot (((a_1+(k+1))+(a_1 +(k+2))+ \dots + (a_1+2k))=$
$=2 \cdot (a_1+k+1+a_1+k+2+ \dots + a_1+2k)=2 \cdot (a_1+k+1+a_1+k+2+ \dots + a_1+k+k)=$
$=2 \cdot ( \underbrace{a_1 + a_1 + \dots + a_1}_{k \text{ terms}} +\underbrace{k + k + \dots + k}_{k \text{ terms}}  + 1+2+\dots + k)=$
$=2 \cdot(k \cdot a_1 + k \cdot k +\frac{k \cdot (k+1)}{2})=2 \cdot k \cdot a_1 + 2k^2 + k \cdot (k+1)=$
$=2 \cdot k \cdot a_1 + 2k^2+k^2+k \stackrel{(@)}{\geq} 2 \cdot k  \cdot (k^2+1)+k^2+k=2k^3+2k+3k^2+k \implies $
$$\boxed{N \geq 2k^3+3k^2+3k}$$
So now we just show that $N=2k^3+3k^2+3k$ works.
By picking $(a_1,a_2, \dots a_{2k+1})=(k^2+1,k^2+2, \dots k^2+2k+1).$
We see that $N=2k^3+3k^2+3k$ clearly works and satisfies both conditions. $\blacksquare$
This post has been edited 2 times. Last edited by ItsBesi, Sep 1, 2024, 10:13 AM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Namura
9 posts
#55
Y by
Similar solution
Click to reveal hidden text
This post has been edited 1 time. Last edited by Namura, Feb 20, 2025, 3:43 AM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Ihatecombin
59 posts
#56 • 1 Y
Y by PikaPika999
The answer is \(N = 2k^3+3k^2 + 3k\), with the set \(\{k^2+1,k^2+1,\dots,k^2+2k+1\}\). This can be easily checked to work, we shall prove it is the minimum.
Order the elements, notice that we must have
\[(k+2)a_{k+2} + a_{k+3} + \cdots + a_{2k+1} - \frac{(k+1)(k+2)}{2} \geq a_1 + a_2 + \dots a_{2k+1} \geq N+1 \]We also obtain
\[a_{k+2} + a_{k+3} + \cdots + a_{2k+1} \leq \frac{N}{2} \Longrightarrow N \geq 2(a_{k+2} + a_{k+3} + \cdots + a_{2k+1})\]By adding the two inequalities above, we obtain
\[ka_{k+2} - \frac{(k+1)(k+2)}{2} \geq a_{k+3} + \cdots + a_{2k+1} + 1 \geq (k-1)a_{k+2} + \frac{(k-1)(k)}{2} + 1\]Whence we must have
\[a_{k+2} \geq \frac{(k+1)(k+2)}{2} + \frac{(k-1)(k)}{2} + 1 = k^2 + k + 2\]Since we must have
\[a_{k+2} + a_{k+3} + \cdots + a_{2k+1} \leq \frac{N}{2}\]The minimality of \(N\) immediately follows.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Marcus_Zhang
980 posts
#57 • 1 Y
Y by PikaPika999
storage
This post has been edited 2 times. Last edited by Marcus_Zhang, Apr 6, 2025, 7:58 PM
Z K Y
N Quick Reply
G
H
=
a