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 May Highlights and 2025 AoPS Online Class Information
jlacosta   0
May 1, 2025
May is an exciting month! National MATHCOUNTS is the second week of May in Washington D.C. and our Founder, Richard Rusczyk will be presenting a seminar, Preparing Strong Math Students for College and Careers, on May 11th.

Are you interested in working towards MATHCOUNTS and don’t know where to start? We have you covered! If you have taken Prealgebra, then you are ready for MATHCOUNTS/AMC 8 Basics. Already aiming for State or National MATHCOUNTS and harder AMC 8 problems? Then our MATHCOUNTS/AMC 8 Advanced course is for you.

Summer camps are starting next 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 an enriching 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][*]May 9th, 4:30pm PT/7:30pm ET, Casework 2: Overwhelming Evidence — A Text Adventure, a game where participants will work together to navigate the map, solve puzzles, and win! All are welcome.
[*]May 19th, 4:30pm PT/7:30pm ET, What's Next After Beast Academy?, designed for students finishing Beast Academy and ready for Prealgebra 1.
[*]May 20th, 4:00pm PT/7:00pm ET, Mathcamp 2025 Qualifying Quiz Part 1 Math Jam, Problems 1 to 4, join the Canada/USA Mathcamp staff for this exciting Math Jam, where they discuss solutions to Problems 1 to 4 of the 2025 Mathcamp Qualifying Quiz!
[*]May 21st, 4:00pm PT/7:00pm ET, Mathcamp 2025 Qualifying Quiz Part 2 Math Jam, Problems 5 and 6, Canada/USA Mathcamp staff will discuss solutions to Problems 5 and 6 of the 2025 Mathcamp Qualifying Quiz![/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
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
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, 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
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
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
Tuesday, May 6 - Aug 19
Wednesday, Jun 4 - Sep 17
Sunday, Jun 22 - Oct 19
Friday, Jul 18 - Nov 14

Introduction to Geometry
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

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

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

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

Precalculus
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
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
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

AIME Problem Series A
Thursday, May 22 - Jul 31

AIME Problem Series B
Sunday, Jun 22 - Sep 21

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
Mon, Tue, Wed & Thurs, Jun 23 - Jun 26 (meets every day of the week!)
0 replies
jlacosta
May 1, 2025
0 replies
3^n + 61 is a square
VideoCake   28
N 14 minutes ago by Jupiterballs
Source: 2025 German MO, Round 4, Grade 11/12, P6
Determine all positive integers \(n\) such that \(3^n + 61\) is the square of an integer.
28 replies
VideoCake
May 26, 2025
Jupiterballs
14 minutes ago
Centroid, altitudes and medians, and concyclic points
BR1F1SZ   5
N 17 minutes ago by AshAuktober
Source: Austria National MO Part 1 Problem 2
Let $\triangle{ABC}$ be an acute triangle with $BC > AC$. Let $S$ be the centroid of triangle $ABC$ and let $F$ be the foot of the perpendicular from $C$ to side $AB$. The median $CS$ intersects the circumcircle $\gamma$ of triangle $\triangle{ABC}$ at a second point $P$. Let $M$ be the point where $CS$ intersects $AB$. The line $SF$ intersects the circle $\gamma$ at a point $Q$, such that $F$ lies between $S$ and $Q$. Prove that the points $M,P,Q$ and $F$ lie on a circle.

(Karl Czakler)
5 replies
BR1F1SZ
May 5, 2025
AshAuktober
17 minutes ago
Easy one
irregular22104   1
N 32 minutes ago by IceyCold
Given two positive integers $a,b$ written on the board. We apply the following rule: At each step, we will add all the numbers that are the sum of the two numbers on the board so that the sum does not appear on the board. For example, if the two initial numbers are $2,5$; then the numbers on the board after step 1 are $2,5,7$; after step 2 are $2,5,7,9,12;...$
1) With $a = 3$; $b = 12$, prove that the number 2024 cannot appear on the board.
2) With $a = 2$; $b = 34$, prove that the number 2024 can appear on the board.
1 reply
irregular22104
May 6, 2025
IceyCold
32 minutes ago
Own Problem
BinariouslyRandom   1
N 35 minutes ago by zacharveyyyy
LuAn is a renowned treasure hunter from Muntinlupa City. One day while patrolling the jungles of Mindanao, he found a safe with the following problem written on it:
[quote]Convert \(50392420515\) (base-10) into base-\(n\), where \(n\) is the smallest integer that has 8 factors. The answer will be the code to the safe.[/quote]
What is the secret password?

