We have your learning goals covered with Spring and Summer courses available. Enroll today!

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 March Highlights and 2025 AoPS Online Class Information
jlacosta   0
Mar 2, 2025
March is the month for State MATHCOUNTS competitions! Kudos to everyone who participated in their local chapter competitions and best of luck to all going to State! Join us on March 11th for a Math Jam devoted to our favorite Chapter competition problems! Are you interested in training for MATHCOUNTS? Be sure to check out our AMC 8/MATHCOUNTS Basics and Advanced courses.

Are you ready to level up with Olympiad training? Registration is open with early bird pricing available for our WOOT programs: MathWOOT (Levels 1 and 2), CodeWOOT, PhysicsWOOT, and ChemWOOT. What is WOOT? WOOT stands for Worldwide Online Olympiad Training and is a 7-month high school math Olympiad preparation and testing program that brings together many of the best students from around the world to learn Olympiad problem solving skills. Classes begin in September!

Do you have plans this summer? There are so many options to fit your schedule and goals whether attending a summer camp or taking online classes, it can be a great break from the routine of the school year. Check out our summer courses at AoPS Online, or if you want a math or language arts class that doesn’t have homework, but is an enriching summer experience, our AoPS Virtual Campus summer camps may be just the ticket! We are expanding our locations for our AoPS Academies across the country with 15 locations so far and new campuses opening in Saratoga CA, Johns Creek GA, and the Upper West Side NY. Check out this page for summer camp information.

