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

G
Topic
First Poster
Last Poster
k a May Highlights and 2025 AoPS Online Class Information
jlacosta   0
May 1, 2025
May is an exciting month! National MATHCOUNTS is the second week of May in Washington D.C. and our Founder, Richard Rusczyk will be presenting a seminar, Preparing Strong Math Students for College and Careers, on May 11th.

Are you interested in working towards MATHCOUNTS and don’t know where to start? We have you covered! If you have taken Prealgebra, then you are ready for MATHCOUNTS/AMC 8 Basics. Already aiming for State or National MATHCOUNTS and harder AMC 8 problems? Then our MATHCOUNTS/AMC 8 Advanced course is for you.

Summer camps are starting next month at the Virtual Campus in math and language arts that are 2 - to 4 - weeks in duration. Spaces are still available - don’t miss your chance to have an enriching summer experience. There are middle and high school competition math camps as well as Math Beasts camps that review key topics coupled with fun explorations covering areas such as graph theory (Math Beasts Camp 6), cryptography (Math Beasts Camp 7-8), and topology (Math Beasts Camp 8-9)!

Be sure to mark your calendars for the following upcoming events:
[list][*]May 9th, 4:30pm PT/7:30pm ET, Casework 2: Overwhelming Evidence — A Text Adventure, a game where participants will work together to navigate the map, solve puzzles, and win! All are welcome.
[*]May 19th, 4:30pm PT/7:30pm ET, What's Next After Beast Academy?, designed for students finishing Beast Academy and ready for Prealgebra 1.
[*]May 20th, 4:00pm PT/7:00pm ET, Mathcamp 2025 Qualifying Quiz Part 1 Math Jam, Problems 1 to 4, join the Canada/USA Mathcamp staff for this exciting Math Jam, where they discuss solutions to Problems 1 to 4 of the 2025 Mathcamp Qualifying Quiz!
[*]May 21st, 4:00pm PT/7:00pm ET, Mathcamp 2025 Qualifying Quiz Part 2 Math Jam, Problems 5 and 6, Canada/USA Mathcamp staff will discuss solutions to Problems 5 and 6 of the 2025 Mathcamp Qualifying Quiz![/list]
Our full course list for upcoming classes is below:
All classes run 7:30pm-8:45pm ET/4:30pm - 5:45pm PT unless otherwise noted.

Introductory: Grades 5-10

Prealgebra 1 Self-Paced

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

Prealgebra 2 Self-Paced

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

Introduction to Algebra A Self-Paced

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

Introduction to Counting & Probability Self-Paced

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

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

Introduction to Algebra B Self-Paced

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

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

Paradoxes and Infinity
Mon, Tue, Wed, & Thurs, Jul 14 - Jul 16 (meets every day of the week!)

Intermediate: Grades 8-12

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

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

Intermediate Number Theory
Sunday, Jun 1 - Aug 24
Wednesday, Jun 18 - Sep 3

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

Advanced: Grades 9-12

Olympiad Geometry
Tuesday, Jun 10 - Aug 26

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

Group Theory
Thursday, Jun 12 - Sep 11

Contest Preparation: Grades 6-12

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

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

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

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

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

AMC 12 Final Fives
Sunday, May 18 - Jun 15

AIME Problem Series A
Thursday, May 22 - Jul 31

AIME Problem Series B
Sunday, Jun 22 - Sep 21

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

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


MathWOOT Level 1
MathWOOT Level 2
ChemWOOT
CodeWOOT
PhysicsWOOT

Programming

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

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

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

Physics

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

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

