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
Symmetric inequality
nexu   8
N 2 minutes ago by nexu
Source: own
Let $x,y,z \ge 0$. Prove that:
$$  \sum_{\mathrm{cyc}}{\left( y-z \right) ^2\left( 7x^2-y^2-z^2 \right) ^2}\ge 112\left( x-y \right) ^2\left( y-z \right) ^2\left( z-x \right) ^2. $$
8 replies
nexu
Feb 12, 2023
nexu
2 minutes ago
CGMO5: Carlos Shine's Fact 5
v_Enhance   69
N 18 minutes ago by Fly_into_the_sky
Source: 2012 China Girl's Mathematical Olympiad
As shown in the figure below, the in-circle of $ABC$ is tangent to sides $AB$ and $AC$ at $D$ and $E$ respectively, and $O$ is the circumcenter of $BCI$. Prove that $\angle ODB = \angle OEC$.
IMAGE
69 replies
v_Enhance
Aug 13, 2012
Fly_into_the_sky
18 minutes ago
A feasible refinement of GMA 567
Rhapsodies_pro   6
N 20 minutes ago by ehuseyinyigit
Source: Own?
Let \(a_1,a_2,\dotsc,a_n\) (\(n>3\)) be non-negative real numbers fulfilling \[\sum_{k=1}^na_k^2+{\left(n^2-3n+1\right)}\prod_{k=1}^na_k\geqslant{\left(n-1\right)}^2\text.\]Prove or disprove: \[\frac1{n-1}\sum_{1\leqslant i<j\leqslant n}{\left(a_i-a_j\right)}^2\geqslant{\left({\left(n^2-2n-1\right)}\sum_{k=1}^na_k-n{\left(n-1\right)}{\left(n-3\right)}\right)}{\left(n-\sum_{k=1}^na_k\right)}\textnormal.\]
6 replies
Rhapsodies_pro
Jul 21, 2025
ehuseyinyigit
20 minutes ago
Circumcircle passing through a fixed point.
historypasser-by   0
20 minutes ago
Let a line $l$, a circle $\omega$ and a point $A$ on $\omega$ but not on $l$ be fixed. (However we do not assume $\omega$ and $l$ intersects). $B, C$ are on $\omega$ subject to $AB, AC$ intersects $l$ at $M, N$ respectively and $B$ is on segment $AM$, $C$ is on segment $AN$. Prove that when $B, C$ vary on $\omega$ keeping $\tan\angle ABC\cdot \tan\angle ACB$ constant, the circumcircle of $\Delta AMN$ passes through a fixed point other than $A$ itself.
0 replies
historypasser-by
20 minutes ago
0 replies
No more topics!
IMO ShortList 2003, number theory problem 8
orl   10
N Jan 5, 2024 by IAmTheHazard
Source: IMO ShortList 2003, number theory problem 8
Let $p$ be a prime number and let $A$ be a set of positive integers that satisfies the following conditions:

(i) the set of prime divisors of the elements in $A$ consists of $p-1$ elements;

(ii) for any nonempty subset of $A$, the product of its elements is not a perfect $p$-th power.

What is the largest possible number of elements in $A$ ?
10 replies
orl
Oct 4, 2004
IAmTheHazard
Jan 5, 2024
IMO ShortList 2003, number theory problem 8
G H J
Source: IMO ShortList 2003, number theory problem 8
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
orl
3647 posts
#1 • 2 Y
Y by Adventure10, Mango247
Let $p$ be a prime number and let $A$ be a set of positive integers that satisfies the following conditions:

(i) the set of prime divisors of the elements in $A$ consists of $p-1$ elements;

(ii) for any nonempty subset of $A$, the product of its elements is not a perfect $p$-th power.

What is the largest possible number of elements in $A$ ?
Attachments:
This post has been edited 1 time. Last edited by djmathman, May 27, 2018, 3:55 PM
Reason: adjusted wording according to https://anhngq.files.wordpress.com/2010/07/imo-2003-shortlist.pdf
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 • 2 Y
Y by Adventure10, 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.
Zhero
2043 posts
#3 • 4 Y
Y by huricane, mijail, Adventure10, Mango247
Click to reveal hidden text
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
v_Enhance
6906 posts
#4 • 8 Y
Y by SK_pi3145, Mathematicsislovely, mijail, PIartist, guptaamitu1, HamstPan38825, Ru83n05, starchan
Solution from Twitch Solves ISL:

Let $D = p-1$. Then the question (thinking in terms of the exponents) can be phrased as follows:

What's the largest multiset of vectors in ${\mathbb F}_p^{D}$ such that no nonempty subset has zero sum?