Be sure to mark your calendars for the following events:
[list][*]March 5th (Wednesday), 4:30pm PT/7:30pm ET, HCSSiM Math Jam 2025. Amber Verser, Assistant Director of the Hampshire College Summer Studies in Mathematics, will host an information session about HCSSiM, a summer program for high school students.
[*]March 6th (Thursday), 4:00pm PT/7:00pm ET, Free Webinar on Math Competitions from elementary through high school. Join us for an enlightening session that demystifies the world of math competitions and helps you make informed decisions about your contest journey.
[*]March 11th (Tuesday), 4:30pm PT/7:30pm ET, 2025 MATHCOUNTS Chapter Discussion MATH JAM. AoPS instructors will discuss some of their favorite problems from the MATHCOUNTS Chapter Competition. All are welcome!
[*]March 13th (Thursday), 4:00pm PT/7:00pm ET, Free Webinar about Summer Camps at the Virtual Campus. Transform your summer into an unforgettable learning adventure! From elementary through high school, we offer dynamic summer camps featuring topics in mathematics, language arts, and competition preparation - all designed to fit your schedule and ignite your passion for learning.[/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, Mar 2 - Jun 22
Friday, Mar 28 - Jul 18
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
Tuesday, Mar 25 - Jul 8
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
Sunday, Mar 23 - Jul 20
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
Sunday, Mar 16 - Jun 8
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
Monday, Mar 17 - Jun 9
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
Sunday, Mar 2 - Jun 22
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
Tuesday, Mar 4 - Aug 12
Sunday, Mar 23 - Sep 21
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
Sunday, Mar 16 - Sep 14
Tuesday, Mar 25 - Sep 2
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
Sunday, Mar 23 - Aug 3
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
Sunday, Mar 16 - Aug 24
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
Wednesday, Mar 5 - May 21
Tuesday, Jun 10 - Aug 26

Calculus
Sunday, Mar 30 - Oct 5
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
Sunday, Mar 23 - Jun 15
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
Tuesday, Mar 4 - May 20
Monday, Mar 31 - Jun 23
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
Monday, Mar 24 - Jun 16
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
Sunday, Mar 30 - Jun 22
Wednesday, May 21 - Aug 6
Sunday, Jun 15 - Sep 14
Monday, Jun 23 - Sep 15

Physics 1: Mechanics
Tuesday, Mar 25 - Sep 2
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
Mar 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
Portia's vs. Lara's school
MathArt4   24
N 5 minutes ago by JetFire008
Source: 2021 AMC 10A #2
Portia’s high school has $3$ times as many students as Lara’s high school. The two high schools have a total of
$2600$ students. How many students does Portia’s high school have?

$\textbf{(A) }600 \qquad \textbf{(B) }650 \qquad \textbf{(C) }1950 \qquad \textbf{(D) }2000 \qquad \textbf{(E) }2050$
24 replies
MathArt4
Feb 5, 2021
JetFire008
5 minutes ago
2021 AMC10A Problem 1
Professor-Mom   53
N 11 minutes ago by JetFire008
What is the value of $$(2^2-2) - (3^2-3) + (4^2-4)?$$
$\textbf{(A) } 1 \qquad \textbf{(B) } 2 \qquad \textbf{(C) } 5 \qquad \textbf{(D) } 8 \qquad \textbf{(E) } 12$
53 replies
Professor-Mom
Feb 5, 2021
JetFire008
11 minutes ago
Large root for quadratic polynomial
oVlad   4
N 44 minutes ago by NicoN9
Source: 44th International Tournament of Towns, Senior A-Level P1, Fall 2022
What is the largest possible rational root of the equation $ax^2 + bx + c = 0{}$ where $a, b$ and $c{}$ are positive integers that do not exceed $100{}$?
4 replies
oVlad
Feb 16, 2023
NicoN9
44 minutes ago
Sum of digits
srnjbr   0
an hour ago
Show that there exists a number b such that for every n>b, the sum of the digits of n! is at least 10^1000.
0 replies
srnjbr
an hour ago
0 replies
Integer FE
GreekIdiot   3
N an hour ago by pco
Let $\mathbb{N}$ denote the set of positive integers
Find all $f: \mathbb{N} \rightarrow \mathbb{N}$ such that for all $a,b \in \mathbb{N}$ it holds that $f(ab+f(b+1))|bf(a+b)f(3b-2+a)$
3 replies
1 viewing
GreekIdiot
Yesterday at 8:53 PM
pco
an hour ago
Mathematics
slimshady360   1
N an hour ago by GreekIdiot
In a chess tournament with n ≥ 5 players, each player played all other players. One gets a point for a
win, half a point for a draw, and zero points for a loss. At the end of the tournament, each player had
a different number of points. Prove that the second and third ranked players had together more points
than the winner of the tournament.
1 reply
slimshady360
2 hours ago
GreekIdiot
an hour ago
Math Olympiad Workshops
kokcio   1
N 2 hours ago by GreekIdiot
Hello Math Enthusiasts!

I'm excited to announce a series of free Math Olympiad Workshops designed to help you sharpen your problem-solving skills in preparation for competitions. Whether you're a beginner or a seasoned competitor, these workshops aim to provide a supportive, challenging, and collaborative environment to explore advanced math topics.

Workshop Overview

Duration: 6 months (with the possibility of extending based on participant interest)

Structure: Weekly cycles, each dedicated to one of the main areas of Math Olympiad:
Week 1: Number Theory
Week 2: Geometry
Week 3: Algebra
Week 4: Combinatorics

Weekly Format
Monday: Problem Set Release: Approximately 30 problems will be posted covering the week's topic, which you will have chance to discuss.
Throughout the Week:
Theory Notes: I will share helpful theory and insights relevant to the problem set, giving you the tools you need to approach the problems.
Submission Opportunity: You can work on the problems and submit your solutions. I’ll review your work and provide feedback.
End of the Week: Solutions Post: I’ll release detailed solutions to all problems from the problem set.
Leaderboard: For those interested, we can maintain a table tracking participants who solve the most problems during the week.

Cycle Finale – Mock Contest
At the end of each 4-week cycle, we’ll host a Mock Contest featuring 4 problems (one from each topic). This is a great chance to simulate the competition environment and test your skills in a timed setting. I will review and provide feedback on your contest submissions.

Starting date: June 2

How to participate? Just write /signup under this post.

I believe these workshops will provide a comprehensive, engaging, and collaborative way to tackle Math Olympiad problems. I'm looking forward to seeing your creativity and problem-solving prowess!
If you have any questions or suggestions, please leave a comment below.
1 reply
kokcio
Today at 12:11 AM
GreekIdiot
2 hours ago
Mathematics
slimshady360   0
2 hours ago
Solve this
0 replies
slimshady360
2 hours ago
0 replies
Turbo the Snail
GreekIdiot   1
N 2 hours ago by aidenkim119
Let $n$ be a positive integer. There are $n$ circles drawn on a chalkboard such that any two circles intersect at $2$ distinct points and no $3$ circles pass through the same point. Turbo the snail slides along the circles in the following manner, leaving snail goo behind. Initially he moves on one of the circles in clockwise direction. He keeps sliding along until he reaches an intersection with another circle. Then, he continues his journey on this new circle and also changes the direction he is moving in. We define a snail orbit to be the covering of the whole surface of a circle with turbo's goo, and specifically only a single layer of it. Prove that for every odd $n$ there exists at least one configuration of $n$ circles with a single snail orbit, and find all $n$ such that there is exactly one of the aforementioned configuration type.
1 reply
GreekIdiot
2 hours ago
aidenkim119
2 hours ago
Mathematics
slimshady360   0
2 hours ago
Solve this
0 replies
slimshady360
2 hours ago
0 replies
Olympiad question
slimshady360   0
2 hours ago
Let a,b,c be positive real numbers such that a + b+c = 3abc. Prove that
a2 +b2 +c2 +3 ≥2(ab+bc+ca)
0 replies
slimshady360
2 hours ago
0 replies
Infinite sequences.. welp
navi_09220114   2
N 2 hours ago by ja.
Source: Own. Malaysian IMO TST 2025 P1
Determine all integers $n\ge 2$ such that for any two infinite sequences of positive integers $a_1<a_2< \cdots $ and $b_1, b_2, \cdots$, such that $a_i\mid a_j$ for all $i<j$, there always exists a real number $c$ such that $$\lfloor{ca_i}\rfloor \equiv b_i \pmod {n}$$for all $i\ge 1$.

Proposed by Wong Jer Ren & Ivan Chan Kai Chin
2 replies
navi_09220114
Yesterday at 12:52 PM
ja.
2 hours ago
Base 2n of n^k
KevinYang2.71   42
N 3 hours ago by sansgankrsngupta
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$.
42 replies
KevinYang2.71
Mar 20, 2025
sansgankrsngupta
3 hours ago
Distributing cupcakes
KevinYang2.71   18
N Today at 5:44 AM by MathLuis
Source: USAMO 2025/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$.
18 replies
KevinYang2.71
Mar 21, 2025
MathLuis
Today at 5:44 AM
Base 2n of n^k
KevinYang2.71   42
N 3 hours ago by sansgankrsngupta
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$.
42 replies
KevinYang2.71
Mar 20, 2025
sansgankrsngupta
3 hours ago
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.
KevinYang2.71
407 posts
#1 • 2 Y
Y by MathRook7817, LostDreams
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$.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
bjump
987 posts
#2 • 2 Y
Y by Soccerstar9, DouDragon
Finished my write up with 20 seconds to spare :gleam:
This post has been edited 1 time. Last edited by bjump, Mar 20, 2025, 12:01 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
rhydon516
537 posts
#3
Y by
too easy for a p2...?

We claim one such $N$ is $\boxed{N=2^{k-1}(d+1)}$. Begin by letting $a_i$ be the digit at the $i$th position from the right (0-indexed) of $n^k$ in base $2n$; i.e., $a_0$ is the units digit. Obviously, $a_i=0$ for all $i\ge k$, since $n^k<(2n)^k$. We WTS $a_i>d$ for each $i=0,1,\dots,k-1$, and observe the following:
\[ a_i=\left\lfloor\frac{n^k}{(2n)^i}\right\rfloor\text{ mod }2n=\left\lfloor\frac{n^{k-i}}{2^i}\right\rfloor\text{ mod }2n=\left\lfloor\frac{n^{k-i}\text{ mod }2^{i+1}n}{2^i}\right\rfloor. \]Note that the numerator is a positive multiple of $n$, since 1) $k-i>0\implies n\mid\gcd(n^{k-i},2^{i+1}n)$ and 2)
($n$ is odd) $2^{i+1}n\nmid n^{k-i}$. Thus,
\[ a_i=\left\lfloor\frac{n^{k-i}\text{ mod }2^{i+1}n}{2^i}\right\rfloor>d \quad\iff\quad n^{k-i}\text{ mod }2^{i+1}n\ge n\ge2^i(d+1), \]which is true since $n>N=2^{k-1}(d+1)$ and $k-1\ge i$. $\square$
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
BS2012
935 posts
#4
Y by
Just take n^k mod powers of 2
Also if my solution referenced "sufficiently large n" is that ok
This post has been edited 1 time. Last edited by BS2012, Mar 20, 2025, 12:03 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
KevinYang2.71
407 posts
#5 • 2 Y
Y by bjump, Mathandski
We claim that $\boxed{N=d2^k}$ works.

