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

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
Oi! These lines concur
Rg230403   18
N 42 minutes ago by HoRI_DA_GRe8
Source: LMAO 2021 P5, LMAOSL G3(simplified)
Let $I, O$ and $\Gamma$ respectively be the incentre, circumcentre and circumcircle of triangle $ABC$. Points $A_1, A_2$ are chosen on $\Gamma$, such that $AA_1 = AI = AA_2$, and point $A'$ is the foot of the altitude from $I$ to $A_1A_2$. If $B', C'$ are similarly defined, prove that lines $AA', BB'$ and $CC'$ concurr on $OI$.
Original Version from SL
Proposed by Mahavir Gandhi
18 replies
Rg230403
May 10, 2021
HoRI_DA_GRe8
42 minutes ago
Incircle
PDHT   0
an hour ago
Source: Nguyen Minh Ha
Given a triangle \(ABC\) that is not isosceles at \(A\), let \((I)\) be its incircle, which is tangent to \(BC, CA, AB\) at \(D, E, F\), respectively. The lines \(DE\) and \(DF\) intersect the line passing through \(A\) and parallel to \(BC\) at \(M\) and \(N\), respectively. The lines passing through \(M, N\) and perpendicular to \(MN\) intersect \(IF\) and \(IE\) at \(Q\) and \(P\), respectively.

Prove that \(D, P, Q\) are collinear and that \(PF, QE, DI\) are concurrent.
0 replies
PDHT
an hour ago
0 replies
Surprisingly low answer to the question what is the maximum
mshtand1   2
N an hour ago by sarjinius
Source: Ukrainian Mathematical Olympiad 2025. Day 2, Problem 8.6, 10.5
Given $2025$ positive integer numbers such that the least common multiple (LCM) of all these numbers is not a perfect square. Mykhailo consecutively hides one of these numbers and writes down the LCM of the remaining $2024$ numbers that are not hidden. What is the maximum number of the $2025$ written numbers that can be perfect squares?

Proposed by Oleksii Masalitin
2 replies
mshtand1
Mar 13, 2025
sarjinius
an hour ago
Abelkonkurransen 2025 2b
Lil_flip38   2
N an hour ago by megarnie
Source: abelkonkurransen
Which positive integers $a$ have the property that \(n!-a\) is a perfect square for infinitely many positive integers \(n\)?
2 replies
Lil_flip38
Today at 11:12 AM
megarnie
an hour ago
No more topics!
f(2) = 7, find all integer functions [Taiwan 2014 Quizzes]
v_Enhance   56
N Mar 17, 2025 by Maximilian113
Find all increasing functions $f$ from the nonnegative integers to the integers satisfying $f(2)=7$ and \[ f(mn) = f(m) + f(n) + f(m)f(n) \] for all nonnegative integers $m$ and $n$.
56 replies
v_Enhance
Jul 18, 2014
Maximilian113
Mar 17, 2025
f(2) = 7, find all integer functions [Taiwan 2014 Quizzes]
G H J
G H BBookmark kLocked kLocked NReply
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Cusofay
85 posts
#45
Y by
Obviously, $f(x)=x^3-1$ is a solution and we want to prove its uniqueness.


Define $g: \mathbb{Z}_{\geq 0} \to \mathbb{Z}$ such that $g(x)=f(x)+1$. The equation then becomes $g(mn)=g(m)g(n)$. We know that $g$ is strictly increasing since $f$ is strictly increasing. Now the problem is trivial by Erdos theorem.

$$\mathbb{Q.E.D.}$$
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
eibc
595 posts
#46
Y by
The answer is $f(x) = x^3 - 1$, which works. We now show this is the only solution. Let $g \equiv f + 1$. Note that $g(mn) = f(m) + f(n) + f(m)f(n) + 1 = (f(m) + 1)(f(n) + 1) = g(m)g(n)$ for all $n$. Using this identity over and over, we have $g(2^k) = 2^{3k}$ and $g(a^k) = (g(a))^k$ for all nonnegative $a, k$.

Now, suppose for the sake of contradiction there exists $a$ such that $g(a) \neq a^3$. We have either $g(a) \ge a^3 + 1$ or $g(a) \le a^3 - 1$; we will show the former is impossible, and the proof for the latter will be similar.

