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

Contests & Programs AMC and other contests, summer programs, etc.
AMC and other contests, summer programs, etc.
3 M G
BBookmark  VNew Topic kLocked
Contests & Programs AMC and other contests, summer programs, etc.
AMC and other contests, summer programs, etc.
3 M G
BBookmark  VNew Topic kLocked
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
USA(J)MO Statistics Out
BS2012   30
N 4 minutes ago by joebub56
Source: MAA edvistas page
https://maa.edvistas.com/eduview/report.aspx?view=1561&mode=6
who were the 2 usamo perfects
30 replies
BS2012
Yesterday at 10:07 PM
joebub56
4 minutes ago
MOP Emails Out! (not clickbait)
Mathandski   73
N 6 minutes ago by jlcong
What an emotional roller coaster the past 34 days have been.

Congrats to all that qualified!
73 replies
+1 w
Mathandski
Tuesday at 8:25 PM
jlcong
6 minutes ago
2025 USAMO Rubric
plang2008   22
N 33 minutes ago by DottedCaculator
1. Let $k$ and $d$ be positive integers. Prove that there exists a positive integer $N$ such that for every odd integer $n>N$, the digits in the base-$2n$ representation of $n^k$ are all greater than $d$.

Rubric for Problem 1

2. Let $n$ and $k$ be positive integers with $k<n$. Let $P(x)$ be a polynomial of degree $n$ with real coefficients, nonzero constant term, and no repeated roots. Suppose that for any real numbers $a_0,\,a_1,\,\ldots,\,a_k$ such that the polynomial $a_kx^k+\cdots+a_1x+a_0$ divides $P(x)$, the product $a_0a_1\cdots a_k$ is zero. Prove that $P(x)$ has a nonreal root.

Rubric for Problem 2

3. Alice the architect and Bob the builder play a game. First, Alice chooses two points $P$ and $Q$ in the plane and a subset $\mathcal{S}$ of the plane, which are announced to Bob. Next, Bob marks infinitely many points in the plane, designating each a city. He may not place two cities within distance at most one unit of each other, and no three cities he places may be collinear. Finally, roads are constructed between the cities as follows: for each pair $A,\,B$ of cities, they are connected with a road along the line segment $AB$ if and only if the following condition holds:
[center]For every city $C$ distinct from $A$ and $B$, there exists $R\in\mathcal{S}$ such[/center]
[center]that $\triangle PQR$ is directly similar to either $\triangle ABC$ or $\triangle BAC$.[/center]
Alice wins the game if (i) the resulting roads allow for travel between any pair of cities via a finite sequence of roads and (ii) no two roads cross. Otherwise, Bob wins. Determine, with proof, which player has a winning strategy.

Note: $\triangle UVW$ is directly similar to $\triangle XYZ$ if there exists a sequence of rotations, translations, and dilations sending $U$ to $X$, $V$ to $Y$, and $W$ to $Z$.

Rubric for Problem 3

4. Let $H$ be the orthocenter of acute triangle $ABC$, let $F$ be the foot of the altitude from $C$ to $AB$, and let $P$ be the reflection of $H$ across $BC$. Suppose that the circumcircle of triangle $AFP$ intersects line $BC$ at two distinct points $X$ and $Y$. Prove that $C$ is the midpoint of $XY$.

Rubric for Problem 4

5. Determine, with proof, all positive integers $k$ such that \[\frac{1}{n+1} \sum_{i=0}^n \binom{n}{i}^k\]is an integer for every positive integer $n$.

Rubric for Problem 5

6. Let $m$ and $n$ be positive integers with $m\geq n$. There are $m$ cupcakes of different flavors arranged around a circle and $n$ people who like cupcakes. Each person assigns a nonnegative real number score to each cupcake, depending on how much they like the cupcake. Suppose that for each person $P$, it is possible to partition the circle of $m$ cupcakes into $n$ groups of consecutive cupcakes so that the sum of $P$'s scores of the cupcakes in each group is at least $1$. Prove that it is possible to distribute the $m$ cupcakes to the $n$ people so that each person $P$ receives cupcakes of total score at least $1$ with respect to $P$.

