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

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
IGO 2021 P1
SPHS1234   14
N 13 minutes ago by LeYohan
Source: igo 2021 intermediate p1
Let $ABC$ be a triangle with $AB = AC$. Let $H$ be the orthocenter of $ABC$. Point
$E$ is the midpoint of $AC$ and point $D$ lies on the side $BC$ such that $3CD = BC$. Prove that
$BE \perp HD$.

Proposed by Tran Quang Hung - Vietnam
14 replies
SPHS1234
Dec 30, 2021
LeYohan
13 minutes ago
Nationalist Combo
blacksheep2003   16
N 21 minutes ago by Martin2001
Source: USEMO 2019 Problem 5
Let $\mathcal{P}$ be a regular polygon, and let $\mathcal{V}$ be its set of vertices. Each point in $\mathcal{V}$ is colored red, white, or blue. A subset of $\mathcal{V}$ is patriotic if it contains an equal number of points of each color, and a side of $\mathcal{P}$ is dazzling if its endpoints are of different colors.

Suppose that $\mathcal{V}$ is patriotic and the number of dazzling edges of $\mathcal{P}$ is even. Prove that there exists a line, not passing through any point in $\mathcal{V}$, dividing $\mathcal{V}$ into two nonempty patriotic subsets.

Ankan Bhattacharya
16 replies
blacksheep2003
May 24, 2020
Martin2001
21 minutes ago
subsets of {1,2,...,mn}
N.T.TUAN   10
N 30 minutes ago by de-Kirschbaum
Source: USA TST 2005, Problem 1
Let $n$ be an integer greater than $1$. For a positive integer $m$, let $S_{m}= \{ 1,2,\ldots, mn\}$. Suppose that there exists a $2n$-element set $T$ such that
(a) each element of $T$ is an $m$-element subset of $S_{m}$;
(b) each pair of elements of $T$ shares at most one common element;
and
(c) each element of $S_{m}$ is contained in exactly two elements of $T$.

Determine the maximum possible value of $m$ in terms of $n$.
10 replies
N.T.TUAN
May 14, 2007
de-Kirschbaum
30 minutes ago
Sum and product of digits
Sadigly   4
N 34 minutes ago by jasperE3
Source: Azerbaijan NMO 2018
For a positive integer $n$, define $f(n)=n+P(n)$ and $g(n)=n\cdot S(n)$, where $P(n)$ and $S(n)$ denote the product and sum of the digits of $n$, respectively. Find all solutions to $f(n)=g(n)$
4 replies
Sadigly
Sunday at 9:19 PM
jasperE3
34 minutes ago
No more topics!
A property of divisors
rightways   13
N Apr 25, 2025 by Ilikeminecraft
Source: Kazakhstan NMO 2016, P1
Prove that one can arrange all positive divisors of any given positive integer around a circle so that for any two neighboring numbers one is divisible by another.
13 replies
rightways
Mar 17, 2016
Ilikeminecraft
Apr 25, 2025
A property of divisors
G H J
G H BBookmark kLocked kLocked NReply
Source: Kazakhstan NMO 2016, P1
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
rightways
868 posts
#1 • 3 Y
Y by Adventure10, Mango247, ItsBesi
Prove that one can arrange all positive divisors of any given positive integer around a circle so that for any two neighboring numbers one is divisible by another.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
AdithyaBhaskar
652 posts
#2 • 2 Y
Y by Adventure10, Mango247
This problem is quite old. For instance, a special case can be found in the Ireland Team Training materials.
So I come to a solution.
This result trivially holds if the number, $n$, is a prime power, so assume otherwise. Now let $n =ap$ where $a,p$ are positive integers and $p$ is prime. We induct, assuming this result to be true for $a.$ Create the circle for $a$ and call it $\mathcal{C}.$ Further, by $k\mathcal{C}$ we denote the circle obtained by multiplying each entry of $\mathcal{C}$ by $k.$ Then, consider the two circles $\mathcal{C}$ and $p\mathcal{C}.$ Let $a,b$ be two successive entries in $\mathcal{C}.$ Then cut $\mathcal{C}$ in between $a,b$ and $p\mathcal{C}$ between $pa,pb.$ Now attach the two figures obtained so that $pa$ is joined to $a$ and $b$ is joined to $pb.$ Clearly this arrangement suffices by induction.
We can choose the base case as any prime power, for which any arrangement holds. By induction, this result holds for all $n \in \mathbb{N}.$
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
dolphinday
1326 posts
#3 • 1 Y
Y by sami1618
OTIS stronger version wrote:
Let $n\geq 2$ be a positive integer.
Prove that all divisors of $n$ can be written as a sequence $d_1,\dots,d_k$ such that
for any $1\leq i<k$ one of $\frac{d_i}{d_{i+1}}$ and $\frac{d_{i+1}}{d_i}$ is a prime number.