Relativity
Mon, Tue, Wed & Thurs, Jun 23 - Jun 26 (meets every day of the week!)
0 replies
jlacosta
May 1, 2025
0 replies
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
Nice numer theory
GeoArt   5
N a few seconds ago by Primeniyazidayi
$p$ is a prime number, $m, x, y$ are natural numbers ($m, x, y > 1$). It is known that $\frac{x^p + y^p}{2}$ $=$ $(\frac{x+y}{2} )^m$. Prove that $p = m$.
5 replies
GeoArt
Jan 7, 2021
Primeniyazidayi
a few seconds ago
Prove XBY equal to angle C
nataliaonline75   2
N 24 minutes ago by starchan
Let $M$ be the midpoint of $BC$ on triangle $ABC$. Point $X$ lies on segment $AC$ such that $AX=BX$ and $Y$ on line $AM$ such that $XY//AB$. Prove that $\angle XBY = \angle ACB$.
2 replies
nataliaonline75
Yesterday at 2:47 PM
starchan
24 minutes ago
Unique number to make a square of a rational
Zavyk09   2
N 36 minutes ago by Zavyk09
Source: Homework
Find all positive integers $n$ there exists a unique positive integers $m$ such that $\frac{n+m}{m}$ is a square of a rational number.
2 replies
Zavyk09
2 hours ago
Zavyk09
36 minutes ago
Classical NT using modular arithmetic
electrovector   7
N 38 minutes ago by Blackbeam999
Source: 2022 Turkey TST P1 Day 1 + 2023 Dutch BxMO TST, Problem 5
Find all pairs of prime numbers $(p,q)$ for which
\[2^p = 2^{q-2} + q!.\]
7 replies
electrovector
Mar 13, 2022
Blackbeam999
38 minutes ago
old one but good one
Sunjee   2
N 43 minutes ago by ehuseyinyigit
If $x_1,x_2,...,x_n $ are positive numbers, then prove that
$$\frac{x_1}{1+x_1^2}+\frac{x_2}{1+x_1^2+x_2^2}+\cdots+ \frac{x_n}{1+x_1^2+\cdots+x_n^2}\geq \sqrt{n}$$
2 replies
Sunjee
3 hours ago
ehuseyinyigit
43 minutes ago
Inspired by giangtruong13
sqing   0
an hour ago
Source: Own
Let $ a,b>0  .$ Prove that$$ \frac{a}{b}+\frac{b}{a}+\frac{a^3}{2b^3+kab^2}+\frac{2b^3}{a^3+b^3+kab^2} \geq \frac{2k+7}{k+2}$$Where $ k\geq 0. $
0 replies
sqing
an hour ago
0 replies
Functional equation
Math-wiz   24
N an hour ago by nmoon_nya
Source: IMOC SL A1
Find all functions $f:\mathbb{R}\to\mathbb{R}$ such that for all $x,y\in\mathbb{R}$,
$$f(xy+f(x))=f(xf(y))+x$$
24 replies
Math-wiz
Dec 15, 2019
nmoon_nya
an hour ago
we can find one pair of a boy and a girl
orl   18
N an hour ago by bin_sherlo
Source: Vietnam TST 2001 for the 42th IMO, problem 3
Some club has 42 members. It’s known that among 31 arbitrary club members, we can find one pair of a boy and a girl that they know each other. Show that from club members we can choose 12 pairs of knowing each other boys and girls.
18 replies
orl
Jun 26, 2005
bin_sherlo
an hour ago
geometry
blug   0
an hour ago
In trapezius $ABCD$, segments $AB$ and $CD$ are parallel. Angle bisectors of $\angle B$ and $\angle D$ intersect at $P$. Circumcircles of $ABP$ and $CDP$ meet again at $Q$. Angle bisector of $\angle D$ cuts $AB$ at $S$. Prove that
$$1. QD=QS,$$$$2. \angle DCQ=\angle BCQ,$$$$3. \angle BAQ=\angle QAD.$$
0 replies
blug
an hour ago
0 replies
Eulerline problem
Retemoeg   0
an hour ago
Source: Extension from a problem I read in a book
Show that the isogonal conjugate of the isotomic conjugate of the orthocenter lies on the Euler line.
0 replies
Retemoeg
an hour ago
0 replies
Inequality
MathsII-enjoy   6
N 2 hours ago by MathsII-enjoy
A interesting problem generalized :-D
6 replies
MathsII-enjoy
Saturday at 1:59 PM
MathsII-enjoy
2 hours ago
Number Theory
fasttrust_12-mn   8
N 2 hours ago by ErTeeEs06
Source: Pan African Mathematics Olympiad P1
Find all positive intgers $a,b$ and $c$ such that $\frac{a+b}{a+c}=\frac{b+c}{b+a}$ and $ab+bc+ca$ is a prime number
8 replies
fasttrust_12-mn
Aug 15, 2024
ErTeeEs06
2 hours ago
My Unsolved FE on R+
ZeltaQN2008   4
N 2 hours ago by mashumaro
Source: IDK
Give $a>0$. Find all funcitions $f:\mathbb{R}^+ \rightarrow \mathbb{R}^+$ such that for all any $x,y\in (0,\infty):$
$$f(xf(y)+a)=yf(x+y+a)$$
4 replies
ZeltaQN2008
4 hours ago
mashumaro
2 hours ago
Problem 4 IMO 2005 (Day 2)
Valentin Vornicu   121
N Apr 11, 2025 by sharknavy75
Determine all positive integers relatively prime to all the terms of the infinite sequence \[ a_n=2^n+3^n+6^n -1,\ n\geq 1. \]
121 replies
Valentin Vornicu
Jul 14, 2005
sharknavy75
Apr 11, 2025
Problem 4 IMO 2005 (Day 2)
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.
dolphinday
1324 posts
#119
Y by
It's crazy you can do this.
$\newline$

