Summer is a great time to explore cool problems to keep your skills sharp!  Schedule a class today!

G
Topic
First Poster
Last Poster
k a June Highlights and 2025 AoPS Online Class Information
jlacosta   0
Jun 2, 2025
Congratulations to all the mathletes who competed at National MATHCOUNTS! If you missed the exciting Countdown Round, you can watch the video at this link. Are you interested in training for MATHCOUNTS or AMC 10 contests? How would you like to train for these math competitions in half the time? We have accelerated sections which meet twice per week instead of once starting on July 8th (7:30pm ET). These sections fill quickly so enroll today!

[list][*]MATHCOUNTS/AMC 8 Basics
[*]MATHCOUNTS/AMC 8 Advanced
[*]AMC 10 Problem Series[/list]
For those interested in Olympiad level training in math, computer science, physics, and chemistry, be sure to enroll in our WOOT courses before August 19th to take advantage of early bird pricing!

Summer camps are starting this month at the Virtual Campus in math and language arts that are 2 - to 4 - weeks in duration. Spaces are still available - don’t miss your chance to have a transformative summer experience. 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 upcoming events:
[list][*]June 5th, Thursday, 7:30pm ET: Open Discussion with Ben Kornell and Andrew Sutherland, Art of Problem Solving's incoming CEO Ben Kornell and CPO Andrew Sutherland host an Ask Me Anything-style chat. Come ask your questions and get to know our incoming CEO & CPO!
[*]June 9th, Monday, 7:30pm ET, Game Jam: Operation Shuffle!, Come join us to play our second round of Operation Shuffle! If you enjoy number sense, logic, and a healthy dose of luck, this is the game for you. No specific math background is required; all are welcome.[/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, Jun 15 - Oct 12
Monday, Jun 30 - Oct 20
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
Monday, Jun 2 - Sep 22
Sunday, Jun 29 - Oct 26
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
Sunday, Jun 15 - Oct 12
Thursday, Jun 26 - Oct 9
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
Sunday, Jun 1 - Aug 24
Thursday, Jun 12 - Aug 28
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
Tuesday, Nov 4 - Feb 10
Sunday, Dec 7 - Mar 8

Introduction to Number Theory
Monday, Jun 9 - Aug 25
Sunday, Jun 15 - Sep 14
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
Wednesday, Jun 4 - Sep 17
Sunday, Jun 22 - Oct 19
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, Jun 16 - Dec 8
Friday, Jun 20 - Jan 9
Sunday, Jun 29 - Jan 11
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!)

Intermediate: Grades 8-12

Intermediate Algebra
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
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, Jun 22 - Nov 2
Sunday, Sep 28 - Feb 15
Tuesday, Nov 4 - Mar 24

Intermediate Number Theory
Sunday, Jun 1 - Aug 24
Wednesday, Jun 18 - Sep 3
Wednesday, Sep 24 - Dec 17

Precalculus
Sunday, Jun 1 - Nov 9
Monday, Jun 30 - Dec 8
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

Olympiad Geometry
Tuesday, Jun 10 - Aug 26

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

Group Theory
Thursday, Jun 12 - Sep 11

Contest Preparation: Grades 6-12

MATHCOUNTS/AMC 8 Basics
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!)
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
Wednesday, Jun 11 - Aug 27
Sunday, Jun 22 - Sep 21
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
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!)
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
Monday, Jun 30 - Jul 21
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
Thursday, Jun 12 - Aug 28
Sunday, Jun 22 - Sep 21
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
Sunday, Jun 22 - Sep 21
Tuesday, Sep 2 - Nov 18

F=ma Problem Series
Wednesday, Jun 11 - Aug 27
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
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
Thursday, Aug 14 - Oct 30
Sunday, Sep 7 - Nov 23
Tuesday, Dec 2 - Mar 3

Intermediate Programming with Python
Sunday, Jun 1 - Aug 24
Monday, Jun 30 - Sep 22
Friday, Oct 3 - Jan 16

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

Physics

Introduction to Physics
Sunday, Jun 15 - Sep 14
Monday, Jun 23 - Sep 15
Tuesday, Sep 2 - Nov 18
Sunday, Oct 5 - Jan 11
Wednesday, Dec 10 - Mar 11

