We have your learning goals covered with Spring and Summer courses available. Enroll today!

G
Topic
First Poster
Last Poster
k a My Retirement & New Leadership at AoPS
rrusczyk   1573
N Yesterday at 11:40 PM by SmartGroot
I write today to announce my retirement as CEO from Art of Problem Solving. When I founded AoPS 22 years ago, I never imagined that we would reach so many students and families, or that we would find so many channels through which we discover, inspire, and train the great problem solvers of the next generation. I am very proud of all we have accomplished and I’m thankful for the many supporters who provided inspiration and encouragement along the way. I'm particularly grateful to all of the wonderful members of the AoPS Community!

I’m delighted to introduce our new leaders - Ben Kornell and Andrew Sutherland. Ben has extensive experience in education and edtech prior to joining AoPS as my successor as CEO, including starting like I did as a classroom teacher. He has a deep understanding of the value of our work because he’s an AoPS parent! Meanwhile, Andrew and I have common roots as founders of education companies; he launched Quizlet at age 15! His journey from founder to MIT to technology and product leader as our Chief Product Officer traces a pathway many of our students will follow in the years to come.

Thank you again for your support for Art of Problem Solving and we look forward to working with millions more wonderful problem solvers in the years to come.

And special thanks to all of the amazing AoPS team members who have helped build AoPS. We’ve come a long way from here:IMAGE
1573 replies
rrusczyk
Mar 24, 2025
SmartGroot
Yesterday at 11:40 PM
k a March Highlights and 2025 AoPS Online Class Information
jlacosta   0
Mar 2, 2025
March is the month for State MATHCOUNTS competitions! Kudos to everyone who participated in their local chapter competitions and best of luck to all going to State! Join us on March 11th for a Math Jam devoted to our favorite Chapter competition problems! Are you interested in training for MATHCOUNTS? Be sure to check out our AMC 8/MATHCOUNTS Basics and Advanced courses.

Are you ready to level up with Olympiad training? Registration is open with early bird pricing available for our WOOT programs: MathWOOT (Levels 1 and 2), CodeWOOT, PhysicsWOOT, and ChemWOOT. What is WOOT? WOOT stands for Worldwide Online Olympiad Training and is a 7-month high school math Olympiad preparation and testing program that brings together many of the best students from around the world to learn Olympiad problem solving skills. Classes begin in September!

Do you have plans this summer? There are so many options to fit your schedule and goals whether attending a summer camp or taking online classes, it can be a great break from the routine of the school year. Check out our summer courses at AoPS Online, or if you want a math or language arts class that doesn’t have homework, but is an enriching summer experience, our AoPS Virtual Campus summer camps may be just the ticket! We are expanding our locations for our AoPS Academies across the country with 15 locations so far and new campuses opening in Saratoga CA, Johns Creek GA, and the Upper West Side NY. Check out this page for summer camp information.