Note: If n > 10, A = 11, B = 12, and so on.
1 reply
BinariouslyRandom
Yesterday at 11:21 AM
zacharveyyyy
35 minutes ago
An easy number theory problem
TUAN2k8   0
an hour ago
Source: Own
Find all positive integers $n$ such that there exist positive integers $a$ and $b$ with $a \neq b$ satifying the condition that,
$1) \frac{a^n}{b} + \frac{b^n}{a}$ is an integer.
$2) \frac{a^n}{b} + \frac{b^n}{a} | a^{10}+b^{10}$.
0 replies
TUAN2k8
an hour ago
0 replies
Polynomial having infinitely many prime divisors
goodar2006   12
N an hour ago by quantam13
Source: Iran 3rd round 2011-Number Theory exam-P1
$P(x)$ is a nonzero polynomial with integer coefficients. Prove that there exists infinitely many prime numbers $q$ such that for some natural number $n$, $q|2^n+P(n)$.

Proposed by Mohammad Gharakhani
12 replies
goodar2006
Sep 19, 2012
quantam13
an hour ago
Find x^2 + y^2
Darealzolt   2
N an hour ago by ohiorizzler1434
Let \(x,y\) be positive real numbers that fulfill
\[
\frac{x^2}{y^2}+\frac{4x^2-3xy-4y^2}{2xy-5y^2}=2
\]Hence find the value of \(x^2+y^2\)
2 replies
Darealzolt
2 hours ago
ohiorizzler1434
an hour ago
[PMO27 Qualis] III.4 Grid path (sort of)
aops-g5-gethsemanea2   3
N 2 hours ago by tapilyoca
How many ways are there to write each integer from \( 1 \) to \( 6 \) on a different unit square of a \( 3 \times 3 \) square grid, such that consecutive integers are on adjacent squares, and \( 1 \) is not adjacent to \( 6 \)? (Note that adjacent squares are squares that share a common side.)
3 replies
aops-g5-gethsemanea2
Jan 29, 2025
tapilyoca
2 hours ago
NT problem
toanrathay   0
2 hours ago
Let $p$ be a prime and $m,n$ be positive integers such that $m>1$ and $\dfrac{m^{pn}-1}{m^n-1}$ is prime. Prove that $pn\mid (p-1)^n+1.$
0 replies
toanrathay
2 hours ago
0 replies
[PMO19 Areas I.18] easy combi
tapilyoca   2
N 2 hours ago by tapilyoca
A railway passes through four towns $A$, $B$, $C$, and $D$. The railway forms a complete loop, as shown below, and trains go in both directions. Suppose that a trip between two adjacent towns costs one ticket. Using exactly eight tickets, how many distinct ways are there of traveling from town $A$ and ending at town $A$? (You may pass through town $A$ in the middle).

IMAGE
2 replies
tapilyoca
2 hours ago
tapilyoca
2 hours ago
Original Problem
wonderboy807   0
2 hours ago
f(0)=f(1)=1. \frac{f(n)f(n-m+1)}{f(n-m)} + \frac{f(n+1)f(n-m)}{f(m-n)} = \frac{f(n+2)f(n-m)f(m-n)}{f(n-m+1)f(m-n+1)}. Find f(10).

Answer: Click to reveal hidden text