Physics 1: Mechanics
Monday, Jun 23 - Dec 15
Sunday, Sep 21 - Mar 22
Sunday, Oct 26 - Apr 26

Relativity
Mon, Tue, Wed & Thurs, Jun 23 - Jun 26 (meets every day of the week!)
0 replies
jlacosta
Jun 2, 2025
0 replies
One of the lines is tangent
Rijul saini   8
N 18 minutes ago by ihategeo_1969
Source: LMAO 2025 Day 2 Problem 2
Let $ABC$ be a scalene triangle with incircle $\omega$. Denote by $N$ the midpoint of arc $BAC$ in the circumcircle of $ABC$, and by $D$ the point where the $A$-excircle touches $BC$. Suppose the circumcircle of $AND$ meets $BC$ again at $P \neq D$ and intersects $\omega$ at two points $X$, $Y$.

Prove that either $PX$ or $PY$ is tangent to $\omega$.

Proposed by Sanjana Philo Chacko
8 replies
Rijul saini
Wednesday at 7:02 PM
ihategeo_1969
18 minutes ago
Tricky coloured subgraphs
bomberdoodles   2
N 23 minutes ago by bomberdoodles
Consider a graph with nine vertices, with the vertices labelled 1 through 9. An
edge is drawn between each pair of vertices.

Sally picks any edge of her choice, and colours that edge either red or blue. She keeps repeating
this process, choosing any uncoloured edge, and colouring that edge either red or blue.
The only rule is that she is never allowed to colour an edge either red or blue so that one
of these scenarios occurs:

(i) There exist three numbers $a, b, c$, with $1 \le a < b < c \le 9$, for which the edges $ab, bc, ac$ are
all coloured red.

(ii) There exist four numbers $p, q, r, s,$ with $1 \le p < q < r < s \le 9$, for which the edges $pq, pr,
ps, qr, qs, rs$ are all coloured blue.

For example, suppose Sally starts by choosing edges 14 and 34, and colouring both of these
edges red. Then if she picks edge 13, she must colour this edge blue, because she cannot colour
it red.

What is the maximum number of edges that Sally can colour?
2 replies
bomberdoodles
6 hours ago
bomberdoodles
23 minutes ago
x^2+6x+33 is perfect square
Demetres   6
N 26 minutes ago by thdwlgh1229
Source: Cyprus 2022 Junior TST-1 Problem 1
Find all integer values of $x$ for which the value of the expression
\[x^2+6x+33\]is a perfect square.
6 replies
Demetres
Feb 21, 2022
thdwlgh1229
26 minutes ago
IMO ShortList 2002, number theory problem 6
orl   33
N 28 minutes ago by lksb
Source: IMO ShortList 2002, number theory problem 6
Find all pairs of positive integers $m,n\geq3$ for which there exist infinitely many positive integers $a$ such that \[ \frac{a^m+a-1}{a^n+a^2-1}  \] is itself an integer.