Let $n>N$ be an odd integer and let $m$ be the number of digits of $n^k$ when written in base $2n$. Clearly we have $m\leq k$. For $1\leq i\leq m$, let integer $0\leq r_i<(2n)^i$ be such that $n^k\equiv r_i\pmod{(2n)^i}$. Let $s_i:=\frac{r_{i+1}-r_i}{(2n)^i}$ for $1\leq i<m$ and let $s_0:=r_1$. Note that $s_i$ is an integer because $r_{i+1}\equiv r_i\pmod{(2n)^i}$. Also, $s_i$ is the $(i+1)$th digit (counting from the right) of $n^k$ when written in base $2n$, because $0\leq s_i<\frac{(2n)^{i+1}}{(2n)^i}=2n$ and
\[
\sum_{i=0}^{m-1}s_i(2n)^i=r_1+\sum_{i=1}^{m-1}(r_{i+1}-r_i)=r_m=n^k.
\]It suffices to prove that $s_i>d$ for all $i$.

Note that $s_0=r_1=n$ since $n$ is odd. Hence $r_i>0$ for all $i$. Fix $1\leq i\leq m-1$. Since $\frac{n^k-r_{i+1}}{(2n)^i}\equiv 0\pmod{2n}$ it follows that
\[
s_i\equiv\frac{r_{i+1}-r_i}{(2n)^i}+\frac{n^k-r_{i+1}}{(2n)^i}\equiv\frac{n^k-r_i}{(2n)^i}\pmod{2n}.
\]Then $n^{i+1}\mid n^k-r_i-s_i(2n)^i$ so $n^{i+1}\leq r_i+s_i(2n)^i<(2n)^i+s_i(2n)^i$ since $r_i+s_i(2n)^i\geq r_i$ is positive. Thus $s_i>\frac{n}{2^i}-1\geq 2d-1\geq d$, as desired. $\square$
This post has been edited 1 time. Last edited by KevinYang2.71, Today at 5:06 AM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Pengu14
435 posts
#7
Y by
BS2012 wrote:
Also if my solution referenced "sufficiently large n" is that ok

I'm pretty sure that's okay.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
BS2012
935 posts
#9
Y by
But I never actually gave an example of such N I just said in my solution "because for sufficiently large n, the result is true, such an N exists" is that a dock?
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
vutukuri
79 posts
#10
Y by
If we only looked at k=1 and k=2, is that partials at least?
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Pengu14
435 posts
#11
Y by
vutukuri wrote:
If we only looked at k=1 and k=2, is that partials at least?

I doubt it.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
hashbrown2009
120 posts
#12
Y by
is it just me or were #1 and #2 kinda trivial for USAJMO?
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
greenAB08
14 posts
#13
Y by
I proved that the amount of digits is $\leq k$, but annoyingly I said that $N=d\times(2^{k-1})$, which is incorrect, and that probably messed up the rest of my proof that used floors and whatever. How many points would that be?
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
BS2012
935 posts
#14
Y by
greenAB08 wrote:
I proved that the amount of digits is $\leq k$, but annoyingly I said that $N=d\times(2^{k-1})$, which is incorrect, and that probably messed up the rest of my proof that used floors and whatever. How many points would that be?

If the rest of your proof is fine, probably around 5ish

If not, then 0+
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
greenAB08
14 posts
#15
Y by
Yeah the rest is fine, I just threw lol
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
bjump
987 posts
#16
Y by
BS2012 wrote:
greenAB08 wrote:
I proved that the amount of digits is $\leq k$, but annoyingly I said that $N=d\times(2^{k-1})$, which is incorrect, and that probably messed up the rest of my proof that used floors and whatever. How many points would that be?

If the rest of your proof is fine, probably around 5ish

If not, then 0+

I used $N=d\cdot 2^k \cdot 1434^{1434}$ in my solution
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
scannose
984 posts
#17
Y by
BS2012 wrote:
greenAB08 wrote:
I proved that the amount of digits is $\leq k$, but annoyingly I said that $N=d\times(2^{k-1})$, which is incorrect, and that probably messed up the rest of my proof that used floors and whatever. How many points would that be?

If the rest of your proof is fine, probably around 5ish

If not, then 0+

did the same thing and if i get docked to a 2 for this im going to cry
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
KevinChen_Yay
204 posts
#18
Y by
rhydon516 wrote:
too easy for a p2...?

