Stay ahead of learning milestones! Enroll in a class over the summer!

G
Topic
First Poster
Last Poster
k a April Highlights and 2025 AoPS Online Class Information
jlacosta   0
Apr 2, 2025
Spring is in full swing and summer is right around the corner, what are your plans? At AoPS Online our schedule has new classes starting now through July, so be sure to keep your skills sharp and be prepared for the Fall school year! Check out the schedule of upcoming classes below.

WOOT early bird pricing is in effect, don’t miss out! If you took MathWOOT Level 2 last year, no worries, it is all new problems this year! Our Worldwide Online Olympiad Training program is for high school level competitors. AoPS designed these courses to help our top students get the deep focus they need to succeed in their specific competition goals. Check out the details at this link for all our WOOT programs in math, computer science, chemistry, and physics.

Looking for summer camps in math and language arts? Be sure to check out the video-based summer camps offered at the Virtual Campus that are 2- to 4-weeks in duration. There are middle and high school competition math camps as well as Math Beasts camps that review key topics coupled with fun explorations covering areas such as graph theory (Math Beasts Camp 6), cryptography (Math Beasts Camp 7-8), and topology (Math Beasts Camp 8-9)!

Be sure to mark your calendars for the following events:
[list][*]April 3rd (Webinar), 4pm PT/7:00pm ET, Learning with AoPS: Perspectives from a Parent, Math Camp Instructor, and University Professor
[*]April 8th (Math Jam), 4:30pm PT/7:30pm ET, 2025 MATHCOUNTS State Discussion
April 9th (Webinar), 4:00pm PT/7:00pm ET, Learn about Video-based Summer Camps at the Virtual Campus
[*]April 10th (Math Jam), 4:30pm PT/7:30pm ET, 2025 MathILy and MathILy-Er Math Jam: Multibackwards Numbers
[*]April 22nd (Webinar), 4:00pm PT/7:00pm ET, Competitive Programming at AoPS (USACO).[/list]
Our full course list for upcoming classes is below:
All classes run 7:30pm-8:45pm ET/4:30pm - 5:45pm PT unless otherwise noted.

Introductory: Grades 5-10

Prealgebra 1 Self-Paced

Prealgebra 1
Sunday, Apr 13 - Aug 10
Tuesday, May 13 - Aug 26
Thursday, May 29 - Sep 11
Sunday, Jun 15 - Oct 12
Monday, Jun 30 - Oct 20
Wednesday, Jul 16 - Oct 29

Prealgebra 2 Self-Paced

Prealgebra 2
Sunday, Apr 13 - Aug 10
Wednesday, May 7 - Aug 20
Monday, Jun 2 - Sep 22
Sunday, Jun 29 - Oct 26
Friday, Jul 25 - Nov 21

Introduction to Algebra A Self-Paced

Introduction to Algebra A
Monday, Apr 7 - Jul 28
Sunday, May 11 - Sep 14 (1:00 - 2:30 pm ET/10:00 - 11:30 am PT)
Wednesday, May 14 - Aug 27
Friday, May 30 - Sep 26
Monday, Jun 2 - Sep 22
Sunday, Jun 15 - Oct 12
Thursday, Jun 26 - Oct 9
Tuesday, Jul 15 - Oct 28

Introduction to Counting & Probability Self-Paced

Introduction to Counting & Probability
Wednesday, Apr 16 - Jul 2
Thursday, May 15 - Jul 31
Sunday, Jun 1 - Aug 24
Thursday, Jun 12 - Aug 28
Wednesday, Jul 9 - Sep 24
Sunday, Jul 27 - Oct 19

Introduction to Number Theory
Thursday, Apr 17 - Jul 3
Friday, May 9 - Aug 1
Wednesday, May 21 - Aug 6
Monday, Jun 9 - Aug 25
Sunday, Jun 15 - Sep 14
Tuesday, Jul 15 - Sep 30