Rubric for Problem 6
22 replies
plang2008
Apr 2, 2025
DottedCaculator
33 minutes ago
k URGENT JMO problem 1 Misgrade protest (Cost MOP)
bjump   75
N 40 minutes ago by Aaronjudgeisgoat
I was docked 4 points on jmo 1 and it cost me mop. I got 370 777 and 770 777 got into mop.
This google drive link contains my submission to USAJMO day 1
Day 1 Scans
My solution works except for 2 typos. I wrote bijective instead of non bijective at the end, and i wrote min intead of more specifically minimum over Z. After discussion with vsamc, and megarnie they agreed I should have gotten a 7 on this problem because i demostrated that I knew how to solve it. Is it possible to protest my score, and get into MOP.

Help would be greatly appreciated :surrender:
75 replies
bjump
Yesterday at 4:40 PM
Aaronjudgeisgoat
40 minutes ago
No more topics!
Base 2n of n^k
KevinYang2.71   49
N Apr 14, 2025 by Mathgloggers
Source: USAMO 2025/1, USAJMO 2025/2
Let $k$ and $d$ be positive integers. Prove that there exists a positive integer $N$ such that for every odd integer $n>N$, the digits in the base-$2n$ representation of $n^k$ are all greater than $d$.
49 replies
KevinYang2.71
Mar 20, 2025
Mathgloggers
Apr 14, 2025
Base 2n of n^k
G H J
G H BBookmark kLocked kLocked NReply
Source: USAMO 2025/1, USAJMO 2025/2
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
YaoAOPS
1529 posts
#42
Y by
Solution in contest was basically fix $n \equiv e \pmod{2^k}$, then write
\[
n^k = \frac{f_{k-1}}{2^{k-1}} (2n)^{k-1} + \dots + \frac{f_1}{2} \cdot (2n) + f_0
\]where $f_i$ are nonconstant linear integer polynomials such that $2^k \mid f_i(e)$ with $f_i(n) < 2^{i+1} \cdot n$ for large $n$.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
deduck
206 posts
#44
Y by
Notice the digits (except units digit which is $n$ and first digit is $\lfloor \frac{n}{2^{k-1}} \rfloor$) are of the form
$$\frac{an-b}{2^x},$$where $1 \le x \le k-2$, $1 \le a \le 2^x$, and $1 \le b \le 2^{x-1}$. ($a,b$ change on the choice of $x$)

Then $2^{k-1}(d+1)$ wins.


stupid problem gets me confused between $>$ and $\ge$
This post has been edited 4 times. Last edited by deduck, Mar 20, 2025, 10:58 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
MathLuis
1501 posts
#45 • 3 Y
Y by KevinYang2.71, OronSH, megarnie
We claim that $N=2^{k-1}(d+1)$ just works because if the rightmost digit $r \le k$ happend to be $\le d$ then:
\[ \frac{d+1}{2n}> \left\{ \frac{n^k}{(2n)^r} \right\}=\left\{\frac{n^{k-r}}{2^r} \right\}>\frac{1}{2^r} \ge \frac{1}{2^k} \]Which happens only when $(d+1)2^{k-1}>n$ and thus we are done :cool:.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
DouDragon
1731 posts
#46 • 1 Y
Y by ihatemath123
ihatemath123 wrote:
@above although i think that N is going to fail, it should be a 0 pt deduction bc of how close it is?

Here's a more 'conceptual' solution. ...

This was basically my solution, except I spent 4 pages formalizing details. :skull: I really need to cut down
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
sepehr2010
105 posts
#47
Y by
Denote $a_{v,k}$ as the first $v$ digits of $n^k$ base $2n$. Notice that the $s$th digit of $n^k$ base $2n$ is simply $\frac{n^k \mod (2n)^s - a_{s-1,k}}{(2n)^{s-1}}$.

By basic mod properties, $n^k \mod (2n)^s = n^s (n^{k-s} \mod 2^s)$, which has a minimum value of $n^s$ as $n$ is odd.

Claim: It is sufficient for $N = 2^{k-1}(d+1)$.

Proof: Notice that at $s = k$, $\frac{n^k \mod (2n)^k - a_{k-1,k}}{(2n)^{k-1}}$, and for our hypothesis to be true, $\frac{n^k \mod (2n)^k - a_{k-1,k}}{(2n)^{k-1}} > d$. Since the left hand side is integer, it is minimized when it is equal to $d+1$. After some minimal computation, we find this to be true.