Be sure to mark your calendars for the following events:
[list][*]March 5th (Wednesday), 4:30pm PT/7:30pm ET, HCSSiM Math Jam 2025. Amber Verser, Assistant Director of the Hampshire College Summer Studies in Mathematics, will host an information session about HCSSiM, a summer program for high school students.
[*]March 6th (Thursday), 4:00pm PT/7:00pm ET, Free Webinar on Math Competitions from elementary through high school. Join us for an enlightening session that demystifies the world of math competitions and helps you make informed decisions about your contest journey.
[*]March 11th (Tuesday), 4:30pm PT/7:30pm ET, 2025 MATHCOUNTS Chapter Discussion MATH JAM. AoPS instructors will discuss some of their favorite problems from the MATHCOUNTS Chapter Competition. All are welcome!
[*]March 13th (Thursday), 4:00pm PT/7:00pm ET, Free Webinar about Summer Camps at the Virtual Campus. Transform your summer into an unforgettable learning adventure! From elementary through high school, we offer dynamic summer camps featuring topics in mathematics, language arts, and competition preparation - all designed to fit your schedule and ignite your passion for learning.[/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, Mar 2 - Jun 22
Friday, Mar 28 - Jul 18
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
Tuesday, Mar 25 - Jul 8
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
Sunday, Mar 23 - Jul 20
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
Sunday, Mar 16 - Jun 8
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
Monday, Mar 17 - Jun 9
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
Sunday, Mar 2 - Jun 22
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
Tuesday, Mar 4 - Aug 12
Sunday, Mar 23 - Sep 21
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
Sunday, Mar 16 - Sep 14
Tuesday, Mar 25 - Sep 2
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
Sunday, Mar 23 - Aug 3
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
Sunday, Mar 16 - Aug 24
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
Wednesday, Mar 5 - May 21
Tuesday, Jun 10 - Aug 26

Calculus
Sunday, Mar 30 - Oct 5
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
Sunday, Mar 23 - Jun 15
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
Tuesday, Mar 4 - May 20
Monday, Mar 31 - Jun 23
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
Monday, Mar 24 - Jun 16
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
Sunday, Mar 30 - Jun 22
Wednesday, May 21 - Aug 6
Sunday, Jun 15 - Sep 14
Monday, Jun 23 - Sep 15

Physics 1: Mechanics
Tuesday, Mar 25 - Sep 2
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
Mar 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
Partitioning into epic sets
MNJ2357   3
N 4 minutes ago by thdwlgh1229
Source: 2024 Korea Summer Program Practice Test Junior P5
Call a set \(\{a,b,c,d\}\) epic if for any four different positive integers \(a, b, c, d\), there is a unique way to select three of them to form the sides of a triangle. Find all positive integers \(n\) such that \(\{1, 2, \ldots, 4n\}\) can be partitioned into \(n\) disjoint epic sets.
3 replies
MNJ2357
Aug 12, 2024
thdwlgh1229
4 minutes ago
D1019 : Dominoes 2*1
Dattier   1
N 9 minutes ago by Dattier
I have a 9*9 grid like this one:

IMAGE

We choose 5 white squares on the lower triangle, 5 black squares on the upper triangle and one on the diagonal, which we remove from the grid.
Like for example here:

IMAGE

Can we completely cover the grid remove from these 11 squares with 2*1 dominoes like this one:

IMAGE
1 reply
Dattier
Yesterday at 8:18 AM
Dattier
9 minutes ago
Number of sign change in cos ka
Rohit-2006   3
N 13 minutes ago by Levieee
Let $0\leq\alpha\leq\pi$. Denote by $V_n(\alpha)$ the number of changes of signs in the
sequence
$$1, cos \alpha, cos 2\alpha, . . . , cos n\alpha.$$Then prove that
$$\lim_{n\rightarrow\infty}\frac{V_n(\alpha)}{n}=\frac{\alpha}{\pi}$$.
3 replies
+1 w
Rohit-2006
Mar 23, 2025
Levieee
13 minutes ago
Inequality with a weird sum
prtoi   2
N 22 minutes ago by sqing
Let $a_i$ be positive real numbers such that $a_1+a_2+...+a_n=n$. Prove that: $$\sum_{i=1}^{n}(\frac{a_i^3+1}{a_i^2+1})\ge n$$
2 replies
2 viewing
prtoi
2 hours ago
sqing
22 minutes ago
IMO 2008, Question 2
delegat   62
N 42 minutes ago by Adywastaken
Source: IMO Shortlist 2008, A2
(a) Prove that
\[\frac {x^{2}}{\left(x - 1\right)^{2}} + \frac {y^{2}}{\left(y - 1\right)^{2}} + \frac {z^{2}}{\left(z - 1\right)^{2}} \geq 1\] for all real numbers $x$, $y$, $z$, each different from $1$, and satisfying $xyz=1$.

(b) Prove that equality holds above for infinitely many triples of rational numbers $x$, $y$, $z$, each different from $1$, and satisfying $xyz=1$.

Author: Walther Janous, Austria
62 replies
delegat
Jul 16, 2008
Adywastaken
42 minutes ago
Nordic 2025 P2
anirbanbz   8
N an hour ago by alexanderhamilton124
Source: Nordic 2025
Let $p$ be a prime and suppose $2^{2p} \equiv 1 (\text{mod}$ $ 2p+1)$ is prime. Prove that $2p+1$ is prime$^{1}$

$^{1}$This is a special case of Pocklington's theorem. A proof of this special case is required.
8 replies
anirbanbz
Tuesday at 12:35 PM
alexanderhamilton124
an hour ago
2019 Polynomial problem
srnjbr   1
N an hour ago by pco
suppose t is a member of the interval (1,2). show that there exists a polynomial p with coefficients +-1 such that |p(t)-2019|<=1
1 reply
srnjbr
Tuesday at 6:15 PM
pco
an hour ago
Inequality
Dadgarnia   7
N an hour ago by bin_sherlo
Source: Iran TST 2015, second exam, day 2, problem 3
If $a,b,c$ are positive real numbers such that $a+b+c=abc$ prove that
$$\frac{abc}{3\sqrt{2}}\left ( \sum_{cyc}\frac{\sqrt{a^3+b^3}}{ab+1} \right )\geq \sum_{cyc}\frac{a}{a^2+1}$$
7 replies
Dadgarnia
May 17, 2015
bin_sherlo
an hour ago
Table tennis mini-tournament
oVlad   15
N an hour ago by mathfun07
Source: All-Russian MO 2023 Final stage 10.4
There is a queue of $n{}$ girls on one side of a tennis table, and a queue of $n{}$ boys on the other side. Both the girls and the boys are numbered from $1{}$ to $n{}$ in the order they stand. The first game is played by the girl and the boy with the number $1{}$ and then, after each game, the loser goes to the end of their queue, and the winner remains at the table. After a while, it turned out that each girl played exactly one game with each boy. Prove that if $n{}$ is odd, then a girl and a boy with odd numbers played in the last game.

Proposed by A. Gribalko
15 replies
oVlad
Apr 23, 2023
mathfun07
an hour ago
Counting
weamher   0
an hour ago
Source: Own
Consider a $n \times n$ grid. We color the squares with three colors: blue, red, and yellow. Two squares are defined as opposite if they share a vertex but not an edge. A valid coloring is a coloring such that no two squares that are red and blue are opposite each other. Count the number of valid colorings.
0 replies
weamher
an hour ago
0 replies
Cyclic Configuration Implies Isosceles
maka_moli   2
N an hour ago by Tsikaloudakis
Given an acute triangle $ABC$, points $D$ and $E$ are in segments $AB$ and $AC$ respectively such that $CD \perp BE$. Let $G$ be the intersection of $CD$ and $BE$ and $F$ be the intersection of $ED$ and $BC$. If $ACGF$ is a cyclic quadrilateral prove that $|FC|=|AC|$
2 replies
maka_moli
Mar 25, 2025
Tsikaloudakis
an hour ago
Cauchy-Schwarz 2
prtoi   5
N 2 hours ago by Filipjack
Source: Handout by Samin Riasat
if $a^2+b^2+c^2+d^2=4$, prove that:
$\frac{a^2}{b}+\frac{b^2}{c}+\frac{c^2}{d}+\frac{d^2}{a}\ge4$
5 replies
prtoi
Yesterday at 4:19 PM
Filipjack
2 hours ago
Choosing girls from the camp
wassupevery1   1
N 2 hours ago by weamher
Source: 2025 Vietnam IMO TST - Problem 3
In a summer camp about Applied Maths, there are $8m+1$ boys (with $m > 5$) and some girls. Every girl is friend with exactly $3$ boys and for any $2$ boys, there is exactly $1$ girl who is their common friend. Let $n$ be the greatest number of girls that can be chosen from the camp to form a group such that every boy is friend with at most $1$ girl in the group. Prove that $n \geq 2m+1$.
1 reply
wassupevery1
Tuesday at 1:57 PM
weamher
2 hours ago
reseach a formula
jayme   3
N 2 hours ago by ND_
Dear Mathlinkers,

1.ABCD a square
2. m the lengh of AB
3. M a point on the segment CD
4. 1, 2, 3 the incircles of the triangles MAB, AMD, BMC
5. r1, r2, r3, the radius of 1, 2, 3.

Question : is there a formula with r1, r2, r3 and m?

Sincerely
Jean-Louis
3 replies
jayme
4 hours ago
ND_
2 hours ago
Sweet sweet combo
Ciobi_   11
N Mar 24, 2025 by Haris1
Source: Izho 2025 problem 4
Vaysha has a board with $999$ consecutive numbers written and $999$ labels of the form "This number is not divisible by $i$", for $i \in \{ 2,3, \dots ,1000 \} $. She places each label next to a number on the board, so that each number has exactly one label. For each true statement on the stickers, Vaysha gets a piece of candy. How many pieces of candy can Vaysha guarantee to win, regardless of the numbers written on the board, if she plays optimally?
11 replies
Ciobi_
Jan 15, 2025
Haris1
Mar 24, 2025
Sweet sweet combo
G H J
G H BBookmark kLocked kLocked NReply
Source: Izho 2025 problem 4
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Ciobi_
9 posts
#1 • 1 Y
Y by alexanderhamilton124
Vaysha has a board with $999$ consecutive numbers written and $999$ labels of the form "This number is not divisible by $i$", for $i \in \{ 2,3, \dots ,1000 \} $. She places each label next to a number on the board, so that each number has exactly one label. For each true statement on the stickers, Vaysha gets a piece of candy. How many pieces of candy can Vaysha guarantee to win, regardless of the numbers written on the board, if she plays optimally?
This post has been edited 1 time. Last edited by Ciobi_, Jan 15, 2025, 4:08 PM
Reason: Miswrote what the labels said
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Titibuuu
42 posts
#2
Y by
is time up?
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Assassino9931
1199 posts
#3
Y by
Are you sure that the labels are "this number is divisible by $i$"? I think they should be "this number is not divisible by $i$"?
This post has been edited 2 times. Last edited by Assassino9931, Jan 15, 2025, 10:19 AM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
p.lazarov06
54 posts
#4
Y by
The question was "this number is not divisible by $i$"
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Assassino9931
1199 posts
#5
Y by
Hmm, straightforward once you realize russian-and-neighbours easy problems like concrete numbers on which you should induct?

Suppose the cards are $n\geq 1$, from $2$ to $n+1$. Then in a sequence starting with LCM$(2,3,\ldots,n,n+1)$ one cannot get a candy from the starting number, as it is divisible by each label of a card, so the candies are at most $n-1$ in this case. For the bound, note that $n-1\geq 0$ points are vacuously obtained in the base case $n=1$. In general for $n\geq 2$, in a sequence $a+1, a+2, \ldots, a+n$ at most one of the numbers $a+1$ and $a+n$ is divisible by $n+1$ (as their difference is $n-1$ and $n+1$ does not divide $n-1$ for $n\geq 2$), so we put the card with $n+1$ in the other number, then consider the remaining sequence of $n-1$ consecutive numbers with cards from $2$ to $n$, where by the inductive hypothesis we can obtain at least $n-2$ points.

Comment on the version with is divisible by i
This post has been edited 4 times. Last edited by Assassino9931, Jan 15, 2025, 12:31 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
alexanderhamilton124
379 posts
#6 • 1 Y
Y by dhfurir
I am just reposting my solution from the other thread. Nice n easy problem

my solution
This post has been edited 1 time. Last edited by alexanderhamilton124, Jan 15, 2025, 12:51 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Ciobi_
9 posts
#7
Y by
p.lazarov06 wrote:
The question was "this number is not divisible by $i$"

Thanks. I edited it now.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
atdaotlohbh
171 posts
#8
Y by
Assassino9931 wrote:
Comment on the version with is divisible by i
Wait, did you solve this version of the problem? If positive, can you please DM me the solution?
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
bin_sherlo
668 posts
#9
Y by
Answer is $998$. If one picks the numbers as $1000!,\dots,1000!+998$ then Vaysha cannot label each number. Let's show that Vaysha can guarantee $998$ labelings. Since the difference between the least and most number is $998$, at lesat one of the largest or smallest integer on the board is not divisible by $1000$, Vaysha labels that number with $1000$. If the difference between the largest and smallest number is $k$, then Vaysha labels one of them (if both of them are not divisible by $k+2$, then Vaysha chooses one of them randomly) with $k+2$ until the difference is $1$. At least one of them is not divisible by $3$ and Vaysha labels $3$ which guarantees $998$ as desired.$\blacksquare$
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Hertz
31 posts
#10
Y by
replace 999 with n and let the n consecutive numbers be $m+2, m+3, ... , m+n+1$. now we will show with induction that answer is $n-1$.

it's simple to obtain in base case $n=3$ that you can get a minimum of 2 candies

now let $n-1$ be minimum amount of candies you can obtain from $n$. now added number on the board is $m+n+2$ and an added label is "this number is not divisible by $n+2$".

if $n+2 \nmid m+n+2$, then place that label under $m+n+2$ and we will get an extra candy giving us a minimum of $(n+1)-1 = n$ candies.

if $n+2 \mid m+n+2 \Longrightarrow n+2 \mid m$, and we split it in two cases:

Case I - the number of candies we had was $n$, after which we still put $n+2$ next to $m+n+2$ and have $(n+1)-1 = n$ candies

Case II - the number of candies we had before was $n-1$, then we have a number $x$ and number $m+a$, such that $x \mid m+a$. now we swap $x$ and $n+2$. since $n+2 \mid m$ and $n+2 \leq a$ we get $n+2 \nmid m+a$, so we have $(n-1) + 1 = n$ candies.

showing that $n-1$ occurs is easy. if $(n+1)!$ is in one of these $n$ consecutive integers, then any of the $n+1$ labels divides it, hence leaving us with a maximum of $n-1$ candies.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Begli_I.
9 posts
#11
Y by
Assume our numbers are $a+1,a+2,a+3,...,a+999$. One of $a+1$ and $a+2$ is not divisible by 2, so let's put first label on that, then one of $a+1,a+2,a+3$ is occupied so we have two empty numbers from them and one of them is not divisible by 3 so let's put 2nd label on that, and so on for k, k-2 numbers occupied from $a+1,a+2,a+3,...,a+k$ so there is 2 number which there is not label on them and one of them is not divisible by k so let's put (k-1)th label on that. So with same strategy we can put 998 label true and we take at least 998 candies. And example for we can't take candy for 999th label everytime is let our numbers start from $1000!$ so we can't take any candies from that. So problem is solved.
This post has been edited 1 time. Last edited by Begli_I., Jan 22, 2025, 6:56 AM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Haris1
66 posts
#12
Y by
Hmm I'm mistaking something or is it this easy we have $\lceil 999-\frac{999}{k}\rceil$ choices for some integer $k$ we can see that this decrease as $k$ decreases worst case scenario we have $k=2$ which has only $500$ choices. If we start from $2$ and move upward s.t we get $1$ candy per card we place if we say that per move of card place we take places of others. We know that moves for number $998$ and smaller are always positive because at first we have 500 and then for $k>500$ its easy to see $\lceil 999-\frac{999}{k} \rceil$-$k$ is positive for $k=997,...,1$ however when we place $998$ card we see that for $k=998$ the last number can or can't be included so we have at least $998$ candies. For the case when the sequence of $999$ numbers include $1000!$ we can see that it isn't possible to have more than $998$. So we can guarantee $998$ candies.
This post has been edited 1 time. Last edited by Haris1, Mar 24, 2025, 7:37 PM
Z K Y
N Quick Reply
G
H
=
a