Introduction to Algebra B Self-Paced

Introduction to Algebra B
Wednesday, Apr 16 - Jul 30
Tuesday, May 6 - Aug 19
Wednesday, Jun 4 - Sep 17
Sunday, Jun 22 - Oct 19
Friday, Jul 18 - Nov 14

Introduction to Geometry
Wednesday, Apr 23 - Oct 1
Sunday, May 11 - Nov 9
Tuesday, May 20 - Oct 28
Monday, Jun 16 - Dec 8
Friday, Jun 20 - Jan 9
Sunday, Jun 29 - Jan 11
Monday, Jul 14 - Jan 19

Intermediate: Grades 8-12

Intermediate Algebra
Monday, Apr 21 - Oct 13
Sunday, Jun 1 - Nov 23
Tuesday, Jun 10 - Nov 18
Wednesday, Jun 25 - Dec 10
Sunday, Jul 13 - Jan 18
Thursday, Jul 24 - Jan 22

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

Intermediate Number Theory
Friday, Apr 11 - Jun 27
Sunday, Jun 1 - Aug 24
Wednesday, Jun 18 - Sep 3

Precalculus
Wednesday, Apr 9 - Sep 3
Friday, May 16 - Oct 24
Sunday, Jun 1 - Nov 9
Monday, Jun 30 - Dec 8

Advanced: Grades 9-12

Olympiad Geometry
Tuesday, Jun 10 - Aug 26

Calculus
Tuesday, May 27 - Nov 11
Wednesday, Jun 25 - Dec 17

Group Theory
Thursday, Jun 12 - Sep 11

Contest Preparation: Grades 6-12

MATHCOUNTS/AMC 8 Basics
Wednesday, Apr 16 - Jul 2
Friday, May 23 - Aug 15
Monday, Jun 2 - Aug 18
Thursday, Jun 12 - Aug 28
Sunday, Jun 22 - Sep 21
Tues & Thurs, Jul 8 - Aug 14 (meets twice a week!)

MATHCOUNTS/AMC 8 Advanced
Friday, Apr 11 - Jun 27
Sunday, May 11 - Aug 10
Tuesday, May 27 - Aug 12
Wednesday, Jun 11 - Aug 27
Sunday, Jun 22 - Sep 21
Tues & Thurs, Jul 8 - Aug 14 (meets twice a week!)

AMC 10 Problem Series
Friday, May 9 - Aug 1
Sunday, Jun 1 - Aug 24
Thursday, Jun 12 - Aug 28
Tuesday, Jun 17 - Sep 2
Sunday, Jun 22 - Sep 21 (1:00 - 2:30 pm ET/10:00 - 11:30 am PT)
Monday, Jun 23 - Sep 15
Tues & Thurs, Jul 8 - Aug 14 (meets twice a week!)

AMC 10 Final Fives
Sunday, May 11 - Jun 8
Tuesday, May 27 - Jun 17
Monday, Jun 30 - Jul 21

AMC 12 Problem Series
Tuesday, May 27 - Aug 12
Thursday, Jun 12 - Aug 28
Sunday, Jun 22 - Sep 21
Wednesday, Aug 6 - Oct 22

AMC 12 Final Fives
Sunday, May 18 - Jun 15

F=ma Problem Series
Wednesday, Jun 11 - Aug 27

WOOT Programs
Visit the pages linked for full schedule details for each of these programs!


MathWOOT Level 1
MathWOOT Level 2
ChemWOOT
CodeWOOT
PhysicsWOOT

Programming

Introduction to Programming with Python
Thursday, May 22 - Aug 7
Sunday, Jun 15 - Sep 14 (1:00 - 2:30 pm ET/10:00 - 11:30 am PT)
Tuesday, Jun 17 - Sep 2
Monday, Jun 30 - Sep 22

Intermediate Programming with Python
Sunday, Jun 1 - Aug 24
Monday, Jun 30 - Sep 22