We claim the answer is $D \cdot (p-1)$. A construction is given by taking
  • $p-1$ copies of the vector $\left< 1, 0, \dots, 0\right>$;
  • $p-1$ copies of the vector $\left< 0, 1, \dots, 0\right>$;
  • \dots;
  • $p-1$ copies of the vector $\left< 0, 0, \dots, 1 \right>$.
To show it's best possible, suppose we have vectors $v_1$, \dots, $v_N$ with coordinates given as \[ v_k = \left< v_{k,1}, v_{k,2}, \dots, v_{k,D} \right> 	\qquad k = 1, 2, \dots, N.  \]Then, we construct the polynomial \[ 	F(X_1, \dots, X_N) 	= \prod_{i=1}^D 	\left[ 1 - \left( \sum_{k=1}^N X_k v_{k,j} \right)^{p-1} \right] 	- \prod_{i=1}^N (1-X_i) \]If we imagine the $X_i \in \{0,1\}$ as Bernoulli random variables indicating whether $v_k$ is used in a set or not, then $F(X_1, \dots, X_N) \neq 0$ exactly when the $X_i$'s equal to $1$ correspond to a nonempty subset of the vectors which have vanishing sum.
Now assume for contradiction $N < D \cdot (p-1)$. Then the largest degree term is given in the latter product; it is exactly $(-1)^{N+1} X_1 X_2 \dots X_N$. So if we quote Alon's combinatorial nullstellensatz, it now follows that there is a choice of $X_i \in \{0,1\}$ such that $F(X_1, \dots, X_N) \neq 0$ which is a contradiction.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Math_Is_Fun_101
159 posts
#5 • 2 Y
Y by Derfu37, guptaamitu1
Solution with derfu37 and a hint to use Chevalley's from Al3jandro0000.

We claim the answer is $(p-1)^2$. This is achievable by taking the set
\[ A = \{ q_i^{pj+1}\vert(i,j)\in\{1,\ldots,p-1\}^2 \} \]where $\{q_i\}_{i=1}^{\infty}$ is the sequence of primes. Now we show $|A|>(p-1)^2$ is impossible. Let $n=|A|$. Note that by condition (i) we can represent the elements of $A$ as vectors in $\mathbb F_p^{p-1}$. Let these be
\[ v_i = (e_{i1},\ldots,e_{i(p-1)})\text{ for } 1\le i\le n. \]Now, we define $f_j\colon\mathbb F_p^n\rightarrow\mathbb F_p^n$ as
\[ f_j(x_1,\ldots,x_n) = \sum_{i=1}^n x_i^{p-1}e_{ji}. \]Consider the system of equations $f_j(x_1,\ldots,x_n)=0$ for $1\le j\le p-1$. Note that $(0,\ldots,0)$ is a trivial solution. Suppose for the sake of contradiction that $n>(p-1)^2$. Then, we have
\[ n>(p-1)^2=(p-1)\cdot(p-1)=\sum_{j=1}^{p-1}\deg(f_j). \]Thus, quoting Chevalley's Theorem there must exist a nontrivial solution to the system. However, since $x_i^{p-1}\in{0,1}$, this nontrivial solution specifies a nonempty subset of $A$ for which the product is a perfect $p-$th power, yielding the desired contradiction. $\blacksquare$
This post has been edited 3 times. Last edited by Math_Is_Fun_101, Oct 13, 2021, 7:51 AM
Reason: Mispelled Chevalley's
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Leo.Euler
577 posts
#6
Y by
One can easily rephrase this problem using the prime factorizations of the elements of $A$; this asks for the size of the largest multiset of vectors of $\mathbb{F}_p^{p-1}$ where no nonempty subset has a sum of zero.

The answer is $(p-1)^2$; this can be obtained by taking\[\bigcup_{\textbf{x}\in \mathbb{F}_p^{p-1} \\ |\textbf{x}|=1}\{\textbf{x} \ \text{repeated} \ p-1 \ \text{times}\}.\]Assume for contradiction that there is a solution of vectors $v_1, \ldots, v_N$ with $N>p-1$ that works, where we write\[ v_i = (e_{i1},\ldots,e_{i(p-1)}) \]for each $i$. Now define\[ f_k(x_1,\ldots,x_N) = \sum_{i=1}^N x_i^{p-1}e_{ki} \]for all $1 \le k \le p-1$. Since $(0, \ldots, 0)$ is a common root of all $f_k$, the Chevalley-Warning theorem guarantees a nontrivial root common to all $f_k$. By Fermat's Little Theorem, each $x_i^{p-1}$ is either $0$ or $1$, so there is a nonempty subset of $\{v_1, \ldots, v_N\}$ with a zero sum by using this nontrivial root, a contradiction. Hence $(p-1)^2$ is the size of the largest multiset of vectors of $\mathbb{F}_p^{p-1}$ where no nonempty subset has a sum of zero, and we are done.
This post has been edited 4 times. Last edited by Leo.Euler, Apr 11, 2023, 3:30 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
HamstPan38825
8904 posts
#7
Y by
Chevalley-Warning essentially nukes this.