Solution: Click to reveal hidden text
0 replies
wonderboy807
2 hours ago
0 replies
rare creative geo problem spotted in the wild
abbominable_sn0wman   4
N 3 hours ago by abbominable_sn0wman
The following is the construction of the twindragon fractal.

Let $I_0$ be the solid square region with vertices at
\[
(0, 0), \left(\frac{1}{2}, \frac{1}{2}\right), (1, 0), \left(\frac{1}{2}, -\frac{1}{2}\right).
\]
Recursively, the region $I_{n+1}$ consists of two copies of $I_n$: one copy which is rotated $45^\circ$ counterclockwise around the origin and scaled by a factor of $\frac{1}{\sqrt{2}}$, and another copy which is also rotated $45^\circ$ counterclockwise around the origin and scaled by a factor of $\frac{1}{\sqrt{2}}$, and then translated by $\left(\frac{1}{2}, -\frac{1}{2}\right)$.

We have displayed $I_0$ and $I_1$ below.

Let $I_\infty$ be the limiting region of the sequence $I_0, I_1, \dots$.

The area of the smallest convex polygon which encloses $I_\infty$ can be written as $\frac{a}{b}$ for relatively prime positive integers $a$ and $b$. Find $a + b$.
4 replies
abbominable_sn0wman
Yesterday at 6:04 PM
abbominable_sn0wman
3 hours ago
Indonesia Juniors 2012 day 2 OSN SMP
parmenides51   3
N 3 hours ago by Rayholr123
p1. One day, a researcher placed two groups of species that were different, namely amoeba and bacteria in the same medium, each in a certain amount (in unit cells). The researcher observed that on the next day, which is the second day, it turns out that every cell species divide into two cells. On the same day every cell amoeba prey on exactly one bacterial cell. The next observation carried out every day shows the same pattern, that is, each cell species divides into two cells and then each cell amoeba prey on exactly one bacterial cell. Observation on day $100$ shows that after each species divides and then each amoeba cell preys on exactly one bacterial cell, it turns out kill bacteria. Determine the ratio of the number of amoeba to the number of bacteria on the first day.


p2. It is known that $n$ is a positive integer. Let $f(n)=\frac{4n+\sqrt{4n^2-1}}{\sqrt{2n+1}+\sqrt{2n-1}}$.
Find $f(13) + f(14) + f(15) + ...+ f(112).$


p3. Budi arranges fourteen balls, each with a radius of $10$ cm. The first nine balls are placed on the table so that
form a square and touch each other. The next four balls placed on top of the first nine balls so that they touch each other. The fourteenth ball is placed on top of the four balls, so that it touches the four balls. If Bambang has fifty five balls each also has a radius of $10$ cm and all the balls are arranged following the pattern of the arrangement of the balls made by Budi, calculate the height of the center of the topmost ball is measured from the table surface in the arrangement of the balls done by Bambang.


p4. Given a triangle $ABC$ whose sides are $5$ cm, $ 8$ cm, and $\sqrt{41}$ cm. Find the maximum possible area of the rectangle can be made in the triangle $ABC$.


p5. There are $12$ people waiting in line to buy tickets to a show with the price of one ticket is $5,000.00$ Rp.. Known $5$ of them they only have $10,000$ Rp. in banknotes and the rest is only has a banknote of $5,000.00$ Rp. If the ticket seller initially only has $5,000.00$ Rp., what is the probability that the ticket seller have enough change to serve everyone according to their order in the queue?
3 replies
parmenides51
Nov 3, 2021
Rayholr123
3 hours ago
2018 Sipnayan Junior Highscool Semifinals A Average.1
wonderboy807   0
3 hours ago
Let f(1) = 2016 , f(2) = 2018 ,

f(n) = [f(n-1)]^2 + [f(n-2)]^2 \quad \text{for all } n \geq 3.

What is the units digit of f(2018) ?

Answer: Click to reveal hidden text

Solution: Click to reveal hidden text
0 replies
wonderboy807
3 hours ago
0 replies
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
7938 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
6879 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
8868 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
154 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
243 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
672 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