USACO Bronze Problem Series
Tuesday, May 13 - Jul 29
Sunday, Jun 22 - Sep 1

Physics

Introduction to Physics
Wednesday, May 21 - Aug 6
Sunday, Jun 15 - Sep 14
Monday, Jun 23 - Sep 15

Physics 1: Mechanics
Thursday, May 22 - Oct 30
Monday, Jun 23 - Dec 15

Relativity
Sat & Sun, Apr 26 - Apr 27 (4:00 - 7:00 pm ET/1:00 - 4:00pm PT)
Mon, Tue, Wed & Thurs, Jun 23 - Jun 26 (meets every day of the week!)
0 replies
jlacosta
Apr 2, 2025
0 replies
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
Find the formula
JetFire008   3
N 39 minutes ago by Hello_Kitty
Find a formula in compact form for the general term of the sequence defined recursively by $x_1=1, x_n=x_{n-1}+n-1$ if $n$ is even.
3 replies
JetFire008
Yesterday at 12:23 PM
Hello_Kitty
39 minutes ago
$f\circ g +g\circ f=0\implies n$ even
al3abijo   4
N 2 hours ago by alexheinis
Let $n$ a positive integer . suppose that there exist two automorphisms $f,g$ of $\mathbb{R}^n$ such that $f\circ g +g\circ f=0$ .
Prove that $n$ is even.
4 replies
al3abijo
3 hours ago
alexheinis
2 hours ago
D860 : Flower domino and unconnected
Dattier   4
N 2 hours ago by Haris1
Source: les dattes à Dattier
Let G be a grid of size m*n.

We have 2 dominoes in flowers and not connected like here
IMAGE
Determine a necessary and sufficient condition on m and n, so that G can be covered with these 2 kinds of dominoes.

4 replies
Dattier
May 26, 2024
Haris1
2 hours ago
Equal Distances in an Isosceles Setting
mojyla222   3
N 2 hours ago by sami1618
Source: IDMC 2025 P4
Let $ABC$ be an isosceles triangle with $AB=AC$. The circle $\omega_1$, passing through $B$ and $C$, intersects segment $AB$ at $K\neq B$. The circle $\omega_2$ is tangent to $BC$ at $B$ and passes through $K$. Let $M$ and $N$ be the midpoints of segments $AB$ and $AC$, respectively. The line $MN$ intersects $\omega_1$ and $\omega_2$ at points $P$ and $Q$, respectively, where $P$ and $Q$ are the intersections closer to $M$. Prove that $MP=MQ$.