Notice that this is also trivially the most harsh bound.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
awesomeming327.
1699 posts
#48 • 2 Y
Y by VicKmath7, KevinYang2.71
We will prove an even stronger form of the problem: let $n^k$ have base-$2n$ representation of
\[n^k=d_{k-1}(2n)^{k-1}+d_{k-2}(2n)^{k-2}+\ldots+d_1(2n)+d_0\]where $0\le d_i\le 2n-1$ for all $i$. We'll show that there exists a positive integer $N$ such that for all $n\ge N$, $d_{i}>d$ for all $i$. In short, we are adding possible leading zeroes to the base-$2n$ representation.

Let $N=(d+1)2^{k-1}$. Let $r_a(b)$, read the reduction of $b \pmod {a}$ denote the integer in $0\le c\le b-1$ such that $b\equiv c\pmod a$. Then the digit $d_i$ of $n^k$ will largely decided by $r_{(2n)^{i+1}}(n^k)$. Since $n^k\equiv 0\pmod {n^{i+1}}$, $n^{i+1}\mid r_{(2n)^{i+1}}(n^k)$. Since $n$ is odd, the reduction is not zero, so it is at least $n^{i+1}$.

We have
\[n^{i+1}\le d_i(2n)^i+d_{i-1}(2n)^{i-1}+\dots+d_1(2n)+d_0<(d_i+1)(2n)^i=(d_i+1)2^in^i\]which rearranges to $d_i>n/2^i-1\ge (d+1)-1=d$. 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.
mineric
62 posts
#49
Y by
I had the k digit claim, the floor claim, as well as $(d+1)(2^{k-1})$, but in my induction, I said that every digit is one of four forms, and this would mean $23 = 1+8x \pmod{46}$ implies that $20$ is of the form $\frac{23-1}{8}$, which it obviously isn't, since $8$ doesn't have an inverse mod $46$. However, $20$ is much larger than $\frac{11}{4}$, so this doesn't ruin the $\lfloor{\frac{n}{2^{k-i}}}\rfloor$ thing, or anything else really, but I'm not sure if this will get 0-2 or 5/6 now.
This post has been edited 3 times. Last edited by mineric, Mar 23, 2025, 3:19 AM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
sansgankrsngupta
131 posts
#50
Y by
OG! did anyone use induction here?
LaTeX to AoPS Conversion
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
popop614
271 posts
#51
Y by
We claim more strongly that if $c < 2^k$ is odd, then $cn^k$ eventually has digits all greater than $d$ in base $2n$. The base case $k=1$ is trivial.

Now let $0 \le r < 2^{k-1}$ be odd such that $2^{k-1} \mid cn - r$. Notice \[ cn^k = (2n)^{k-1} \cdot \frac{cn - r}{2^{k-1}} + rn^{k-1}. \]Clearly $cn - r$ is eventually greater than $d2^{k-1}$ (and also hence positive), so as the set of possible $r$ is finite we are done by induction.
This post has been edited 2 times. Last edited by popop614, Mar 23, 2025, 9:57 PM
Reason: asfdafsdfads
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
sixoneeight
1138 posts
#52
Y by
0 mohs: Define $a_i=2^{n-i} \pmod {2^i}$; then the $i$-th digit of $n^k$ in base $2n$ is $\frac{a_{i+1}n-a_i}{2^i}$ and we are done
This post has been edited 1 time. Last edited by sixoneeight, Mar 24, 2025, 12:42 AM
Reason: latecks
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Maximilian113
555 posts
#53
Y by
Observe that the $r$th digit from the right of $n^k$ in base-$2n$ is $$\ell_r = \left \lfloor \frac{n^k}{(2n)^{r-1}} \right \rfloor \pmod{2n} = \left \lfloor \frac{n^k \pmod{(2n)^r}}{(2n)^{r-1}} \right \rfloor = \left \lfloor \frac{ (2n)^r \left \{ \frac{n^k}{(2n)^r} \right \}}{(2n)^{r-1}} \right \rfloor = \left \lfloor (2n)\left \{ \frac{n^k}{(2n)^r} \right \} \right \rfloor.$$For the sake of a contradiction, assume that there is an $r$ such that $\ell_r \leq d.$ Then $$(2n)\left \{ \frac{n^k}{(2n)^r} \right \} < d+1 \implies \frac{d+1}{2n} > \left \{ \frac{n^k}{(2n)^r} \right \} = \left \{ \frac{n^{k-r}}{2^r} \right \} \geq \frac{1}{2^r}$$since $n$ is odd. Note that as $n$ gets arbitrarily large, $n^k$ will have $k$ digits in base-$2n.$ Therefore, $$(d+1)2^{k-1} \geq (d+1)2^{r-1} > n,$$a contradiction for all arbitrarily large $n.$ QED
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Mathandski
750 posts
#54 • 2 Y
Y by OronSH, KevinYang2.71
If you see any issue in the following solution, please email me at westskigamer@gmail.com.
This solution was what I officially submitted. I have transcribed it per verbatim.