The answer is $(p-1)^2$. For construction, pick primes $q_1, q_2, \cdots, q_{p-1}$, and use $q_1, q_1^{p+1}, \cdots, q_1^{1+p(p-2)}$ and similarly for the other $q_i$'s. This obviously satisfies both conditions.

For the proof of maximality, set the $q_i$ to be the same and choose $k = (p-1)^2 + 1$ distinct elements from $A$, which we will label $x_1$ through $ x_k$. For each $j$, let $e_{ij}$ be the exponent of $q_i$ in $x_j$.

Now, for the polynomials $$f_i(X_1, \cdots, X_k) = X_1^{p-1}e_{i1} + X_2^{p-1}e_{i2} + \cdots + X_k^{p-1} e_{ik},$$by Chevalley-Warning there exists a nontrivial solution to the system $$f_1(x_1, x_2, \cdots, x_k) \equiv f_2(x_1, x_2, \cdots, x_k) \equiv \cdots \equiv 0 \pmod p.$$Pick a subset $B$ of all nonzero $x_i$ in this set that satisfy the condition. Then by definition and Fermat's Little Theorem it follows that $\sum_{j \in B} e_{ij} \equiv 0 \pmod p$ for each $i$, thus the product of the elements in $B$ is a perfect $p$th power, contradiction.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
CANBANKAN
1306 posts
#8
Y by
Claim: If $x_j = (x_{j,1},\cdots, x_{j,n}) \in (\mathbb{Z}/p\mathbb{Z})^n$ ($j\in \{1,\cdots,K\}$) such that for all $e_1, \cdots, e_K \in \{0,1\}$ (not all zero), then $\sum e_jx_j \ne 0$. Then $K\le n(p-1)$ (this bound is optimal because I can have $p-1$ copies of $(\underbrace{0, \cdots, 0}_{j}, 1, \underbrace{0, \cdots, 0}_{n-1-j})$ for $j=0,\cdots,n-1$)

Proof: Assume $K\ge n(p-1)+1$. Consider the polynomial

$$P(f_1, \cdots, f_K) = \prod\limits_{j=1}^n (1-(\sum_{k=1}^K f_kx_{k,j})^{p-1})$$
If $\sum e_jx_j \ne 0 \iff$ there exists $t$ such that $\sum_k e_k x_{k,t} \ne 0$. Then $1-(\sum_k e_k x_{k,t})^{p-1}=0$ in $\mathbb{Z}/p\mathbb{Z}$. Hence $P(f_1,\cdots,f_K)=0$ for all $f_1,\cdots,f_k \in \{0,1\}$ that are not all zero, and $P(0,\cdots,0)=1$.

We first flatten the polynomial i.e. replace $f_k^j$ with $f_k$ when $j\ge 2$ (i.e. we take this polynomial and take its remainder mod $f_1^2-f_1, f_2^2-f_2, \cdots, f_K^2-f_K$). Call this polynomial $\tilde P$. Now note $$\tilde P + (1-f_1)(1-f_2)\cdots (1-f_K)$$vanishes in $\{0,1\}^K$, but one can show that $$v\colon [K] \to (\mathbb{Z}/p\mathbb{Z})^{2^K}, v_S = ( \prod\limits_{j\in S} f_j )_{(f_1,\cdots,f_k)\in \{0,1\}^K}$$are linearly independent in $\{0,1\}^K$ (or we induct by seeing this as a linear poly in $f_1$ namely $R(f_2,\cdots,f_K) f_1 + Q(f_2,\cdots,f_K)$ and since this poly is 0 when $f_1\in \{0,1\}$, $R(f_2,\cdots,f_K), Q(f_2,\cdots,f_K)$ satisfy the problem conditions for $K-1$) so $$\tilde P + (1-f_1)(1-f_2)\cdots (1-f_K) \equiv 0$$
This is absurd since $\deg \tilde P < K$
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
YaoAOPS
1633 posts
#9
Y by
Yet another C-W nuke solution

Claim: $|A| = (p-1)^2$ is achieveable.
Proof. Let $p_n$ denote the $n$th prime for $1 \le n \le p - 1$. Then $p-1$ occurences of each $p_n$ suffices. $\blacksquare$