Proposed by Hooman Fattahi
3 replies
mojyla222
Yesterday at 5:05 AM
sami1618
2 hours ago
standard Q FE
jasperE3   1
N 3 hours ago by ErTeeEs06
Source: gghx, p19004309
Find all functions $f:\mathbb Q\to\mathbb Q$ such that for any $x,y\in\mathbb Q$:
$$f(xf(x)+f(x+2y))=f(x)^2+f(y)+y.$$
1 reply
jasperE3
6 hours ago
ErTeeEs06
3 hours ago
Dear Sqing: So Many Inequalities...
hashtagmath   33
N 3 hours ago by GeoMorocco
I have noticed thousands upon thousands of inequalities that you have posted to HSO and was wondering where you get the inspiration, imagination, and even the validation that such inequalities are true? Also, what do you find particularly appealing and important about specifically inequalities rather than other branches of mathematics? Thank you :)
33 replies
hashtagmath
Oct 30, 2024
GeoMorocco
3 hours ago
3 knightlike moves is enough
sarjinius   1
N 3 hours ago by markam
Source: Philippine Mathematical Olympiad 2025 P6
An ant is on the Cartesian plane. In a single move, the ant selects a positive integer $k$, then either travels [list]
[*] $k$ units vertically (up or down) and $2k$ units horizontally (left or right); or
[*] $k$ units horizontally (left or right) and $2k$ units vertically (up or down).
[/list]
Thus, for any $k$, the ant can choose to go to one of eight possible points.
Prove that, for any integers $a$ and $b$, the ant can travel from $(0, 0)$ to $(a, b)$ using at most $3$ moves.
1 reply
sarjinius
Mar 9, 2025
markam
3 hours ago
Weird Geo
Anto0110   0
3 hours ago
In a trapezium $ABCD$, the sides $AB$ and $CD$ are parallel and the angles $\angle ABC$ and $\angle BAD$ are acute. Show that it is possible to divide the triangle $ABC$ into 4 disjoint triangle $X_1. . . , X_4$ and the triangle $ABD$ into 4 disjoint triangles $Y_1,. . . , Y_4$ such that the triangles $X_i$ and $Y_i$ are congruent for all $i$.
0 replies
Anto0110
3 hours ago
0 replies
2025 OMOUS Problem 6
enter16180   2
N 3 hours ago by loup blanc
Source: Open Mathematical Olympiad for University Students (OMOUS-2025)
Let $A=\left(a_{i j}\right)_{i, j=1}^{n} \in M_{n}(\mathbb{R})$ be a positive semi-definite matrix. Prove that the matrix $B=\left(b_{i j}\right)_{i, j=1}^{n} \text {, where }$ $b_{i j}=\arcsin \left(x^{i+j}\right) \cdot a_{i j}$, is also positive semi-definite for all $x \in(0,1)$.
2 replies
enter16180
Apr 18, 2025
loup blanc
3 hours ago
Is the geometric function injective?
Project_Donkey_into_M4   1
N 3 hours ago by Funcshun840
Source: Mock RMO TDP and Kayak 2018, P3
A non-degenerate triangle $\Delta ABC$ is given in the plane, let $S$ be the set of points which lie strictly inside it. Also let $\mathfrak{C}$ be the set of circles in the plane. For a point $P \in S$, let $A_P, B_P, C_P$ be the reflection of $P$ in sides $\overline{BC}, \overline{CA}, \overline{AB}$ respectively. Define a function $\omega: S \rightarrow \mathfrak{C}$ such that $\omega(P)$ is the circumcircle of $A_PB_PC_P$. Is $\omega$ injective?

Note: The function $\omega$ is called injective if for any $P, Q \in S$, $\omega(P) = \omega(Q) \Leftrightarrow P = Q$
1 reply
Project_Donkey_into_M4
6 hours ago
Funcshun840
3 hours ago
numbers at vertices of triangle / tetrahedron, consecutive and gcd related
parmenides51   1
N 3 hours ago by TheBaiano
Source: 2022 May Olympiad L2 p4
a) A positive integer is written at each vertex of a triangle. Then on each side of the triangle the greatest common divisor of its ends is written. It is possible that the numbers written on the sides be three consecutive integers, in some order?
b) A positive integer is written at each vertex of a tetrahedron. Then, on each edge of the tetrahedron is written the greatest common divisor of its ends . It is possible that the numbers written in the edges are six consecutive integers, in some order?
1 reply
parmenides51
Sep 4, 2022
TheBaiano
3 hours ago
red squares in a 7x7 board
parmenides51   2
N 4 hours ago by TheBaiano
Source: 2022 May Olympiad L2 p1
In a $7\times7$ board, some squares are painted red. Let $a$ be the number of rows that have an odd number of red squares and let $b$ be the number of columns that have an odd number of red squares. Find all possible values of $a+b$. For each value found, give a example of how the board can be painted.
2 replies
parmenides51
Sep 4, 2022
TheBaiano
4 hours ago
winning strategy, vertices of regular n-gon
parmenides51   1
N 4 hours ago by TheBaiano
Source: 2022 May Olympiad L2 p5
The vertices of a regular polygon with $N$ sides are marked on the blackboard. Ana and Beto play alternately, Ana begins. Each player, in turn, must do the following:
$\bullet$ join two vertices with a segment, without cutting another already marked segment; or
$\bullet$ delete a vertex that does not belong to any marked segment.
The player who cannot take any action on his turn loses the game. Determine which of the two players can guarantee victory:
a) if $N=28$
b) if $N=29$
1 reply
parmenides51
Sep 4, 2022
TheBaiano
4 hours ago
Sum of multinomial in sublinear time
programjames1   0
4 hours ago
Source: Own
A frog begins at the origin, and makes a sequence of hops either two to the right, two up, or one to the right and one up, all with equal probability.