We can show that there is a bijection between finding a sequence of divisors and finding a path(from vertex to adjacent vertex) on an lattice $n$-dimensional hyperbox(on the coordinate plane) so that all lattice points are covered by the path. Note that vertex Here $n$ is the number of distinct prime divisors of the positive integer in question which we will call $\mathcal{P}$. Note that our hyperbox has dimensions $(e_1 + 1) \times (e_2 + 1) \times \dots \times (e_n + 1)$ where $\mathcal{P} = \prod_i^n p_i^{e_i}$. Note that point $(x_1, x_2, x_3, \dots, x_n)$ corresponds to $\prod_i^n x_i^{p_i}$. WLOG our path starts at the origin on the coordinate plane which corresponds to $1$ in terms of a divisors.
We will use induction to prove this claim. Our base case of $n = 1$ is trivially true. Then we can easily induct upwards since we can connect our path between two $n-1$ hypercube graphs at the corners to form a block of $n-1$ hypercube graphs with length $e_n + 1$, so our induction is done.
This post has been edited 2 times. Last edited by dolphinday, May 29, 2024, 7:53 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
ItsBesi
146 posts
#4
Y by
OTIS version
We will prove it by using induction.

$\textbf{Base case:}$ $n$-has only one prime factor $\iff n=p^{\alpha}$ then we can form the sequence as follows:
$1,p,p^2, \dots , p^{\alpha}$.

$\textbf{Inductive hypothesis:}$ Assume it's true for $n$-having $\ell$ prime factors.

$\textbf{Inductive step:}$ Now we will prove that works for $n$ having $\ell+1$ prime factors.
$\iff n=q^{\beta} \cdot t$ where $t$ has $\ell$ prime factors and let $a_1,a_2, \dots, a_k$ be the sequence of $t$.
So now to prove that $n=q^{\beta} \cdot t$ works we form the sequence as follows:
$a_1,a_2, \dots, a_k , q \cdot a_1, q \cdot a_2, \dots, q \cdot a_k \cdot q^2 \cdot a_1, q^2 \cdot a_2, \dots , q^2 \cdot a_k ,\cdots \cdots q^{\beta} \cdot a_1 , q^{\beta} \cdot a_2, \dots, q^{\beta} \cdot a_k.$

Hence we are done $\blacksquare$.
This post has been edited 1 time. Last edited by ItsBesi, Oct 1, 2024, 1:01 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
balllightning37
389 posts
#5
Y by
The Otis version:

Let the prime factorization of $n$ be $p^aq^br^c\dots$. Now, consider a coordinate lattice from $(1,1,1,...)$ to $(a,b,c,...)$ so that we have a one-to-one correspondence from factors of $n$ to points on the lattice. Notice that the given condition means that the lattice points corresponding to two adjacent terms of the sequence are adjacent themselves.

Thus, the question is just asking if all such coordinate lattices have a Hamiltonian path. This is pretty easy induction on the dimension of the lattice.

remark
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
AshAuktober
1007 posts
#6
Y by
Otis version:
Induction of the number of prime factors of n works
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Maximilian113
575 posts
#7
Y by
We claim that there exists a sequence with either $d_1=1, d_k=n$ or $d_k=1, d_1=n.$ We show this by inducting on $\alpha,$ the number of prime factors that $n$ has.