Laurentiu Panaitopol, Romania
33 replies
orl
Sep 28, 2004
lksb
28 minutes ago
Problem 43: Balkan MO Shortlist 2003
henderson   0
Jul 29, 2016
$$\color{red}\bf{Problem \ 43}$$Two circles $\Gamma_{1}$ and $\Gamma_2$ with radii $r_1$ and $r_2$ $(r_2>r_1),$ respectively are externally tangent. The straight line $t_1$ is tangent to the circles $\Gamma_1$ and $\Gamma_2$ at points $A$ and $D,$ respectively.The parallel line $t_2$ to the line $t_1$ is tangent to the circle $\Gamma_1$ and intersects $\Gamma_2$ at points $E$ and $F.$ The line $t_3$ through $D$ intersects the line $ t_2$ and the circle $\Gamma_2$ at points $B$ and $C,$ respectively, different from $E$ and $F.$ Prove that the circumcircle of triangle $ABC$ is tangent to the line $t_1.$
(Balkan MO Shortlist, 2003)
0 replies
henderson
Jul 29, 2016
0 replies
No more topics!
Primes that divide a³-3a+1
rodamaral   28
N Apr 18, 2025 by Ilikeminecraft
Source: Question 6 - Brazilian Mathematical Olympiad 2017
6. Let $a$ be a positive integer and $p$ a prime divisor of $a^3-3a+1$, with $p \neq 3$. Prove that $p$ is of the form $9k+1$ or $9k-1$, where $k$ is integer.
28 replies
rodamaral
Dec 7, 2017
Ilikeminecraft
Apr 18, 2025
Primes that divide a³-3a+1
G H J
Source: Question 6 - Brazilian Mathematical Olympiad 2017
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
rodamaral
27 posts
#1 • 2 Y
Y by Adventure10, Mango247
6. Let $a$ be a positive integer and $p$ a prime divisor of $a^3-3a+1$, with $p \neq 3$. Prove that $p$ is of the form $9k+1$ or $9k-1$, where $k$ is integer.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
rodamaral
27 posts
#2 • 1 Y
Y by Adventure10
When I first submitted this question some days ago (prior to the publication of the BMO problems) a user solved it but the whole thread go deleted by the mods. Please, feel free to rewrite the solution again.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
62861
3564 posts
#3 • 19 Y
Y by rodamaral, PepsiCola, rkm0959, Davi-8191, mathisreal, Taha1381, Guardiola, Ancy, magicarrow, richrow12, OlympusHero, AFSA, zerononnatural, khina, pavel kozlov, mathleticguyyy, Adventure10, MS_asdfgzxcvb, aidan0626
You've got to be kidding me.
Let $t$ be a root of $x^2 - ax + 1$. If $x^2 - ax + 1$ splits in $\mathbb{F}_p[x]$, then $t \in \mathbb{F}_p$; otherwise $t \in \mathbb{F}_{p^2}$. Either way, $t \in \mathbb{F}_{p^2}$.

Then $a = t + \tfrac{1}{t}$. We obtain the $\mathbb{F}_{p^2}$ equality chain
\[\left(t + \frac{1}{t}\right)^3 - 3\left(t + \frac{1}{t}\right) + 1 = 0 \implies t^3 + \frac{1}{t^3} + 1 = 0 \implies t^9 = 1.\]Thus the (multiplicative) order of $t$ divides 9, so it is one of 1, 3, or 9. If it is one of 1 or 3, then $t^3 = 1$, meaning $t^3 + \tfrac{1}{t^3} + 1 = 3 = 0$, so $p = 3$. Otherwise, the order of $t$ is 9.