1. What is the probability the frog eventually lands on $(a, b)$?

2. Find an algorithm to compute this in sublinear time.
0 replies
programjames1
4 hours ago
0 replies
Sequence, limit and number theory
KAME06   3
N Apr 5, 2025 by Rainbow1971
Source: Ecuador National Olympiad OMEC level U 2023 P6 Day 2
A positive integers sequence is defined such that, for all $n \ge 2$, $a_{n+1}$ is the greatest prime divisor of $a_1+a_2+...+a_n$. Find:
$$\lim_{n \rightarrow \infty} \frac{a_n}{n}$$
3 replies
KAME06
Feb 6, 2025
Rainbow1971
Apr 5, 2025
Sequence, limit and number theory
G H J
G H BBookmark kLocked kLocked NReply
Source: Ecuador National Olympiad OMEC level U 2023 P6 Day 2
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
KAME06
151 posts
#1 • 1 Y
Y by Rainbow1971
A positive integers sequence is defined such that, for all $n \ge 2$, $a_{n+1}$ is the greatest prime divisor of $a_1+a_2+...+a_n$. Find:
$$\lim_{n \rightarrow \infty} \frac{a_n}{n}$$
This post has been edited 1 time. Last edited by KAME06, Feb 6, 2025, 8:33 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Rainbow1971
35 posts
#2
Y by
And what are the definitions of $a_1$ and $a_2$?
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
KAME06
151 posts
#4
Y by
Rainbow1971 wrote:
And what are the definitions of $a_1$ and $a_2$?

We just know they are two positive integers
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Rainbow1971
35 posts
#5
Y by
This is indeed a charming little problem. As it is a little convoluted in character, I wish to make it a little more straightforward by setting $a_1 = a_2 = 1$. The general setting with arbitrary starting values leads to "essentially" the same problem, but restricting those values to 1 helps to avoid unnecessary variables.

For convenience, I set $s_n = a_1 + a_2 + \ldots + a_{n-1}$, so that $a_n$ will be the biggest prime divisor of $s_n$. In order to gain some familiarity with the situation, the following table provides the relevant values for $n \in \{3, 4, \ldots, 30\}$:

$n$ $\quad$ $s_n$ $\quad$ $a_n$ $\quad$ $a_n/n$
3 $\quad \ $ 2 $\quad \ $ 2 $\quad \ $ 2/3
4 $\quad \ $ 4 $\quad \ $ 2 $\quad \ $ 1/2
5 $\quad \ $ 6 $\quad \ $ 3 $\quad \ $ 3/5
6 $\quad \ $ 9 $\quad \ $ 3 $\quad \ $ 1/2
7 $\quad \ $ 12 $\quad \ $ 3 $\quad \ $ 3/7
8 $\quad \ $ 15 $\quad \ $ 5 $\quad \ $ 5/8
9 $\quad \ $ 20 $\quad \ $ 5 $\quad \ $ 5/9
10 $\quad \ $ 25 $\quad \ $ 5 $\quad \ $ 1/2
11 $\quad \ $ 30 $\quad \ $ 5 $\quad \ $ 5/11
12 $\quad \ $ 35 $\quad \ $ 7 $\quad \ $ 7/12
13 $\quad \ $ 42 $\quad \ $ 7 $\quad \ $ 7/13
14 $\quad \ $ 49 $\quad \ $ 7 $\quad \ $ 1/2
15 $\quad \ $ 56 $\quad \ $ 7 $\quad \ $ 7/15
16 $\quad \ $ 63 $\quad \ $ 7 $\quad \ $ 7/16
17 $\quad \ $ 70 $\quad \ $ 7 $\quad \ $ 7/17
18 $\quad \ $ 77 $\quad \ $ 11 $\quad \ $ 11/18
19 $\quad \ $ 88 $\quad \ $ 11 $\quad \ $ 11/19
20 $\quad \ $ 99 $\quad \ $ 11 $\quad \ $ 11/20
21 $\quad \ $ 110 $\quad \ $ 11 $\quad \ $ 11/21
22 $\quad \ $ 121 $\quad \ $ 11 $\quad \ $ 1/2
23 $\quad \ $ 132 $\quad \ $ 11 $\quad \ $ 11/23
24 $\quad \ $ 143 $\quad \ $ 13 $\quad \ $ 13/24
25 $\quad \ $ 156 $\quad \ $ 13 $\quad \ $ 13/25
26 $\quad \ $ 169 $\quad \ $ 13 $\quad \ $ 1/2
27 $\quad \ $ 182 $\quad \ $ 13 $\quad \ $ 13/27
28 $\quad \ $ 195 $\quad \ $ 13 $\quad \ $ 13/28
29 $\quad \ $ 208 $\quad \ $ 13 $\quad \ $ 13/29
30 $\quad \ $ 221 $\quad \ $ 17 $\quad \ $ 17/30


With respect to this table, we will refer to the first column as the index or line number, to the second column as the $s$-column, to the third column as the $a$-column, and to the respective entries as $s$-values and $a$-values.

The table suggests to some extent that the limit of $(a_n/n)$ is $\tfrac{1}{2}$, and we will now examine that hypothesis.

When we take a look at our table, we see that it consists of sections of constant values for $a_n$. In lines 12 to 17, for example, we consistently have the value 7 in the $a$-column. We will now investigate these sections a little closer, focussing on the values of $s_n$ and $a_n$. For that purpose, we define $p_i$ to be the $i$-th prime number (in their natural increasing order), i.e. $p_1 = 2$, $p_2 = 3$ etc.

We start our investigation in line 5 which marks the beginning of the section of the value 3 for $a_n$. We observe that the $s$-value and the $a$-value, that is 6 and 3, can be written as $p_{i-1} \cdot p_i$ and $p_i$ for $i=2$. Plainly speaking, the $s$-value is the product of the corresponding prime in the $a$-column and the previous prime. We will show that this is no coincidence for the first line of such a section.

We make a sketch of an inductive argument: By inspection, we see that, at the beginning of the section with the $a$-value 3, we do indeed have $p_{i-1} \cdot p_i$ and $p_i$ in those two columns. By definition of $s_n$, the value in the $s$-column in the next line is $p_{i-1} \cdot p_i + p_i$ which is the same as $p_i \cdot (p_{i-1} + 1)$. If the value in the $a$-column of that line does not change, $p_i$ is added to the $s$-value in the following line once again, resulting in the value $p_i \cdot (p_{i-1} + 2)$ there, and as long as nothing changes in the $a$-column, the values in the $s$-column will be of the form $p_i \cdot (p_{i-1} + k)$, $k \in \{1, 2, 3, \ldots\}$ in the following lines.

The value in the $a$-column will change once we reach the smallest $k$ such that $p_i \cdot (p_{i-1} + k)$ has a prime factor $p$ larger than $p_i$. As two different prime numbers are always relatively prime, this is equivalent to the fact that $p$ divides $p_{i-1} + k$. We start with $k=1$, when $p_{i-1} + k$ is smaller than $p_i$ and also smaller than any candidate prime number $p$ (which must even be greater than $p_i$). Clearly, the first $k$ such that $p_{i-1} + k$ has a prime divisor greater than $p_i$ is the one with $p_{i-1} + k = p_{i+1}$, so that our new prime number will be $p = p_{i+1}$, which then does not only divide $p_{i-1} + k$, but will be equal to it.