The base case is trivial. Now, suppose that our proposition holds for $\alpha=\ell$ for some positive integer $\ell.$ Then suppose $n$ has $\ell+1$ prime factors. Let $p$ be a prime factor of $n$ such that $v_p(n)=x.$ Also, let $n=p^xm.$ Then by our inductive hypothesis, there exists a sequence from $1$ to $m.$ Then, we can move to $mp,$ and using our inductive hypothesis again we can get to $p.$ Continuing, we will eventually end at either $p^x$ or $mp^x=n.$ (Visualize this as a path through lattice points in a $\ell$-dimensional space.) Hence, this provides a valid path, so we are done. QED
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
blueprimes
354 posts
#8
Y by
OTIS wrote:
Let $n\geq 2$ be a positive integer. Prove that all divisors of $n$ can be written as a sequence $d_1,\dots,d_k$ such that for any $1\leq i<k$ one of $\frac{d_i}{d_{i+1}}$ and $\frac{d_{i+1}}{d_i}$ is a prime number.

For a sequence $S$ let $S^{*}$ be the reverse of $S$ and $m \times S$ for a number $m$ as the sequence $S$ when corresponding elements are multiplied by $m$.

Now suppose $n$ has $\ell$ distinct prime factors, we induct on $\ell$. For the base case of $\ell = 1$, let $n = p^a$ where $p$ is prime. The sequence $1, p, p^2, \dots, p_a$ clearly works. Now assume that the claim holds for an arbitrary $\ell \ge 1$. Then consider the prime factorization $n = p_1^{e_1} p_2^{e_2} \dots p_{\ell + 1}^{e_{\ell + 1}}$. By the inductive hypothesis, there exists some sequence of divisors $T$ of $p_1^{e_1} p_2^{e_2} \dots p_{\ell}^{e_{\ell}}$ that satisfies the conditions of the problem. Then the composite sequence
\[ T, p_{\ell + 1} \times T^{*}, p_{\ell + 1}^2 \times T, p_{\ell + 1}^3 \times T^{*} \dots \]works, so our induction is complete. We are done.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
de-Kirschbaum
201 posts
#9
Y by
We will induct on the number of prime factors of $n$. If $n$ has $m=1$ prime factors then clearly the sequence
$$1,p,p^2,\ldots,p^{e}$$works.

Then let us assume that this works $m=l$. Consider $m=l+1$, so $n=p_1^{e_1}p_2^{e_2}\cdots p_{l+1}^{e_{l+1}}$. We will divide the sequence into $e_{l+1}+1$ blocks of length $(e_1+1)\cdots(e_l+1)$. For the first block we will use the good construction for $m=l$, $$1, \ldots , p_1^{e_1}\cdots p_l^{e_l}$$For the second block we will flip this sequence and multiply each term by $p_{l+1}$,

$$p_1^{e_1}\cdots p_l^{e_l} p_{l+1}, \ldots , p_{l+1}$$
For the third block we will flip this sequence again and multiply each term by $p_{l+1}$,

$$p_{l+1}^2, \ldots, p_1^{e_1}\cdots p_l^{e_l} p_{l+1}^2$$and we can easily verify that we get a satisfactory construction following this method. Thus by induction we are done.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
gladIasked
648 posts
#10
Y by
Proceed with induction on the number of distinct primes that divide $n$. When exactly one prime divides $n$, we can write out the divisors as follows: $1, p, p^2, \dots, p^{k-1}$.

Now, let the prime factorization of $n$ be $p_1^{e_1}p_2^{e_2}\dots p_i^{e_i}$. Let $m=p_1^{e_1}p_2^{e_2}\dots p_{i-1}^{e_{i-1}}$, so $n=mp_i^{e_i}$. We are clearly able to write a sequence starting with $mp_i^{e_i}$ and ending with $dp_i^{e_i}$ where $d\mid m$ by induction (this sequence covers all divisors of $n$ with $\nu_{p_i}(n)=e_i$). Then, we write $dp_i^{e_{i-1}}$ and (by induction) ``build back up" to $mp_i^{e_i-1}$ (this covers all divisors of $n$ with $\nu_{p_i}=e_i-1$). Then, we write $mp_i^{e_i-2}$ and build down to $dp_i^{e_i-2}$, covering all divisors of $n$ with $\nu_{p_i}=e_i-2$. We can continue this ``building up" and ``building down" process until we cover all divisors of $n$, completing our induction. $\blacksquare$
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
akliu
1801 posts
#11
Y by
I actually solved this question fairly quickly because it relates to a question from a math camp's application that I did this year. Consider a single prime $p_1$, and list out the sequence as follows: $1$, $p_1$, $p_1^2$, $\dots$, $p_1^{\nu_{p_1}(n)}$. For each value $k$ in the sequence, replace the number with another sequence $k$, $kp_2$, $kp_2^2$, $\dots$, $kp_2^{\nu_{p_2}(n)}$, and alternate this between values of $k$ such that adjacent values are multiplied by the same sequence in either increasing or decreasing order. For example, for $n = 18$, we start out with the sequence $1$, $2$. Then, we include the prime $3$, and we get $1$, $3$, $9$, $18$, $6$, $2$. Do this for all primes, and we have a sequence that goes over all the divisors of $n$ where each step is either dividing or multiplying by a prime number; the sequence is split into groups of varying values of $\nu_p$, and each of those gorups has groups of varying values of $\nu_q$, and so on throughout all desired primes.