We claim one such $N$ is $\boxed{N=2^{k-1}(d+1)}$. Begin by letting $a_i$ be the digit at the $i$th position from the right (0-indexed) of $n^k$ in base $2n$; i.e., $a_0$ is the units digit. Obviously, $a_i=0$ for all $i\ge k$, since $n^k<(2n)^k$. We WTS $a_i>d$ for each $i=0,1,\dots,k-1$, and observe the following:
\[ a_i=\left\lfloor\frac{n^k}{(2n)^i}\right\rfloor\text{ mod }2n=\left\lfloor\frac{n^{k-i}}{2^i}\right\rfloor\text{ mod }2n=\left\lfloor\frac{n^{k-i}\text{ mod }2^{i+1}n}{2^i}\right\rfloor. \]Note that the numerator is a positive multiple of $n$, since 1) $k-i>0\implies n\mid\gcd(n^{k-i},2^{i+1}n)$ and 2)
($n$ is odd) $2^{i+1}n\nmid n^{k-i}$. Thus,
\[ a_i=\left\lfloor\frac{n^{k-i}\text{ mod }2^{i+1}n}{2^i}\right\rfloor>d \quad\iff\quad n^{k-i}\text{ mod }2^{i+1}n\ge n\ge2^i(d+1), \]which is true since $n>N=2^{k-1}(d+1)$ and $k-1\ge i$. $\square$