We can prove that for some arbitrary $p$, there is a $n$ so that
\[2^n + 3^n + 6^n - 1 \equiv 0\pmod{p}\]Let $n \equiv -1 \pmod{p-1}$.
Then
\[\frac{1}{2} + \frac{1}{3} + \frac{1}{6} - 1 \equiv 0\pmod{p}\]so $a_n$ is divisible by every prime at some point.
Hence, our answer is $1$.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
peace09
5419 posts
#120
Y by
aehrignjadfalsdkjfnsdkaslkdjffasdf
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
zaidova
87 posts
#121 • 2 Y
Y by monoditetra, Leparolelontane
It is enough to find a prime number p p/an= pow(2,n) + pow(3,n) + pow(6,n) -1

a2= 2² + 3² + 6² - 1= 4+9+36-1=48
p=2, p=3
For p>=5
From Fermat's little theorem;

Pow(2, p-1)== pow(3, p-1) == pow( 6, p-1) (mod p)

6* ( pow( 2, p-2) + pow( 3, p-2) + pow( 6, p-2) -1)==0 (mod p)

So, p / 6* a(p-2) , also (p;6)=1 so, p / a(p-2)
This post has been edited 1 time. Last edited by zaidova, Jan 21, 2025, 10:25 AM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Spectator
657 posts
#122 • 1 Y
Y by megarnie
If we find all primes such that $p \not \mid a_{i}$ for all $i$, we can construct every set with them. However, note that
\[a_{p-2} \equiv \frac{1}{2}+\frac{1}{3}+\frac{1}{6}-1 \equiv 0\pmod{p}\]for all $p\neq 2, 3$. It's easy to see that $2$ and $3$ divides $a_1$ and $a_2$ respectively. Thus, the only such $n$ is $1$.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
de-Kirschbaum
198 posts
#123
Y by
We claim that the sequence $\{a_n\}$ contains all primes.

Consider a prime $p$. If $p=2$ then we have $3^n \equiv 1 \mod(2)$ which is true for any $n$. If $p=3$ then we have $2^n \equiv 1 \mod(3)$ which is true for all even $n$. So from now on we consider only $p$ such that $\gcd(6,p)=1$.
Thus if $p$ divides some $a_n$ then we have $2^n+3^n+6^n-1 \equiv 0 \mod(p) \implies 2^n+3^n+6^n \equiv 1 \mod(p)$. Note that since $\gcd(6,p)=1$, we can multiply both sides by the inverse of $6^n \mod(p)$ to get $( \frac{1}{3} )^n+\big (\frac{1}{2} \big)^n \equiv 0 \mod(p) \implies ( -\frac{2}{3} )^n \equiv  1 \mod(p)$. Since $p$ is coprime to $2,3$, there exists an order for $-\frac{2}{3} \mod (p)$, thus we may take $n$ to be that order and we are done.