This shows that the length of the section under investigation is $p_{i+1}-p_{i-1}$ lines (as that was the crucial value of $k$ which initiated a change in the $a$-column). The last line of that section will have the value $p_i \cdot (p_{i+1}-1)$ in the $s$-column and $p_i$ in the $a$-column, and the new section will therefore begin with a line that has $p_i \cdot p_{i+1}$ in the $s$-column and $p_{i+1}$ in the $a$-column. In particular, this shows that the values in the $a$-column run through all the prime numbers in a monotonously increasing way.

So far, we have described the values in the $a$-column in terms of the sequence $(p_n)$. Now we have to consider them as actual elements of the sequence $(a_n)$, which, loosely speaking, means that we have to find a relation between those values and the line number.

The crucial insight of our work so far is now that, in the $a$-column, the prime number $p_i$ prevails for exactly $p_{i+1}-p_{i-1}$ lines. Thus the prime number $p_2= 3$, which appears for the first time in line 5, is succeeded by $p_3= 5$ in line $5 + p_3 - p_1$. By induction, the prime number $p_i$ (for some integer $i$) will appear in the $a$-column for the first time in line
$$5 + (p_3 - p_1) + (p_4 - p_2) + (p_5 - p_3) + \ldots + (p_{i-1} - p_{i-3}) + (p_i - p_{i-2}),$$and this telescoping sum is the same as
$$5 + p_i + p_{i-1} - p_2 - p_1 = 5 + p_i + p_{i-1} - 3 - 2 = p_i + p_{i-1}.$$
This means nothing less than $$a_{p_i + p_{i-1}} = p_i,$$
and therefore $$\frac{a_n}{n} = \frac{p_i}{p_i + p_{i-1}} \quad \text{for $n = p_i + p_{i-1}$}.$$
As the $a$-value does not change within a section (by definition of a section), we can conclude that, at the end of the section, which comes $p_{i+1}-p_{i-1}-1$ lines later, we have $$\frac{a_n}{n} = \frac{p_i}{p_i+p_{i+1}-1} \quad \text{for $n = p_i + p_{i+1}-1$}.$$
Within a section, the values of $\tfrac{a_n}{n}$ are clearly strictly decreasing, as it is only the index $n$ which changes. Therefore, to establish the limit of $\tfrac{a_n}{n}$, which is the ultimate objective of this text, it suffices to focus on the values of $\tfrac{a_n}{n}$ at the beginning and at the end of each section. If the values of the subsequence at the beginning, i.e.
$$(\frac{p_i}{p_i + p_{i-1}}),$$and at the end, i.e.
$$(\frac{p_i}{p_i+p_{i+1}-1})$$converge to the same limit, the entire sequence $(\tfrac{a_n}{n})$ will converge to that same limit by the squeezing theorem. There is the (still open) conjecture that there are infinitely many twin primes. If we assume that the conjecture is true, this would easily show that the only possible limit of our two subsequences from above, and therefore the whole sequence, is indeed $\tfrac{1}{2}$.

To actually prove that limit statement, some sophisticated approximation of $p_i$ is needed. I am somewhat hesitant to proceed here, however, as I feel that this is beyond what is reasonable for a problem from a Math olympiad. To me, the attraction of this problem lies in uncovering the more elementary results from above. If others can produce an elementary proof of the limit statement, though, I am very interested in hearing about it.
This post has been edited 3 times. Last edited by Rainbow1971, Apr 6, 2025, 1:03 PM
Z K Y
N Quick Reply
G
H
=
a