An example for $3$ primes for the reader's clarity: $n = 60$ turns into $1$, $2$, $4$. We alternate the sequences of the powers of $3$, and arrive at $1, 3$, $6, 2$, $4, 12$. Finally, adding the sequences of $5$, we get the final sequence: $1, 5, 15, 3, 6, 30, 10, 2, 4, 20, 60, 12$.

A short bonus: It is possible to loop the sequence back to $1$ if and only if $n$ is not a perfect square, or a perfect power of a prime. In particular, the example with $n = p^aq^b$ can be drawn as a grid as such:
\begin{align*}
    1, p, p^2, \dots\\
    q, pq, p^2q, \dots\\
    \dots \\
    q^b, q^bp, q^bp^2,\dots
\end{align*}
Finding a "prime dividing path" on this grid such that the path covers all the numbers on the grid bijects to trying to find a Hamiltonian cycle through a rectangular grid of dimensions $(a+1)(b+1)$.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
clarkculus
236 posts
#12 • 2 Y
Y by akliu, centslordm
Induct on the number of distinct prime factors $k$ of $n$. The base case $k=1$ or $n=p_1^{e_1}$ for primes $p_1$ works with the sequence $\overset\rightarrow{X_1}=\{1,p_1,p_1^2,\dots,p_1^{e_1}\}$.

Let $\overset\leftarrow{X_k}$ be the sequence $\overset\rightarrow{X_k}$ with all elements in the opposite order. If $A\oplus B$ concatenates sequences $A$ and $B$, it then follows that
\[\overset\rightarrow{X_{k+1}}=\overset\rightarrow{X_k}\oplus(p_{k+1}\cdot\overset\leftarrow{X_k})\oplus(p_{k+1}^2\cdot\overset\rightarrow{X_k})\oplus(p_{k+1}^3\cdot\overset\leftarrow{X_k})\dots\]is a sequence satisfying the problem statement, which completes the inductive step.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
akliu
1801 posts
#13
Y by
Nice formalization! I didn't think about writing it that way.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Ilikeminecraft
635 posts
#14
Y by
Notice that all powers of primes work, and 1 work. Also notice that any number that is of the form $pq$ work, where $p, q$ are primes, because of the sequence $1, p, pq, q.$

Let $k$ be the number of primes dividing $n.$ Assume that $n\geq 2.$ I claim that there exists a sequence satisfying the problem such that the first element is 1, and the last element is the product of at most $k - 1$ primes. We prove this with induction on number of divisors. The idea is:

Now, assume that for $n < k,$ our statement is true. We will prove that $n = k$ works. If $k$ is prime, we have $1, k$ works. If $k$ isn't prime, let a prime dividing $k$ be $p.$ Let the sequence of $\frac{k}{p}$ be $a = \{1, s_2, s_3, \ldots, s_a\}.$ Let the sequence of $\frac{k}{p^{\nu_p(k)}}$ be $b = \{1, s_2', \ldots, s_{\frac{k}{p^{\nu_p(k)}}}'\}.$ We know these both exist since our hypothesis. I claim that $\{1, s_2p, s_3p, \ldots, s_a p, \frac{k}{p^{\nu_p(k)}s_1'}, \ldots\}$ works.
Z K Y
N Quick Reply
G
H
=
a