This means only 1 is relatively prime to all terms of the sequence.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
blueberryfaygo_55
340 posts
#124
Y by
We claim that $1$ is the only positive integer relatively prime to all terms of $a_n$. Since this is obviously true, consider some positive integer $m \geq 1$. If $m$ is a power of $2$ or $3$, then we can take $n=2$ to get $a_2 = 2^2 + 3^2 + 6^2 - 1 = 48$ which is not relatively prime to $m$. Otherwise, consider a prime $p \neq 2,3$ that divides $m$. Taking $n=p-2$, we have
\begin{align*}
a_{p-2} &= 2^{p-2} + 3^{p-2} + 6^{p-2} - 1 \\
&= 2^{p-1} \cdot 2^{-1} + 3^{p-1} \cdot 3^{-1} + 6^{p-2} \cdot 6^{-1} - 1 \\
&\equiv 2^{-1} + 3^{-1} + 6^{-1} - 1 \pmod p \, \text{(By Fermat's Little Theorem)} \\
&\equiv 0 \pmod p
\end{align*}so $\gcd(a_{p-2}, m) \geq p > 1$, implying that there always exists at least $1$ term of $a_n$ that shares a prime factor with every positive integer greater than $1$, as claimed. $\blacksquare$
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
S1muelJ
247 posts
#125
Y by
Me struggling to understand how you are doing this :|
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
ezpotd
1263 posts
#126
Y by
The answer is just $1$, which clearly works. Manually verify that for $n = 2$, $3$ is a prime divisor, and for $n = 1$, $2$ is a prime divisor. For all other primes $p$, take $n = p - 2$, then we have $2^{p - 2} + 3^{p - 2} + 6^{p - 2} \equiv \frac 12 + \frac 13 + \frac 16 -  1 = 0 \mod p$, so no primes are relatively prime to all elements of the sequence, done.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
megahertz13
3183 posts
#127
Y by
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
megahertz13
3183 posts
#128
Y by
The answer is $\boxed{1}$, which clearly works. We will prove that there are no primes $p$ relatively prime to all $a_n$. There are two cases.

$p = 2$, $3$: Here, we can take $a_2=48$.

$p\ne 2$, $3$: Here, we will prove that $$a_{p-2}=2^{p-2}+3^{p-2}+6^{p-2}-1\equiv 0\pmod p.$$Note that $$2^{p-2}+3^{p-2}+6^{p-2}-1\pmod p$$$$\equiv\frac{2^{p-1}}{2}+\frac{3^{p-1}}{3}+\frac{6^{p-1}}{6}-1\pmod p$$$$\equiv \frac{1}{2}+\frac{1}{3}+\frac{1}{6}-1 \pmod p$$$$\equiv 0\pmod p,$$which completes the problem.
This post has been edited 1 time. Last edited by megahertz13, Nov 4, 2024, 2:36 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
eg4334
637 posts
#129
Y by
The answer is just $n=1$ which obviously works. It clearly suffices to show that $\forall p, \exists n \in \{ 1, 2, \dots \}, p|a_n$. The conclusion for $p=2$ is true for all $n$ and for $p=3$ it is true for all even $n$. For other $p$, consider $n=p-2$. So, $a_{p-2} = \frac12 + \frac13 + \frac16 - 1 \equiv 0 \pmod{p}$, so we are done.
This post has been edited 1 time. Last edited by eg4334, Nov 29, 2024, 9:35 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Eka01
204 posts
#130
Y by
Consider a prime $p>3$ and $n=p-2$. We have that $2^n +3^n +6^n -1 \equiv 0.5+0.333...+0.16... -1 \equiv 0$ modulo $p$ so all primes greater than $3$ divide atleast one term of this sequence so we are done. $2$ obviously divides all terms and $3$ divides all those with $n$ even.
This post has been edited 1 time. Last edited by Eka01, Dec 3, 2024, 3:00 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Maximilian113
575 posts
#131
Y by
Note that we can take $a_2=48$ so multiples of $2, 3$ don't work. Now, suppose that $p>3$ is a prime. Then by FLT $$a_{p-2} \equiv \frac12+\frac13+\frac16-1 \equiv 0 \pmod p.$$Therefore $1$ is the only solution.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
cursed_tangent1434
616 posts
#132
Y by
Really easy problem. It's really nice to look at the solutions from 2005 to the present and see how the solutions have evolved with time.

Clearly $a_2=48$ so multiples of $2$ and $3$ do not satisfy the desired condition. Further, for all primes $p>3$, by Fermat's Little Theorem we have,
\[2^{p-2}+3^{p-2}+6^{p-2}-1\equiv \frac{1}{2}+\frac{1}{3}+\frac{1}{6}-1 \equiv 0 \pmod{p}\]Thus, $p\mid a_{p-2}$ for all primes $p>3$. Thus, any integer with a prime factor greater than $3$ also violates the condition, implying that the only solution is $n=1$.

Remark. It might be interesting to look at the following similar question.
Harder Problem wrote:
Determine all positive integers which have some multiple in the infinite sequence\[ a_n=2^n+3^n+6^n -1,\ n\geq 1. \]
A similar argument as above shows that all $n$ for which $\gcd(n,6)=1$ satisfy this condition, but the cases where $\gcd(n,6)>1$ are messier. In particular any positive integer of the form $15k,20k,21k,28k$ does not satisfy this condition.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
sharknavy75
700 posts
#133
Y by
Solution
This post has been edited 1 time. Last edited by sharknavy75, Apr 11, 2025, 3:50 AM
Z K Y
N Quick Reply
G
H
=
a