Claim: $(p-1)^2$ is maximal.
Proof. FTSOC assume there exists some $A$ of size $n = p^2 - 2p$. Enumerate $A$ as $a_{1}, a_{2}, \dots, a_n$ and the prime divisors as $p_1, p_2, \dots, p_n$. For each $i$, let $a_i = p_1^{c_{i1}}p_2^{c_{i2}}\dots p_n^{c_{in}}$.
Construct the $p-1$ polynomials $f_1, f_2, \dots f_{p-1}$ in ${\mathbb F}_p$ such that \[ f_i(x_1, x_2, \dots, x_n) = \sum_{j=1}^{n} c_{ij}x_j^{p-1}. \]Note that $\deg f_i = p-1$ and that $f_i$ is $0$ iff the elements of $A$ at its nonzero inputs have a product with $\nu_{p_i}$ divisible by $p$.
Since $n > \deg f_i \cdot (p-1) = (p-1)^2$, and $(0, 0, \dots, 0)$ is one of the common roots of every polynomial, by Chevalley-Warnining there exists another root, contradiction. $\blacksquare$
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Sourorange
107 posts
#11
Y by
Let $D = p-1$. Then the question (thinking in terms of the exponents) can be phrased as follows:

What's the largest multiset of vectors in ${\mathbb F}_p^{D}$ such that no nonempty subset has zero sum?

We claim the answer is $D \cdot (p-1)$. A construction is given by taking
  • $p-1$ copies of the vector $\left< 1, 0, \dots, 0\right>$;
  • $p-1$ copies of the vector $\left< 0, 1, \dots, 0\right>$;
  • $......$;
  • $p-1$ copies of the vector $\left< 0, 0, \dots, 1 \right>$.
To show it's best possible, suppose we have vectors $v_1$, \dots, $v_N$ with coordinates given as \[ v_k = \left< v_{k,1}, v_{k,2}, \dots, v_{k,D} \right> 	\qquad k = 1, 2, \dots, N.  \]Then, we construct the polynomial \[ 	F(X_1, \dots, X_N) 	= \prod_{i=1}^D 	\left[ 1 - \left( \sum_{k=1}^N X_k v_{k,j} \right)^{p-1} \right] 	- \prod_{i=1}^N (1-X_i) \]If we imagine the $X_i \in \{0,1\}$ as Bernoulli random variables indicating whether $v_k$ is used in a set or not, then $F(X_1, \dots, X_N) \neq 0$ exactly when the $X_i$'s equal to $1$ correspond to a nonempty subset of the vectors which have vanishing sum.
Now assume for contradiction $N < D \cdot (p-1)$. Then the largest degree term is given in the latter product; it is exactly $(-1)^{N+1} X_1 X_2 \dots X_N$. So if we quote Alon's combinatorial nullstellensatz, it now follows that there is a choice of $X_i \in \{0,1\}$ such that $F(X_1, \dots, X_N) \neq 0$ which is a contradiction. $\square$
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
IAmTheHazard
5007 posts
#13
Y by
The answer is $(p-1)^2$

Interpret each number as a $\mathbb{F}_p^{p-1}$ vector with entries corresponding to their $\nu_q$ modulo $p$: we are asked to find the largest multiset of vectors such that no nonempty subset of them sum to the $0$ vector. For a construction, we may take $p-1$ copies of each of the $p-1$ vectors with one entry equal to $1$ and the rest $0$.

I will now prove that $k:=|A|>(p-1)^2$ is impossible. To that end, suppose we had $k$ vectors $v_1,\ldots,v_k$ and the $j$-th element of $v_i$ was $a_{ij}$. Consider the following polynomial in $\mathbb{F}_p[x_1,\ldots,x_k]$:
$$P(x):=\prod_{i=1}^{k} (1-x_i)-\prod_{j=1}^{p-1} \left(1-\left(\sum_{i=1}^k a_{ij}x_i\right)^{p-1}\right).$$If we restrict $x_i \in \{0,1\}$ for all $i$, then choosing some subset of the vectors and summing them is equivalent to setting some subset of the $x_i$ to $1$ (and the rest $0$). If we choose the empty set, i.e. $x_i=0$ always, then the first and second products are both $1$. Otherwise, the first product clearly vanishes, and by hypothesis, since some entry of their sum is nonzero, Fermat's little theorem guarantees that the second product vanishes as well. Thus $P$ vanishes for any choice of $(x_1,\ldots,x_k) \in \{0,1\}^k$, but since $k>(p-1)^2$ it contains the maximal-degree term $(-1)^kx_1\ldots x_k$, which yields a contradiction by combinatorial nullstellensatz. $\blacksquare$
This post has been edited 1 time. Last edited by IAmTheHazard, Jan 8, 2024, 2:08 AM
Z K Y
N Quick Reply
G
H
=
a