how many points if i had the same exact sol but...
1. did the same thing as BS2012 (my solution referenced the bound for n instead of saying for N), but did write in the conclusion sentence that "N obviously existed", and
2. in the conclusion sentence also wrote that considering $a_i=0$ for each $i$ would still show that $N$ exists even tho the sol was already sufficient assuming that $a_i>d$ anyway? (for this one, in other words, do the graders actually care about an unnecessary/slightly off sentence I wrote after a solution that would've probably gotten a 7?)
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
plang2008
328 posts
#19 • 1 Y
Y by Mathandski
Fix $k$. Define $r_k = 1$ and $r_{i-1}$ to be the remainder when $nr_i$ is divided by $2^{i-1}$. Notice that $r_1 = 0$ and $r_i$ is odd for $i \neq 1$. Then, we claim that \[n^k = \sum_{i=1}^k \left(\frac{r_i n - r_{i-1}}{2^{i-1}}\right) \cdot (2n)^{i-1}.\]Indeed, notice that this sum equals $\sum_{i=1}^k (r_i n^i - r_{i-1} n^{i-1}) = r_k n^k = n^k$ since it telescopes. Now notice by definition of $(r_i)$, each coefficient of $(2n)^{i-1}$ is an integer. Also, since $r_i < 2(2^{i-1})$, each coefficient is between $0$ and $2n - 1$. Thus, the above sum is simply a base-$2n$ representation of $n^k$.

Finally, since $r_{i-1} < 2^{i-1}$, we have \[\frac{r_i n - r_{i-1}}{2^{i-1}} > \frac{r_i n}{2^{i-1}} - 1 \geq \frac{n}{2^{i-1}} - 1.\]Clearly, as $n$ becomes arbitrarily large, the lower bound of each digit becomes arbitrarily large as well.
This post has been edited 1 time. Last edited by plang2008, Mar 20, 2025, 4:26 PM
Reason: r_1 not r_0
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
EpicBird08
1740 posts
#20
Y by
Feeling kinda dumb after reading the above solutions :blush:

Define the function $g_n (x) = 2n \{x\}.$ We start with the following:
Claim: For all $m \ge 2$ we have $$n^k = \sum_{i=1}^{m-1} (2n)^{k-i} \left\lfloor g_n^{i-1} \left(\frac{n}{2^{k-1}}\right) \right\rfloor + (2n)^{k-m+1} \left\{ g_n^{m-2} \left(\frac{n}{2^{k-1}}\right) \right\}$$
Proof: By induction on $m.$ The base case $m=2$ is because $$(2n)^{k-1} \left(\left\lfloor \frac{n}{2^{k-1}}\right\rfloor + \left\{ \frac{n}{2^{k-1}}\right\}\right) = (2n)^{k-1} \cdot \frac{n}{2^{k-1}} = n^k.$$Now for the inductive step, we have
\begin{align*}
 (2n)^{k-m+1} \left\{ g_n^{m-2} \left(\frac{n}{2^{k-1}}\right) \right\} &= (2n)^{k-m} \cdot 2n \left\{ g_n^{m-2} \left(\frac{n}{2^{k-1}}\right) \right\} \\
  &= (2n)^{k-m} g_n^{m-1} \left(\frac{n}{2^{k-1}}\right) \\
  &= (2n)^{k-m} \left\lfloor g_n^{m-1} \left(\frac{n}{2^{k-1}}\right) \right\rfloor + (2n)^{k-m} \left\{ g_n^{m-1} \left(\frac{n}{2^{k-1}}\right) \right\}.
\end{align*}Plugging this into the inductive hypothesis completes the induction.

Using $m = k+1$ in the above claim gives $$n^k = \sum_{i=1}^{k} (2n)^{k-i} \left\lfloor g_n^{i-1} \left(\frac{n}{2^{k-1}}\right) \right\rfloor + \left\{ g_n^{k-1} \left(\frac{n}{2^{k-1}}\right) \right\}.$$Every term to the left of the rightmost term is an integer, so the rightmost term is also an integer. However, since $0 \le \{x\} < 1$ for all $x \in \mathbb{R},$ it must be $0.$ This gives us $$\boxed{n^k = \sum_{i=1}^{k} (2n)^{k-i} \left\lfloor g_n^{i-1} \left(\frac{n}{2^{k-1}}\right) \right\rfloor}.$$We have $$\left\lfloor g_n^{i-1} \left(\frac{n}{2^{k-1}}\right) \right\rfloor < 2n$$since $g(x) < 2n$ for all $x.$ Thus the boxed equation gives the unique base $2n$ representation of $n^k.$

Claim: We have that $2^{k-i-1} g_n^{i} \left(\frac{n}{2^{k-1}}\right)$ is an odd integer, for all $0 \le i \le k-2.$

Proof: Again by induction, this time on $i.$ The base case $i=0$ is trivial as $n$ is odd. For the inductive step, we have $g_n^i \left(\frac{n}{2^{k-1}}\right) = \frac{z}{2^{k-i-1}}$ for some odd integer $z,$ so $$2^{k-i-2} g_n^{i+1} \left(\frac{n}{2^{k-1}}\right) = 2^{k-i-1} n \left\{\frac{z}{2^{k-i-1}}\right\} = 2^{k-i-1} n \left(\frac{z}{2^{k-i-1}} - \left\lfloor \frac{z}{2^{k-i-1}} \right\rfloor \right).$$This is $$nz - 2^{k-i-1} n \left\lfloor \frac{z}{2^{k-i-1}} \right\rfloor.$$The last term is even for $i < k-1,$ and the first term is odd since $n$ and $z$ are odd. This completes the induction.

Now, when $i = 1,$ we have $$\left\lfloor g_n^{i-1} \left(\frac{n}{2^{k-1}}\right) \right\rfloor = \left\lfloor\frac{n}{2^{k-1}}\right\rfloor,$$so assume $i \ge 2.$ Then we have
\begin{align*}
 \left\lfloor g_n^{i-1} \left(\frac{n}{2^{k-1}}\right) \right\rfloor &= \left\lfloor 2n \left\{g_n^{i-2} \left(\frac{n}{2^{k-1}}\right) \right\}\right\rfloor \\
 &\ge \left\lfloor 2n \cdot \frac{1}{2^{k-i+1}}\right\rfloor \\
 &= \left\lfloor \frac{n}{2^{k-i}} \right\rfloor
\end{align*}since any odd positive integer is at least $1.$ Therefore, the $i$th digit from the left in the base $2n$ representation of $n^k$ is at least $\left\lfloor \frac{n}{2^{k-i}}\right\rfloor.$ Taking $n > (d+1) \cdot 2^{k-1}$ finishes.
This post has been edited 1 time. Last edited by EpicBird08, Mar 20, 2025, 12:51 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
BS2012
935 posts
#21
Y by
How many points would this get:

Let $m=\lfloor k\log_{2n}(n)\rfloor+1$ be the number of digits in $n^k$ when expressed in base $2n.$ Note that
$$m=\left\lfloor k\left(\dfrac{\ln(n)}{\ln(n)+\ln(2)}\right)\right\rfloor+1.$$Note that $\frac{\ln(n)}{\ln(n)+\ln(2)}<1$ but $\displaystyle \lim_{n\to\infty}\frac{\ln(n)}{\ln(n)+\ln(2)}=1,$ so for sufficiently large $n$ we have that $m=k-1+1=k.$ Thus, we can just assume that going forward.

Let $a_0,a_1,\dots,a_{k-1}$ be the unique sequence of integers between $0$ and $2n-1$ inclusive such that
$$n^k=\displaystyle \sum_{i=0}^{k-1}a_{i}(2n)^{i}.$$Then, let $b_0,b_1,\dots,b_{k-1}$ be defined as
$$b_i=\displaystyle \sum_{c=0}^{i}a_{c}(2n)^{c}.$$Note that $b_{k-1}=n^k.$

Claim: $b_i\ge n^{i+1}.$ This is obviously true for $i=k-1,$ and for $0\le i<k-1,$ we have
$$b_i\equiv n^k\pmod {(2n)^{i+1}},$$so
$$b_i=n^k-r(2n)^{i+1}=n^{i+1}(n^{k-i-1}-r(2)^{i+1})$$for some integer $r.$ However, we have that $n^{k-i-1}$ is odd, $r(2)^{i+1}$ is even, and $b_i$ is nonnegative (would i get pts off for saying positive in contest?), so we have $n^{k-i-1}-r(2)^{i+1}\ge 1$ (might've accidentally said greater than here) and $b_i\ge n^{i+1}.$

Then, since $b_i$ is an $i$ digit base $2n$ number, we have that $b_i<(2n)^i.$ Then, we have for $i>0$ that
$$(2n)^i a_i=b_{i}-b_{i-1}>n^{i+1}-(2n)^i,$$so
$$a_i\ge \dfrac{n}{2^i}-1.$$For sufficiently large $n$ we have
$$a_i\ge \dfrac{n}{2^i}-1>d.$$If $i=0,$ we have for sufficiently large $n$
$$a_0=b_0\ge n>d,$$so the desired result is true for sufficiently large $n.$ Thus, such an $N$ exists, and 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.
Ilikeminecraft
302 posts
#23
Y by
$N > (d+1)\cdot2^{k - 1}$ works
Claim:
For all sufficiently large $n,$ $n^k$ has exactly $k$ digits.
Proof:
Note that $N > 2^{k - 1}.$
Furthermore,
\begin{align*}
            \text{\# of digits} & = 1+\lfloor\log_{2n}(n^k)\rfloor \\
            & = 1 + \lfloor k \log_{2n}(n)\rfloor \\
            & = 1 + \lfloor k(1 - \log_{2n}(2))\rfloor 
        \end{align*}Also note that $0 < \log_{2n}(2) < \frac 1k$ from the bound $N > 2^{k - 1}.$ This finishes.

Let $n^k = \overline{a_{k - 1}\dots a_1a_0}.$

Let $0 \leq \ell < k.$
Claim:
$a_{\ell} = \left\lfloor \frac{n^k}{(2n)^{\ell}}\right\rfloor - 2n\cdot\left\lfloor \frac{n^k}{(2n)^{\ell + 1}}\right\rfloor $
Proof:
Note that:
\begin{align*}
            \left\lfloor\frac{n^k}{(2n)^{\ell}}\right\rfloor & = \left\lfloor\frac{\sum_{j = 0}^{k - 1} a_j (2n)^{j}}{(2n)^\ell}\right\rfloor \\
            & = \left\lfloor\sum_{j = \ell}^{k - 1}a_j(2n)^{j - \ell} + \sum_{j = 0}^{\ell - 1}a_j(2n)^{j - \ell}\right\rfloor \\ 
            & = \sum_{j = \ell}^{k - 1}a_j(2n)^{j - \ell}
        \end{align*}where the last equality is since that sum is obviously an integer and the other sum is obviously less than 1.

Hence,
\begin{align*}
            a_j & = \sum_{j = \ell}^{k - 1}a_j(2n)^{j - \ell} - 2n\cdot\sum_{j = \ell + 1}^{k - 1}a_j(2n)^{j - \ell - 1} \\
            & = \left\lfloor \frac{n^k}{(2n)^{\ell}}\right\rfloor - 2n\cdot\left\lfloor \frac{n^k}{(2n)^{\ell -1}}\right\rfloor 
        \end{align*}Now, we can finish.

Next, note that $\left\{\frac{n^k}{(2n)^{\ell + 1}}\right\} = \left\{\frac{n^{k- \ell + 1}}{2^{\ell + 1}}\right\} \geq \frac1{2^{\ell+1}} \geq \frac1{2^{k}}$ where the first inequality follows from $n$ being odd, and the second follows from $\ell < k.$

Now, pick some $N > (d + 1)\cdot 2^{k - 1}.$ From the first claim, we have:
\begin{align*}
        a_\ell & = \left\lfloor \frac{n^k}{(2n)^{\ell}}\right\rfloor - 2n\cdot\left\lfloor \frac{n^k}{(2n)^{\ell+1}}\right\rfloor \\
        & = \left\lfloor \frac{n^k}{(2n)^{\ell}}-2n\cdot \left\lfloor\frac{n^k}{(2n)^{\ell+1}}\right\rfloor\right\rfloor \\
        & = \left\lfloor2n\cdot\left\{\frac{n^k}{(2n)^{\ell+1}}\right\}\right\rfloor \\
        & \geq\left\lfloor\frac{2n}{2^k}\right\rfloor \\
        & \geq d + 1
    \end{align*}
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
arfekete
246 posts
#24
Y by
Claim 1: The base $2n$ representation of $n^k$ has at most $k$ digits.
Proof: Suppose $n^k$ had at least $k + 1$ digits. Then the least value of $n^k$ would be $100000\cdots$ ($k$ $0$s) $= (2n)^k$, which would imply $n^k \geq (2n)^k \to 1 \geq 2^k$ which is absurd since $k$ is positive.
Claim 2: The $m$th digit of $n^k$ from the right in base $2n$ is greater than $\frac{n}{(2)^{m-1}} - 1$.
Proof: By claim 1, $k \geq m$. Since we are working in base $2n$, the $m$th digit from the right will be equal to $\frac{p_{m} - p_{m-1}}{(2n)^{m-1}}$, where $p_m$ is the unique positive integer $0 \leq p_m < (2n)^m$ for which $p_m \equiv n^k \pmod{(2n)^m}$. $p_{m-1}$ is defined analogously. Since $m \leq k$, we have $n^m | n^k$ so by Chinese Remainder Theorem (note that CRT is applicable since $n$ is odd so $\gcd{(2^m, n^m)} = 1$), $p_m = q_mn^m$ for some $q_m \geq 1$ ($q_m = 0$ is impossible since then $n^k$ would be even). We are given by definition that $q_{m-1} < (2n)^{m - 1}$ so: $$\frac{p_m - p_{m-1}}{(2n)^{(m-1)}} > \frac{p_m}{(2n)^{(m-1)}} - 1 = \frac{q_mn^m}{2^{m-1}n^{m-1}} - 1 \geq \frac{n^m}{2^{m-1}n^{m-1}} - 1 = \frac{n}{2^{m-1}} - 1$$as desired.
Claim 3: $N = (d+1)2^{k-1}$ is sufficient \newline
Proof: Let $b_m$ be the nth digit from the right. Since we have $b_m > \frac{n}{2^{m - 1}} - 1$ and $m \leq k$, it follows that $b_m > \frac{n}{2^{k-1}} - 1$ $\forall m \in \{1, 2, \dots, k\}$, so letting $n > N = (d + 1)2^{k - 1}$, we get that $b_m > \frac{n}{2^{k-1}} - 1 > \frac{(d+1)2^{k-1}}{2^{k-1}} - 1 = d$, as desired.

This was what I wrote originally but when I had a bit of extra time I added a forth page:

In case this is needed: Proof that $b_m = \frac{p_m-p_{m-1}}{(2n)^{m-1}}$: We have that $$n^k = \sum_{i=1}^{k}b_i \cdot2^{i-1} = \sum_{i=1}^{k}\frac{p_i-p_{i-1}}{2^{i-1}} \cdot2^{i-1} = \sum_{i=1}^{k}{p_m-p_{m-1}} = p_k-p_0$$by telescoping. \newline $p_0 = 0$ since $(2n)^{0} = 1$ and $n^k \equiv 0 \pmod{1}$. \newline $p_k = n^k$ since $(2n)^k > n^k$ and $n^k \equiv n^k \pmod {(2n)^k}$. Therefore, our formula produces the right value as desired. Since there is a unique way to write $n^k$ in base $2n$, it remains to prove that each term of this formula is an integer. Since $p_m \equiv n^k \pmod{(2n)^m}$ and $(2n)^{m-1} | (2n)^m$, we have that $p_m \equiv n^k \pmod{(2n)^{m-1}}$. $p_{m-1} \equiv n^k \pmod{(2n)^{m-1}}$ by definition, so $p_m - p_{m-1} \equiv 0 \pmod{(2n)^{m-1}}$ and $\frac{p_m - p_{m-1}}{(2n)^{(m-1)}}$ is an integer, as desired.
This post has been edited 2 times. Last edited by arfekete, Mar 20, 2025, 1:28 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
6869 posts
#25 • 5 Y
Y by GrantStar, OronSH, MathRook7817, NaturalSelection, NicoN9
The problem actually doesn't have much to do with digits: the idea is to pick any length $\ell \le k$, and look at the rightmost $\ell$ digits of $n^k$; that is, the remainder upon division by $(2n)^\ell$. We compute it exactly:

Claim: Let $n \ge 1$ be an odd integer, and $k \ge \ell \ge 1$ integers. Then \[ n^k \bmod{(2n)^i} = c(k,\ell) \cdot n^i \]for some odd integer $1 \le c(k,\ell) \le 2^\ell-1$.
Proof. This follows directly by the Chinese remainder theorem, with $c(k,\ell)$ being the residue class of $n^{-k} \pmod{2^\ell}$ (which makes sense because $n$ was odd). $\blacksquare$
In particular, for the $\ell$th digit from the right to be greater than $d$, it would be enough that \[ c(k,\ell) \cdot n^\ell \ge (d+1) \cdot (2n)^{\ell-1}. \]But this inequality holds whenever $n \ge (d+1) \cdot 2^{\ell-1}$.
Putting this together by varying $\ell$, we find that for all odd \[ n \ge (d+1) \cdot 2^{k-1} \]we have that
  • $n^k$ has $k$ digits in base-$2n$; and
  • for each $\ell = 1, \dots, k$, the $\ell$\textsuperscript{th} digit from the right is at least $d+1$
so the problem is solved.

Remark: Note it doesn't really mater that $c(k,i)$ is odd per se; we only need that $c(k,i) \ge 1$.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
OronSH
1727 posts
#26 • 3 Y
Y by GrantStar, ihatemath123, Sleepy_Head
We claim $N=2^{k-1}(d+1)$ works. Suppose the $r$th digit from the right is $\le d$, where clearly $r\le k$. Then \[\frac{d+1}{2n}>\left\{\frac{n^k}{(2n)^r}\right\}=\left\{\frac{n^{k-r}}{2^r}\right\}\ge\frac1{2^r}\ge\frac1{2^k},\]failing at $n>N$ as desired.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
S.Das93
706 posts
#27
Y by
I messed it up and got $2^{k-1}*d+1$ does this still work or not
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
ihatemath123
3440 posts
#29 • 1 Y
Y by OronSH
@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. We take $\boxed{N = (d+1) \cdot 2^{k-1}}$.

Dividing $n^k$ by $(2n)^k$ shifts it $k$ digits right, leaving us with $(\tfrac{1}{2})^k$. It suffices to show that the first $k$ digits after the decimal point are all greater than $d$.

Claim: For any number $x$, consider a digit $d$ in its base $2n$ representation. When we halve $x$, the digit $d$ is replaced by either $d \to \lfloor \tfrac{d}{2} \rfloor$ or $d \to \lfloor \tfrac{d}{2} \rfloor + n$.
Proof: This is apparent from interpreting half of $x$ as $x \cdot 0.b_{\text{base } 2b}$, and carrying out the column multiplication. In particular, note that since $0 \leq d \leq 2n-1$, $\lfloor \tfrac{d}{2} \rfloor + n$ is also at most $2n-1$.

When we repeatedly divide by $2$ for $k$ iterations, each of the first $k$ digits after the decimal point, while initially $0$, will become $n$ in one of the iterations. For each digit, after $0 \to n$, there are at most $k-1$ iterations remaining. Any digit is at least (the floor of) half of its previous value in one iteration, as established in the claim, so after all the iterations, the value of the digit is at least
\[\left \lfloor \frac{n}{2^{k-1}} \right \rfloor \geq \left \lfloor \frac{N}{2^{k-1}} \right \rfloor > d.\]remark
This post has been edited 1 time. Last edited by ihatemath123, Mar 20, 2025, 1:45 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
cushie27
11 posts
#30
Y by
greenAB08 wrote:
I proved that the amount of digits is $\leq k$, but annoyingly I said that $N=d\times(2^{k-1})$, which is incorrect, and that probably messed up the rest of my proof that used floors and whatever. How many points would that be?

I think that’s very insignificant because it’s not really a part of the main step for the floor solution, at least for the way I did it. (maybe -1 at max)

For me, I used floor and remainders as well but I did not know how to phrase it properly in the language of induction… so I just said “we have the same problem with index shifted one down, so repeat the same process.” Does anyone know if this will be a big issue?
This post has been edited 2 times. Last edited by cushie27, Mar 20, 2025, 2:16 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
BS2012
935 posts
#32
Y by
Ok so I used $b_i$ as $n^k$ mod $(2n)^{i+1}$ (not exactly, but i proved that for my definition of $b_i$ that this is true) and i accidentally said that $b_i$ is positive instead of nonnegative. This does not impact the other steps in my solution.

Also, I got it down to $b_i=n^{i+1}(n^{k-i-1}-r(2)^{i+1})$ and it is clear that $n^{k-i-1}$ is odd and $r(2)^{i+1}$ is even, so I concluded that since $b_i$ is "positive" (nonnegative), that $n^{k-i-1}-r(2)^{i+1}\ge 1.$ Unfortunately, I may have said greater than instead of greater than or equal to. However, this also does not impact my claim since I had intended to do $\ge.$

How many points would be deducted?

EDIT: $b_i$ is in fact positive, and my solution kind of made it clear why by doing $b_i\equiv n^k\pmod{(2n)^{i+1}}.$ It should be obvious from this... right?
This post has been edited 3 times. Last edited by BS2012, Mar 20, 2025, 2:20 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
scannose
984 posts
#33
Y by
@above none possibly
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
MathJams
3228 posts
#34
Y by
Does this work?
Let $N=2^k(d+1)$, so $(2n)^{k-1}<n^k<(2n)^k$. Then, the base $2n$ representation of $n^k$ is in the form $c_{k-1}c_{k-2}\dots c_0$. Assume FTSOC that $c_j\leq d$. Then, $$n^k=\sum_{j+1}^{k-1} c_i(2n)^i + c_j(2n)^j + \sum_{0}^{j-1} c_i(2n)^i.$$Taking both sides mod $n^{j+1}$, we have $0\equiv c_j(2n)^j +  \sum_{0}^{j-1} c_i(2n)^i$. However, $$c_j(2n)^j +  \sum_{0}^{j-1} c_i(2n)^i\leq d(2n)^j+(2n)^j-1 < (d+1)(2n)^j.$$This means, $$(d+1)(2n)^j = n^j(2^j\cdot (d+1))< n^{j+1}.$$Thus, we must have $c_j(2n)^j + \sum_{0}^{j-1} c_i(2n)^i = 0$. Then, $n^k=\sum_{j+1}^{k-1} c_i(2n)^i$. Taking both sides mod $2$ gives a contradiction as desired.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Mathandski
720 posts
#35 • 2 Y
Y by ihatemath123, dolphinday
Really short solution (omitted some details):

We claim each digit of $n^k$ is at least $\lfloor \frac{n}{2^{k-1}}  \rfloor$. We do this by induction on $k$.

When we multiply each digit $d$ by $n$. The amount that carries over $\lfloor \frac{nd}{2n}  \rfloor = \lfloor \frac{d}{2}  \rfloor$ while the amount that stays is $n$ or $0$. Note that $\lfloor \frac{n}{2^{k}}  \rfloor \le \lfloor \frac{d}{2}  \rfloor < n$ Therefore, the digits after multiplying $n^{k}$ with $n$ are less than $2n$ and at least $\lfloor \frac{n}{2^{k}} \rfloor$ as desired.

Taking $N = (d+1) 2^{k-1}$ suffices.
This post has been edited 3 times. Last edited by Mathandski, Mar 20, 2025, 2:38 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
mop
4053 posts
#36
Y by
do i lose points if i said that n>2^(k-1)d+2^(k-1)-1
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
eg4334
614 posts
#37
Y by
sketch:
-n^k has k digits sufficiently large n
-the leading digit is floor(n/2^k-1)
-induct on k and show that the remaining digits take the form n^(k-1) * n mod 2^k-1 or somethiing like that
-use induct hypothesis to win
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
greenAB08
14 posts
#38
Y by
cushie27 wrote:

I think that’s very insignificant because it’s not really a part of the main step for the floor solution, at least for the way I did it. (maybe -1 at max)

For me, I used floor and remainders as well but I did not know how to phrase it properly in the language of induction… so I just said “we have the same problem with index shifted one down, so repeat the same process.” Does anyone know if this will be a big issue?

Honestly it might be, I found that that was the crux of the proof. My induction was a little sketchy as well
This post has been edited 1 time. Last edited by greenAB08, Mar 20, 2025, 3:08 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
cursed_tangent1434
552 posts
#39
Y by
Very sus solution here. We prove the result on induction on $k$ (for all $d$). When $k=1$, $n_{2n}=n$ so for all $d \in \mathbb{N}$ there exists sufficiently large $N$ such that for all $n>N$ the digits of $n$ are greater than $d$.

Now, say the digits of $n^k$ in base $2n$ are,
\[n^k_{2n} = \overline{a_1a_2\dots a_r}\]Then,
\[2n^{k+1}_{2n} = \overline{a_1a_2\dots a_r0}\]
Now, we show the following pretty obvious claim.

Claim : If all digits of the positive integer $X$ are greater than $2z$ then all digits of $\lfloor\frac{X}{2}\rfloor$ (excluding possibly the last digit) are at least $z$.

Proof : We simply consider dividing $X$ by $2$. If a digit is even, its halve will be written which must be greater than $z$. If a digit is odd, its halve is written and a carry over of 1 is taken to the next place. Then, the halve of $2n+a$ will be written in the next place where $a$ is the number in this place which is clearly at least $z$ if $a>2z$. This process continues until the division is complete and it follows that all digits (except possibly the last if the final digit of $X$ is odd) will be at least $z$.

Now, applying this to $2n^{k+1}$, if we pick sufficiently large $n$ such that all digits of $n^k_{2n}$ are greater than $2d$ and $n>d$, then all the digits of $n^{k+1}$ will be greater than $d$ (the final digit must be $n$ since $n^{k}$ is odd (as $n$ is odd)). Thus, the induction is complete and the result follows.
This post has been edited 1 time. Last edited by cursed_tangent1434, Mar 20, 2025, 3:45 PM
Reason: minor details
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Bole
574 posts
#41
Y by
cursed_tangent1434 wrote:
Very sus solution here. We prove the result on induction on $k$ (for all $d$). When $k=1$, $n_{2n}=n$ so for all $d \in \mathbb{N}$ there exists sufficiently large $N$ such that for all $n>N$ the digits of $n$ are greater than $d$.

Now, say the digits of $n^k$ in base $2n$ are,
\[n^k_{2n} = \overline{a_1a_2\dots a_r}\]Then,
\[2n^{k+1}_{2n} = \overline{a_1a_2\dots a_r0}\]
Now, we show the following pretty obvious claim.

Claim : If all digits of the positive integer $X$ are greater than $2z$ then all digits of $\lfloor\frac{X}{2}\rfloor$ (excluding possibly the last digit) are at least $z$.

Proof : We simply consider dividing $X$ by $2$. If a digit is even, its halve will be written which must be greater than $z$. If a digit is odd, its halve is written and a carry over of 1 is taken to the next place. Then, the halve of $2n+a$ will be written in the next place where $a$ is the number in this place which is clearly at least $z$ if $a>2z$. This process continues until the division is complete and it follows that all digits (except possibly the last if the final digit of $X$ is odd) will be at least $z$.

Now, applying this to $2n^{k+1}$, if we pick sufficiently large $n$ such that all digits of $n^k_{2n}$ are greater than $2d$ and $n>d$, then all the digits of $n^{k+1}$ will be greater than $d$ (the final digit must be $n$ since $n^{k}$ is odd (as $n$ is odd)). Thus, the induction is complete and the result follows.

This is basically identical to what I did in contest :coolspeak:
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
YaoAOPS
1497 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
175 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
1464 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
102 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.
1671 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
60 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, Today at 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
128 posts
#50
Y by
OG! did anyone use induction here?
LaTeX to AoPS Conversion
Z K Y
N Quick Reply
G
H
=
a