Since the rationals are dense in $\mathbb{R}$, there exists integers $a, b$ such that $a^3 + 1 > 2^{a/b} > a^3$. Then from the second inequality, we have $2^a > a^{3b}$, and also
$$g(a^{3b}) \ge (a^3 + 1)^{3b} > 2^{3a} = g(2^a),$$which contradicts the fact that $g$ is strictly increasing. So $g(a) = a^3$ for all $a$, which implies that $f(a) = a^3 - 1$.
This post has been edited 1 time. Last edited by eibc, Mar 11, 2024, 5:37 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Martin2001
126 posts
#47
Y by
Add $1$ to both sides and let $g(x)=f(x)+1.$ Thus, $g(x)g(y)=g(xy).$ Note that $g(1)=1$ and $g(2^k)=2^{3k}$ by repeatedly multiplying by $g(2),$ which is $=2^3.$
Claim : $g(x)=x^3.$ Note that this means
\begin{align*}
x^m < 2^n &\iff g(x)^m < 8^n \\
\log_2 x < \frac{n}{m} &\iff \log_8 g(x) < \frac{n}{m}.
\end{align*}As rationals are dense in $\mathbb R,$ note that if $\log_2 x \neq \log_8 g(x)$ it would mean there is a $\frac{n}{m}$ such that $\log_2 x <\frac{n}{m}< \log_8 g(x).$ Thus, $\log_2 x = \log_8 g(x),$ so $g(x)=x^3$ and $f(x)=\boxed{x^3-1}.\blacksquare$
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Mr.Sharkman
487 posts
#48
Y by
Let $f(m)+1 = g(m).$ Then, the condition is equivalent to having $g(mn) = g(m)g(n).$
Now, we see that $g(2) = 8.$ Now, notice that, by the density of the rational numbers, since $g(x)^{m} < 8^{n}$ if and only if $x^{m} < 2^{n},$ we need to have that $g(x) = x^{a}$ for some $a.$ So, $g(x) = x^{3},$ and thus $f(x) = x^{3}-1.$
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
dolphinday
1313 posts
#49
Y by
Add $1$ on both sides to get $f(mn) + 1 = (f(m) + 1)(f(n) + 1)$. Then let $g(x) = f(x) + 1$ to get $g(mn) = g(m)g(n)$.
Then it is well known that the solutions to $g(mn) = g(m)g(n)$(from $\mathbb R \to \mathbb R)$ are
i. $g \equiv 0$,
ii. $g(x) \equiv e^{h(\log |x|)}$ with $f(0) = 0$, and
iii. $g(x) \equiv \textit{sign}(x) e^{h(\log |x|)}$
where $\textit{sign}(x) \in \{1,0,-1\}$.
where $h$ is an additive function. However since this problem is over $\mathbb Z$ we get that $h$ is linear and thus $f(x) = x^k$ for some $k$. This is because the second and third equations are equivalent(since we're dealing with nonnegatives) and the first equation can't be true since $g(2) = 8$. Hence we have $g(2) = 2^k \implies k = 3$ so $g(x) = x^3 \implies f(x) = x^3 - 1$.

(storage)
This post has been edited 1 time. Last edited by dolphinday, Jun 15, 2024, 4:30 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Jndd
1417 posts
#50 • 1 Y
Y by OronSH
$f(x)=x^3-1$ is the answer, and it is easy to check that this satisfies our equation.

Let $g(n)=f(n)+1$, so we have \[g(mn)=f(mn)+1=1+f(m)+f(n)+f(m)f(n)=(f(m)+1)(f(n)+1)=g(m)g(n).\]Then, $g(2n)=g(2)g(n)=8n$, which gives $g(2^kn)=2^{3k}g(n)$. Since $g(2)=g(2)g(1)$, we get $g(1)=1$, which then gives us $g(2^k)=2^{3k}g(1)=2^{3k}$. Suppose there is some $a$ such that $g(a)\neq a^3$, so let $g(a)=a^3+c$. Suppose $c\geq 1$. Then, let $2^{k-1}\leq a^n<2^k$ for some integer $n$. Then, we would have $2^k\leq 2a^n<2^{k+1}$, giving $a^n<2^k\leq 2a^n$. Thus, singe $g$ is strictly increasing, we must have \[(a^3+c)^n=g(a)^n=g(a^n)<g(2^k)=(2^k)^3\leq (2a^n)^3,\]which then gives us \[a^3+c<8^{\frac1n}a^3.\]Clearly, when we choose $n$ to be sufficiently large, $8^{\frac1n}a^3$ becomes arbitrarily close to $a^3$, meaning this inequality is false.

Now, suppose $g(a)=a^3+c$ where $c\leq -1$. Again, for some $n,$ we can bound some $2^k$ such that $\frac{a^n}{2} \leq 2^k < a^n$. Then, since $g$ is strictly increasing, we have \[\left(\frac{a^n}{2}\right)^{3} \leq (2^k)^3 = g(2^k) < g(a^n)=g(a)^n=(a^3+c)^n,\]which gives us \[\frac{a^3}{8^{\frac1n}}<a^3+c.\]Then, once we take $n$ to be sufficiently large, this inequality must be false.

Therefore, we must have $g(x)=x^3$ for all $x$, giving $f(x)=x^3-1$, as desired.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Markas
105 posts
#51
Y by
Firstly we should add +1 to both sides and we get $f(mn) + 1 = (f(m) + 1)(f(n) + 1)$. Let $g(x) = f(x) + 1$. Plugging in the equation we got, we have $g(mn) = g(m)g(n)$ and g is multiplicative. We have that $g(2) = f(2) + 1 = 8$. Now $g(4) = g(2)g(2) = 8^2$ and every time we multiply by g(2) $\Rightarrow$ $g(2^k) = g(2)^k = 8^k$. Also g is multiplicative, monotone increasing. Now let p be a prime and pick positive integers x and y, such that $p^x>2^y \iff \frac{y}{x} < \log_2 p$ $\Rightarrow$ $g(p)^x = g(p^x) \ge g(2^y) = g(2)^y = 2^{3y}$ $\Rightarrow$ $g(p) > 2^{3\frac{y}{x}}$. Since rationals are dense in R we can take LHS closest to $p^3$ $\Rightarrow$ $g(p) \ge p^3$. Similarly, we can get an upper bound on $g(p)$ closest to $p^3$ and we get $g(p) < p^3 + 1$, which gives us that $g(p) \le p^3 \Rightarrow g(p) = p^3$. So now we have $g(p) = p^3$ for all primes p, we get that $g(x) = x^3$ for all $x \in Z_0^+$ since g is multiplicative, from which we have that $f(x)=x^3-1$ is the only possible solution. Lastly we should check that this works and $f(m) + f(n) + f(m)f(n) = m^3-1+n^3-1+(m^3-1)(n^3-1) = (mn)^3+1-m^3-n^3+m^3+n^3-2 = (mn)^3-1 = f(mn)$, which is obviously true so we are ready.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
kotmhn
56 posts
#52
Y by
cusofay wrote:
Now the problem is trivial by Erdos theorem.
Could you tell me what erdos theorem is? i am unable to find anything by that name that can be applied here.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
N3bula
254 posts
#53
Y by
Add $1$ to both sides, $f(mn)+1=(f(m)+1)(f(n)+1)$, let $g(n)=f(n)+1$, thus we get that $g(mn)=g(m)g(n)$. This function is defined on the primes. Suppose there is a prime
such that $g(p)>p^3$, thus we get by taking large enough powers of $2$ and $p$ we can get a contradiction to the strictly increasing, a similar arguement works for
when $g(p)<p^3$, thus we get $g(p)=p^3$ for all $p$, so we get $f(n)=n^3-1$.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
bjump
973 posts
#54
Y by
Define $g(x)=f(x)+1$ then the equation becomes $g(mn)=g(m)g(n)$. We get that $g(0)=g(0)g(2)$ so $g(0)=0$, $g(2)=g(1)g(2)$ so $g(1)=1$, and $g(2)=8$. Now note that $g$ is multiplicative so $g(2^n)= 8^n$. Suppose there is a prime $p$ such that $g(p)  \neq p^3$ then if we take $m$, $n$ such that $2^{n-1} < p^m < 2^n$ then $8^{n-1} < g(p)^{3m}, p^{3m} < 8^n$ for all $m$, $n$ such that the first inequality is true. However if $m$ is large enough $\tfrac{g(p)^{3m}}{p^{3m}}$ will either be greater than $8$ or less than $\tfrac{1}{8}$ which contradicts $8^{n-1} < g(p)^{3m}, p^{3m} < 8^n$ so $g(p)=p^3$ for all primes $p$. Now due to multiplicativity $g(m)=m^3$ for all $m$, or $f(m)=m^3-1$ and we are finished.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Ilikeminecraft
300 posts
#55
Y by
Take $n = 1, n = 0,$ to get $f(1) = 0, f(0) = -1.$ Let $f(x) = g(x) - 1.$ This gives $g(mn) = g(m)g(n),$ and $g(0) = 0, g(1) = 1, g(2) = 8.$

By induction, $f(2^k) = 2^{3k}.$ By the strictly increasing condition, $x^m \leq 2^n\iff g(x)^m \leq 2^{3n}.$ Let $h(x) = \ln g(x).$ Then, $m \ln x < \ln 2$ if and only if $mh(x) < 3n \ln 2.$ Thus, $\ln x < \frac nm \ln 2\iff h(x) < 3 \frac nm \ln 2.$ Since rationals are dense in the reals and this is an iff statement, we require $h(x) = 3\ln x\implies g(x) = x^3\implies f(x) = x^3 - 1.$
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
eg4334
605 posts
#56
Y by
Let $g(x)=f(x)+1$, which translates into $g(mn)=g(m)g(n)$. We have $g(2)=8$ and clearly $g(1)=1$ and $g(0)=0$ from the strictly increasing condition. Now the multiplicity translates to $g(2^n)=8^n$. The key claim is that $g(p)=p^3$. We assume FTSOC that there exists a prime $p$ where this is not true. Now the two inequalities must be equivalent: $2^a > p^b$ and $f(2^a) > f(p^b) \implies 8^a > g(p)^b$. Now we have $\frac{a}{b} > \frac{\log{p}}{\log{2}}, \frac{a}{b} > \frac{\log{g(p)}}{\log{8}}$. This gives a contradiction by choosing a sufficient $a, b$ by density of rational numbers. Hence by multiplicity $g(x)=x^3$ and $f(x) = \boxed{x^3-1}$
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Marcus_Zhang
939 posts
#57
Y by
Attempt 2.

@below: Thanks for pointing that out. Fixed.
This post has been edited 3 times. Last edited by Marcus_Zhang, Mar 15, 2025, 3:06 AM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Burmf
26 posts
#58
Y by
Marcus_Zhang wrote:
Let $a = e^x$ and $b  = e^y$. Notice that we now have $g(e^{x+y}) = g(e^{x})g(e^{y})$. Writing $h(x) = g(e^{x})$ we find that $h(x+y) = h(x) + h(y)$.
Since $a$ and $b$ are positive integers, the function $h$ is neither continous nor it is like $Q$ or $Z$. So you can't assume that $h$ is linear. One simple counterexample is $g(p) = 1$ for $ p > 2 $ primes and $g(2) = 8$.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Maximilian113
501 posts
#59
Y by
Let $g(x)=f(x)+1,$ therefore $g(x)$ is multiplicative. Note that $g(2)=8,$ and we can easily get $g(1)=1, g(0)=0.$

Now, we claim that $g(x)=x^3.$ For the sake of a contradiction, assume that there is some prime $p$ such that $g(p) \neq p^3.$ Then $$2^a>p^b \iff f(2^a)>f(p^b) \implies \frac{a}{b} > \frac{\log p}{\log 2}, \frac{a}{b} \iff \frac{\log g(p)}{\log 8}.$$But by density of rational numbers, this is not true for all $a, b.$ Therefore $g(p)=p^3$ for all primes $p$ and by the Fundamental Theorem of Arithmetic $g(x)=x^3$ for all $x.$ This solution clearly works.
Z K Y
N Quick Reply
G
H
=
a