However, $t$ belongs to $\left(\mathbb{F}_{p^2}\right)^{\times}$, a group with $p^2 - 1$ elements. (It is also cyclic, but we don't need that.) Then by Lagrange, $9 \mid p^2 - 1$, so $p \equiv \pm 1 \pmod{9}$. (If we know that the group is cyclic, we can directly deduce $9 \mid p^2 - 1$.) To conclude, either $p = 3$ or $p \equiv \pm 1 \pmod{9}$.
I find it ridiculous this problem was given in an actual high school olympiad, because (1) this $t + \tfrac{1}{t}$ trick has become quite standard [one easy application is to determine $\left(\tfrac{2}{p}\right)$], and (2) we essentially need to deal with the field of $p^2$ elements, a concept not normally included in the olympiad canon.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
rightways
868 posts
#4 • 3 Y
Y by Abidabi, Adventure10, Mango247
artofproblemsolving.com/community/c6h1412003p7937406
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Gems98
203 posts
#5 • 2 Y
Y by Adventure10, Mango247
Let $t$ be a root of $x^2 - ax + 1$. If $x^2 - ax + 1$ splits in $\mathbb{F}_p[x]$, then $t \in \mathbb{F}_p$; otherwise $t \in \mathbb{F}_{p^2}$. Either way, $t \in \mathbb{F}_{p^2}$.

How can you get this?
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Johann Peter Dirichlet
377 posts
#6 • 2 Y
Y by Adventure10, Mango247
There is a more elementary approach to it?
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Géza Kós
111 posts
#7 • 16 Y
Y by rightways, anantmudgal09, fattypiggy123, Johann Peter Dirichlet, Guardiola, smurfcc, Lyte188, Illuzion, richrow12, OlympusHero, Ruy, pavel kozlov, PHSH, Zhaom, Adventure10, Kingsbane2139
An equivalent elaim: If $a,b$ are co-prime integers, and $p\ne3$ is a prime divisor of $a^3-3ab^2+b^3$ then $p\equiv\pm1\pmod9$.

For the sake of contradiction, suppose that there is a prime $p$ and two integers $a,b$ such that $p|a^3-3ab^2+b^3$, $p\ne3$, $p$ is not a common divisor of $a,b$ but $p\not\equiv\pm1\pmod9$. Take the smallest such $p$. Obviously $p\ne2$, so $p\ge5$.
Using Thue's lemma, we can replace $a$ and $b$ by smaller numbers: we show that there are some integers $c,d$, not both zero, such that $|c|,|d|<\sqrt{p}$ and $p|c^3-3cd^2+d^3$.

Next, we divide $c$ and $d$ by their greatest common divisor. Let $g=gcd(c,d)$, $e=c/g$ and $d/g$. notice that $c^3-3cd^2+d^3\ne0$ and $g^3\le|c^3-3cd^2+d^3|<4p^{3/2}<p^3$, so $g$ is not divisible by $p$. Then the have $p|e^3-3ef^2+f^3$.

Considering $e$ and $f$ modulo $3$ and $9$, we can see that $e^3-3ef^2+f^3\equiv\pm1\pmod{9}$ or $e^3-3ef^2+f^3\equiv\pm3\pmod{27}$. Hence there is another prime divisor $q\ne3$ of $\frac{e^3-3ef^2+f^3}{p}$ with $q\not\equiv\pm1\pmod9$.

It is easy to prove that $|e^3-3ef^2+f^3|<3p^{3/2}$. Then
$$ q \le \frac{|e^3-3ef^2+f^3|}{p} < \frac{3^{3/2}}{p} = 3\sqrt{p}. $$If $p<9$ then $q<p$, contradiction.

The primes $p=2,5,7$ must be checked manually.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Lyte188
82 posts
#11
Y by
CantonMathGuy wrote:
You've got to be kidding me.
Let $t$ be a root of $x^2 - ax + 1$. If $x^2 - ax + 1$ splits in $\mathbb{F}_p[x]$, then $t \in \mathbb{F}_p$; otherwise $t \in \mathbb{F}_{p^2}$. Either way, $t \in \mathbb{F}_{p^2}$.

It still not clear for me. For example, consider $x^2 - 4x + 1$, it has no root either in $\mathbb{F}_{5}$ or $\mathbb{F}_{25}$, otherwise $\phi(25) = 6k$ which is obviously false. Then, there is no $t$ such that $t +\frac{1}{t}= 4$ $(mod\; 25 )$.

Can you (or anyone else who understood) explain better this part?
This post has been edited 4 times. Last edited by Lyte188, May 11, 2020, 3:17 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
rcorreaa
238 posts
#12
Y by
Lyte188 wrote:
CantonMathGuy wrote:
You've got to be kidding me.
Let $t$ be a root of $x^2 - ax + 1$. If $x^2 - ax + 1$ splits in $\mathbb{F}_p[x]$, then $t \in \mathbb{F}_p$; otherwise $t \in \mathbb{F}_{p^2}$. Either way, $t \in \mathbb{F}_{p^2}$.

It still not clear for me. For example, consider $x^2 - 4x + 1$, it has no root either in $\mathbb{F}_{5}$ or $\mathbb{F}_{25}$, otherwise $\phi(25) = 6k$ which is obviously false. Then, there is no $t$ such that $t +\frac{1}{t}= 4$ $(mod\; 25 )$.

Can you (or anyone else who understood) explain better this part?

He works in the field $x+y\sqrt{t}$ modulo $p$.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
djmathman
7939 posts
#13 • 3 Y
Y by vsamc, programjames1, Bluestorm
The field $\mathbb F_{25}$ does not represent the "field" of integers modulo $25$ (which can't be a field!); instead, it is the unique (up to isomorphism) degree-two extension of $\mathbb F_5$.

More specifically, since $x^2 - 4x + 1$ has no root in $\mathbb F_5$, this polynomial is irreducible, and so the quotient $\tfrac{\mathbb F_5[x]}{(x^2 - 4x + 1)}$ is a field. We can describe this field symbolically as follows: if $\alpha$ (formally!) satisfies $\alpha^2 - 4\alpha + 1=0$, then the elements of this field are the $25$ elements of the form $a\alpha + b$, where $a,b\in\{0,1,2,3,4\}$.

It turns out that there is only one finite field of $25$ elements up to isomorphism; we denote this field by $\mathbb F_{25}$. This construction generalizes to finite fields of arbitrary prime power.

(EDIT: sniped, oh well)
This post has been edited 2 times. Last edited by djmathman, May 11, 2020, 3:34 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Lyte188
82 posts
#14
Y by
Thank you @djmathman and @rcorrea, your comments gave me a good direction for starting to study abstract algebra and what so ever.
This post has been edited 1 time. Last edited by Lyte188, May 14, 2020, 2:56 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
v_Enhance
6882 posts
#15 • 3 Y
Y by Generic_Username, v4913, PHSH
Solution from Twitch Solves ISL:

Write $a = x + \frac 1x$ for some $x \in {\mathbb F}_{p^2}$.
Claim: The element $x$ has order $9$.
Proof. Because \begin{align*} 		0 &= \left( x + \frac 1x \right)^3 		- 3 \left( x + \frac 1x \right) + 1 \\ 		&= x^3 + x^{-3} + 1 = \frac{x^6+x^3+1}{x^3}. 	\end{align*}This implies $x^9=1$, so $x$ has order dividing $9$. However, $x^3 \neq 1$ since $p > 3$. Therefore, $x$ has order exactly $9$. $\blacksquare$
Thus $9 \mid p^2-1$ so we're done.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Ruy
27 posts
#17 • 2 Y
Y by Lyte188, Jucrguedes
v_Enhance wrote:
Solution from Twitch Solves ISL:

Write $a = x + \frac 1x$ for some $x \in {\mathbb F}_{p^2}$.
Claim: The element $x$ has order $9$.
Proof. Because \begin{align*} 		0 &= \left( x + \frac 1x \right)^3 		- 3 \left( x + \frac 1x \right) + 1 \\ 		&= x^3 + x^{-3} + 1 = \frac{x^6+x^3+1}{x^3}. 	\end{align*}This implies $x^9=1$, so $x$ has order dividing $9$. However, $x^3 \neq 1$ since $p > 3$. Therefore, $x$ has order exactly $9$. $\blacksquare$
Thus $9 \mid p^2-1$ so we're done.


Can you just tell me where can I get material about the notations and theorems that you used in this solution? I don't really understand what are you intentions. Seems that I just have flashes of understanding what you saying. Thanks for reading!
This post has been edited 1 time. Last edited by Ruy, Oct 7, 2020, 6:20 PM
Reason: Not good in group theory...
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Lukas8r20
264 posts
#18
Y by
v_Enhance wrote:

Write $a = x + \frac 1x$ for some $x \in {\mathbb F}_{p^2}$.
.
Why are we allowed to do that ? I thought that we could only work with integers in such fields, or am I wrong somewhere?
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
spartacle
538 posts
#19 • 1 Y
Y by mira74
@above it is because the equation $x + \frac{1}{x} = a \iff x^2-ax+1 = 0$ is a quadratic equation, and every quadratic with coefficients in $\mathbb{F}_p$ has roots in $\mathbb{F}_{p^2}$
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Lukas8r20
264 posts
#20
Y by
Could you proof that Statement please, would be really Kind.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
spartacle
538 posts
#21 • 2 Y
Y by mira74, rightways
$\mathbb{F}_{p^2}$ is defined as follows:
Take $\alpha$ to be a root of an irreducible quadratic (say $x^2 + qx + r$) in $\mathbb{F}_p[x]$. Then $\mathbb{F}_{p^2}$ is the set
$$\{ a+b\alpha \, \mid \, a, b, \in \mathbb{F}_p\}$$
Clearly, in this definition it makes no difference if we replace $\alpha$ with $\alpha - \frac{q}{2}$, which means that we can assume $\alpha$ is the root of $x^2 + r$ for some $r$, i.e. $\alpha^2 = s$ for some quadratic non-residue $s$ mod $p$.

Then we can just use the quadratic formula. Take any quadratic $x^2 + bx+c$ in $\mathbb{F}_p[x]$. If its discriminant $b^2-4c$ is a quadratic residue mod $p$, then the quadratic formula gives us two roots in $\mathbb{F}_p$. Otherwise, $\frac{b^2-4c}{s}$ is a quadratic residue mod $p$, say $e^2 \equiv \frac{b^2-4c}{s}$. Then notice that
$$\frac{-b \pm \alpha e}{2}$$
are the roots of the quadratic, and lie in $\mathbb{F}_{p^2}$.

Note this proof won't work if $p=2$ since we divide by $2$ a couple of times, but we can just check it manually then.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Lukas8r20
264 posts
#22
Y by
v_Enhance wrote:
Solution from Twitch Solves ISL:

Write $a = x + \frac 1x$ for some $x \in {\mathbb F}_{p^2}$.
Claim: The element $x$ has order $9$.
Proof. Because \begin{align*} 		0 &= \left( x + \frac 1x \right)^3 		- 3 \left( x + \frac 1x \right) + 1 \\ 		&= x^3 + x^{-3} + 1 = \frac{x^6+x^3+1}{x^3}. 	\end{align*}This implies $x^9=1$, so $x$ has order dividing $9$. However, $x^3 \neq 1$ since $p > 3$. Therefore, $x$ has order exactly $9$. $\blacksquare$
Thus $9 \mid p^2-1$ so we're done.

Or just why can you follow that $9 \mid p^2-1$?
This post has been edited 1 time. Last edited by Lukas8r20, Oct 1, 2020, 5:27 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Lukas8r20
264 posts
#23
Y by
pls help, I need it for school tomorow
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Ruy
27 posts
#24 • 1 Y
Y by Jucrguedes
Lukas8r20 wrote:
pls help, I need it for school tomorow

I don't really understand what you are asking, but the step that he concludes the divisibility relation follows since Lagrange's theorem on Group Theory. I mean, order of $x$ is $9$ (related to the field in question) implies in $9$ divides the order of the field. Is that what you want?
This post has been edited 1 time. Last edited by Ruy, Jul 27, 2022, 6:23 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Ruy
27 posts
#25
Y by
Old question.
This post has been edited 1 time. Last edited by Ruy, Jul 27, 2022, 6:22 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
IAmTheHazard
5005 posts
#27
Y by
First, I claim that there exists a solution $x \in \mathbb{F}_{p^2}$ to $x+\tfrac{1}{x}=a \iff x^2-ax+1=0$. By the quadratic formula, if $a^2-4$ is a QR then in fact $x \in \mathbb{F}_p$, otherwise $a^2-4$ is an NQR and we still have $x \in \mathbb{F}_{p^2}$. Thus we may substitute $a=x+\tfrac{1}{x}$, whence
$$0=a^3-3a+1=x^3+1+\frac{1}{x^3} \implies x^6+x^3+1=0,$$where all equalities are in $\mathbb{F}_{p^2}$. This implies that the order of $x$ in $\mathbb{F}_{p^2}$ is $9$, since $p \neq 3$. This then implies $9 \mid p^2-1$, so we're done. $\blacksquare$
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
HamstPan38825
8880 posts
#28
Y by
Set $a = x + \frac 1x$, so that the equation becomes $$x^6+x^3+1 \equiv 0 \pmod p.$$This requires the order of $x$ mod $p$ to be precisely equal to $9$. On the other hand, $x = \frac{a \pm \sqrt{a^2-4}}2$ is an element of $\mathbb F_{p^2}$, so $9 \mid p^2-1$ and we have the result.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
KnowingAnt
156 posts
#29
Y by
We show the stronger condition that $x^3 - 3x + 1$ has one root in $\mathbb F_p$ if $p = 3$, three roots in $\mathbb F_p$ if $p \equiv \pm 1 \pmod{18}$, and no roots in $\mathbb F_p$ otherwise. When $p = 3$, the only root is $x = 2$, from now on, assume $p \neq 3$. Throughout, let $\omega$ be a root of $\Phi_{18}$ and $\sigma$ be the Frobenius automorphism sending $x$ to $x^p$. Solving the cubic shows $x^3 - 3x + 1$ has roots $-(\omega + \omega^{-1})$, $-(\omega^5 + \omega^{-5})$, and $-(\omega^7 + \omega^{-7})$.

Since $\operatorname{Gal}(\mathbb F_p(\omega)/\mathbb F_p) = \{\operatorname{id},\sigma,\dots,\sigma^{\operatorname{ord}_{18}(p)}\}$, the degree of the field extension $\mathbb F_p(\omega)/\mathbb F_p$ is $1$ if $p \equiv 1 \pmod{18}$, $2$ if $p \equiv -1 \pmod{18}$, and $3$ or $6$ otherwise.

We show $\omega + \omega^{-1} \not\in \mathbb F_p$ if $p \not\equiv \pm 1 \pmod{18}$, which is enough since $\mathbb F_p(\omega)$ is Galois. We have
\[3 \ge [\mathbb F_p(\omega) : \mathbb F_p] = [\mathbb F_p(\omega) : \mathbb F_p(\omega + \omega^{-1})][\mathbb F_p(\omega + \omega^{-1}) : \mathbb F_p] \ge 2[\mathbb F_p(\omega + \omega^{-1}) : \mathbb F_p],\]so $\mathbb F_p(\omega + \omega^{-1})/\mathbb F_p$ is nontrivial and $\omega + \omega^{-1} \not\in \mathbb F_p$.

We show $\omega + \omega^{-1} \in \mathbb F_p$ if $p \equiv \pm 1 \pmod{18}$, which is enough since $\mathbb F_p(\omega)/\mathbb F_p$ is Galois. If $p \equiv 1 \pmod{18}$, $\omega \in \mathbb F_p$ and we are done. If $p \equiv -1 \pmod{18}$, the minimal polynomial of $\omega$ is
\[(x - \omega)(x - \sigma(\omega)) = x^2 - (\omega + \omega^p)x + \omega^{p + 1} = x^2 - (\omega + \omega^{-1})x + 1.\]But the minimal polynomial has coefficients in $\mathbb F_p$, so $\omega + \omega^{-1}$ is in $\mathbb F_p$.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
straight
415 posts
#30
Y by
relevant: IMC 2020 P6
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
OronSH
1748 posts
#31 • 1 Y
Y by MihaiT
Set $a=t+\tfrac1t$ for $t$ in $\Bbb F_{p^2}$ so $t^3+1+\tfrac1{t^3}=0$ or $t^6+t^3+1=0$. If $t$ is a root of $x^3-1$ and $x^6+x^3+1$ then $x$ is a root of $3$ so $p=3$. Otherwise $t$ has order $9$, so since $t^{p^2-1}=1$ we have $9\mid p^2-1$ or $p\equiv\pm1\pmod9$.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
MihaiT
765 posts
#32
Y by
OronSH wrote:
Set $a=t+\tfrac1t$ for $t$ in $\Bbb F_{p^2}$ so $t^3+1+\tfrac1{t^3}=0$ or $t^6+t^3+1=0$. If $t$ is a root of $x^3-1$ and $x^6+x^3+1$ then $x$ is a root of $3$ so $p=3$. Otherwise $t$ has order $9$, so since $t^{p^2-1}=1$ we have $9\mid p^2-1$ or $p\equiv\pm1\pmod9$.

very nice! :love:
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
ihategeo_1969
247 posts
#33
Y by
Set $a=x+\frac 1x$ in $\mathbb{F}_{p^2}=\mathbb{F}_{p}[\sqrt{a^2-4}]$ (which has order $p^2-1$)and so we have (since $p \neq 3$) \[x^6+x^3+1 \equiv 0 \pmod p \iff x^9 \equiv 1 \pmod p \iff 9 \mid p^2-1\]And done.
This post has been edited 1 time. Last edited by ihategeo_1969, Mar 9, 2025, 9:16 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Ilikeminecraft
685 posts
#34
Y by
Let $x \in \mathbb F_{p^2}$ such that $a = x + \frac1x$(we can't do this in modulo $p$ since $a^2 -4$ could be a qnr). We get $x^3 + 1 + \frac1{x^3} = \frac1{x^3} \Phi_9(x).$ Therefore, $9$ is the order of $x$ in $\mathbb F_{p^2}.$ Since the order of $\mathbb F_{p^2}$ is exactly $p^2 - 1,$ it follows $9\mid p^2 - 1,$ which implies the statement.
This post has been edited 1 time. Last edited by Ilikeminecraft, Apr 18, 2025, 11:31 PM
Z K Y
N Quick Reply
G
H
=
a