Solution
This post has been edited 1 time. Last edited by Mathandski, Mar 26, 2025, 3:23 AM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
cosinesine
59 posts
#55
Y by
We show that $N = (d + 1)2^{k - 1}$ suffices.
Let $n^k$ in base $2n$ be $\dots d_1d_0$. Then let $a_i$ be equal to $n^k \pmod{(2n)^i}$, which represents the last $i$ digits. Therefore:
\[ d_i = \frac{a_{i + 1} - a_i}{(2n)^i} \]Now as $k > i$, $n^k$ is a multiple of $n^i$, so $n^i \mid a_i$. Moreover as $n$ is odd, $a_i \neq 0$, so $a_i \ge n^i$. Define $b_i = a_i/n^i$, which are all integers by the previous. In particular, we have $1 \le b_i \le 2^i$, where the upper bound follows because $a_i \le (2n)^i = 2^in^i$. We have:
\[ d_i = \frac{a_{i + 1} - a_i}{(2n)^i} = \frac{n^{i + 1}b_{i + 1} - n^ib_i}{2^in^i} = \frac{nb_{i + 1} - b_i}{2^i} \ge \frac{n(1) - 2^i}{2^i} \]However, for $n \ge N$:
\[ d_i \ge \frac{n(1) - 2^i}{2^i} \ge \frac{(d + 1)2^{k - 1} - 2^i}{2^i} \ge \frac{d2^{k - 1}}{2^i} \ge d \]because $n^k$ has at most $k$ digits in base $2n$, which means that the only values of $i$ we care about are $\le k - 1$.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
BS2012
1027 posts
#56
Y by
Is it fine if we proved "for sufficiently large n the claim holds" but didnt give an example of N?
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Mathgloggers
68 posts
#57
Y by
The ides was to write :
$n^k=a_1+a_2(2n)+a_3(2n)^2+..+a_k(2n)^{k-1}$ as it could have atmost $k$ digits because the geometric sum of this would led to a term of (2n)^k so if there were $k+1$ terms then automatically it would exceed $n^k$ ,but for sufficiently large $n$ we can assume it to be atmost $k$ digits.

Now continue to reduce it modulo $n$ ,so every time you would come up :
$a_i(2^{I-1} \equiv -1(Mod n)$, so here we want to it to be =$n$ because of the perfect power condition at left hand side, hence \documentclass{article}
\usepackage{amsmath}

\begin{document}

Let
\[
a_i = \left\lfloor \frac{n}{2^{i-1}} \right\rfloor \quad \text{for } i = 1, 2, \dots, k.
\]
Suppose we want the sequence to satisfy:
\[
a_2 > a_3 > \dots > a_k > d.
\]
In particular, we require:
\[
\left\lfloor \frac{n}{2^{k-1}} \right\rfloor > d.
\]
This implies:
\[
\frac{n}{2^{k-1}} > d \quad \Rightarrow \quad n > 2^{k-1} \cdot d.
\]
To ensure the inequality holds, we can take:
\[
n \geq 2^{k-1} \cdot (d + 1).
\]
Thus, a sufficient condition on \( n \) is:
\[
n = 2^{k-1} \cdot (d + 1),
\]which guarantees:
\[
\left\lfloor \frac{n}{2^{k-1}} \right\rfloor \geq d + 1 > d.
\]
\end{document}
Z K Y
N Quick Reply
G
H
=
a