Join our FREE webinar on May 1st to learn about managing anxiety.

G
Topic
First Poster
Last Poster
k a April Highlights and 2025 AoPS Online Class Information
jlacosta   0
Apr 2, 2025
Spring is in full swing and summer is right around the corner, what are your plans? At AoPS Online our schedule has new classes starting now through July, so be sure to keep your skills sharp and be prepared for the Fall school year! Check out the schedule of upcoming classes below.

WOOT early bird pricing is in effect, don’t miss out! If you took MathWOOT Level 2 last year, no worries, it is all new problems this year! Our Worldwide Online Olympiad Training program is for high school level competitors. AoPS designed these courses to help our top students get the deep focus they need to succeed in their specific competition goals. Check out the details at this link for all our WOOT programs in math, computer science, chemistry, and physics.

Looking for summer camps in math and language arts? Be sure to check out the video-based summer camps offered at the Virtual Campus that are 2- to 4-weeks in duration. There are middle and high school competition math camps as well as Math Beasts camps that review key topics coupled with fun explorations covering areas such as graph theory (Math Beasts Camp 6), cryptography (Math Beasts Camp 7-8), and topology (Math Beasts Camp 8-9)!

Be sure to mark your calendars for the following events:
[list][*]April 3rd (Webinar), 4pm PT/7:00pm ET, Learning with AoPS: Perspectives from a Parent, Math Camp Instructor, and University Professor
[*]April 8th (Math Jam), 4:30pm PT/7:30pm ET, 2025 MATHCOUNTS State Discussion
April 9th (Webinar), 4:00pm PT/7:00pm ET, Learn about Video-based Summer Camps at the Virtual Campus
[*]April 10th (Math Jam), 4:30pm PT/7:30pm ET, 2025 MathILy and MathILy-Er Math Jam: Multibackwards Numbers
[*]April 22nd (Webinar), 4:00pm PT/7:00pm ET, Competitive Programming at AoPS (USACO).[/list]
Our full course list for upcoming classes is below:
All classes run 7:30pm-8:45pm ET/4:30pm - 5:45pm PT unless otherwise noted.

Introductory: Grades 5-10

Prealgebra 1 Self-Paced

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

Prealgebra 2 Self-Paced

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

Introduction to Algebra A Self-Paced

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

Introduction to Counting & Probability Self-Paced

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

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

Introduction to Algebra B Self-Paced

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

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

Intermediate: Grades 8-12

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

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

Intermediate Number Theory
Friday, Apr 11 - Jun 27
Sunday, Jun 1 - Aug 24
Wednesday, Jun 18 - Sep 3

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

Advanced: Grades 9-12

Olympiad Geometry
Tuesday, Jun 10 - Aug 26

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

Group Theory
Thursday, Jun 12 - Sep 11

Contest Preparation: Grades 6-12

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

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

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

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

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

AMC 12 Final Fives
Sunday, May 18 - Jun 15

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

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


MathWOOT Level 1
MathWOOT Level 2
ChemWOOT
CodeWOOT
PhysicsWOOT

Programming

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

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

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

Physics

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

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

Relativity
Sat & Sun, Apr 26 - Apr 27 (4:00 - 7:00 pm ET/1:00 - 4:00pm PT)
Mon, Tue, Wed & Thurs, Jun 23 - Jun 26 (meets every day of the week!)
0 replies
jlacosta
Apr 2, 2025
0 replies
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
inequality problem
pennypc123456789   3
N a few seconds ago by GeoMorocco
Given $a,b,c$ be positive real numbers . Prove that
$$\frac{ab}{(a+b)^2} +\frac{bc}{(b+c)^2}+\frac{ac}{(a+c)^2} \ge \frac{6abc }{(a+b)(b+c)(a+c)}$$
3 replies
pennypc123456789
Yesterday at 2:42 PM
GeoMorocco
a few seconds ago
China Northern MO 2009 p4 CNMO
parkjungmin   0
4 minutes ago
Source: China Northern MO 2009 p4 CNMO
China Northern MO 2009 p4 CNMO

The problem is too difficult.
Is there anyone who can help me?
0 replies
parkjungmin
4 minutes ago
0 replies
weird Condition
B1t   7
N 4 minutes ago by B1t
Source: Mongolian TST 2025 P4
deleted for a while
7 replies
B1t
Apr 27, 2025
B1t
4 minutes ago
inequality (another entrance exam)
nai0610   2
N 13 minutes ago by arqady
Given positive real numbers $a,b,c$ satisfying
$(a+2)b^2+(b+2)c^2+(c+2)a^2\geq 8+abc$
prove that $2(ab+bc+ca)\leq a^2(a+b)+b^2(b+c)+c^2(c+a)$
2 replies
nai0610
Jun 2, 2024
arqady
13 minutes ago
find f
ali666   5
N 33 minutes ago by Blackbeam999
find all valued functions $f$ such that for all real $x,y$:
$f(x-y)=f(x)f(y)$
5 replies
ali666
Aug 19, 2006
Blackbeam999
33 minutes ago
problem interesting
Cobedangiu   1
N an hour ago by Cobedangiu
Let $a=3k^2+3k+1 (a,k \in N)$
$i)$ Prove that: $a^2$ is the sum of $3$ square numbers
$ii)$ Let $b \vdots a$ and $b$ is the sum of $3$ square numbers. Prove that: $b^n$ is the sum of $3$ square numbers
1 reply
Cobedangiu
2 hours ago
Cobedangiu
an hour ago
Find f
Redriver   4
N an hour ago by Blackbeam999
Find all $: R \to R : \ \ f(x^2+f(y))=y+f^2(x)$
4 replies
Redriver
Jun 25, 2006
Blackbeam999
an hour ago
2^x+3^x = yx^2
truongphatt2668   7
N an hour ago by Jackson0423
Prove that the following equation has infinite integer solutions:
$$2^x+3^x = yx^2$$
7 replies
truongphatt2668
Apr 22, 2025
Jackson0423
an hour ago
Question on Balkan SL
Fmimch   1
N 2 hours ago by Fmimch
Does anyone know where to find the Balkan MO Shortlist 2024? If you have the file, could you send in this thread? Thank you!
1 reply
Fmimch
Today at 12:13 AM
Fmimch
2 hours ago
An easy ineq; ISI BS 2011, P1
Sayan   39
N 2 hours ago by proxima1681
Let $x_1, x_2, \cdots , x_n$ be positive reals with $x_1+x_2+\cdots+x_n=1$. Then show that
\[\sum_{i=1}^n \frac{x_i}{2-x_i} \ge \frac{n}{2n-1}\]
39 replies
Sayan
Mar 31, 2013
proxima1681
2 hours ago
Easy Geometry Problem in Taiwan TST
chengbilly   7
N 3 hours ago by L13832
Source: 2025 Taiwan TST Round 1 Independent Study 2-G
Suppose $I$ and $I_A$ are the incenter and the $A$-excenter of triangle $ABC$, respectively.
Let $M$ be the midpoint of arc $BAC$ on the circumcircle, and $D$ be the foot of the
perpendicular from $I_A$ to $BC$. The line $MI$ intersects the circumcircle again at $T$ . For
any point $X$ on the circumcircle of triangle $ABC$, let $XT$ intersect $BC$ at $Y$ . Prove
that $A, D, X, Y$ are concyclic.
7 replies
chengbilly
Mar 6, 2025
L13832
3 hours ago
Overlapping game
Kei0923   3
N 3 hours ago by CrazyInMath
Source: 2023 Japan MO Finals 1
On $5\times 5$ squares, we cover the area with several S-Tetrominos (=Z-Tetrominos) along the square so that in every square, there are two or fewer tiles covering that (tiles can be overlap). Find the maximum possible number of squares covered by at least one tile.
3 replies
Kei0923
Feb 11, 2023
CrazyInMath
3 hours ago
Interesting Function
Kei0923   4
N 3 hours ago by CrazyInMath
Source: 2024 JMO preliminary p8
Function $f:\mathbb{Z}_{\geq 0}\rightarrow\mathbb{Z}$ satisfies
$$f(m+n)^2=f(m|f(n)|)+f(n^2)$$for any non-negative integers $m$ and $n$. Determine the number of possible sets of integers $\{f(0), f(1), \dots, f(2024)\}$.
4 replies
Kei0923
Jan 9, 2024
CrazyInMath
3 hours ago
Functional Geometry
GreekIdiot   1
N 3 hours ago by ItzsleepyXD
Source: BMO 2024 SL G7
Let $f: \pi \to \mathbb R$ be a function from the Euclidean plane to the real numbers such that $f(A)+f(B)+f(C)=f(O)+f(G)+f(H)$ for any acute triangle $\Delta ABC$ with circumcenter $O$, centroid $G$ and orthocenter $H$. Prove that $f$ is constant.
1 reply
GreekIdiot
Apr 27, 2025
ItzsleepyXD
3 hours ago
European Mathematical Cup 2016 senior division problem 1
steppewolf   11
N Apr 15, 2025 by MuradSafarli
Is there a sequence $a_{1}, . . . , a_{2016}$ of positive integers, such that every sum
$$a_{r} + a_{r+1} + . . . + a_{s-1} + a_{s}$$(with $1 \le r \le s \le 2016$) is a composite number, but:
a) $GCD(a_{i}, a_{i+1}) = 1$ for all $i = 1, 2, . . . , 2015$;
b) $GCD(a_{i}, a_{i+1}) = 1$ for all $i = 1, 2, . . . , 2015$ and $GCD(a_{i}, a_{i+2}) = 1$ for all $i = 1, 2, . . . , 2014$?
$GCD(x, y)$ denotes the greatest common divisor of $x$, $y$.

Proposed by Matija Bucić
11 replies
steppewolf
Dec 31, 2016
MuradSafarli
Apr 15, 2025
European Mathematical Cup 2016 senior division problem 1
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.
steppewolf
351 posts
#1 • 3 Y
Y by Lukaluce, amar_04, Adventure10
Is there a sequence $a_{1}, . . . , a_{2016}$ of positive integers, such that every sum
$$a_{r} + a_{r+1} + . . . + a_{s-1} + a_{s}$$(with $1 \le r \le s \le 2016$) is a composite number, but:
a) $GCD(a_{i}, a_{i+1}) = 1$ for all $i = 1, 2, . . . , 2015$;
b) $GCD(a_{i}, a_{i+1}) = 1$ for all $i = 1, 2, . . . , 2015$ and $GCD(a_{i}, a_{i+2}) = 1$ for all $i = 1, 2, . . . , 2014$?
$GCD(x, y)$ denotes the greatest common divisor of $x$, $y$.

Proposed by Matija Bucić
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
ThE-dArK-lOrD
4071 posts
#2 • 2 Y
Y by Adventure10, Mango247
We will show that for each $i=3,4,...,2016$, there exist sequence $a_1,a_2,...,a_i$ of positive integers such that $\sum_{t=r}^{t=s}{a_t}$ is composite number for all $1\leq r\leq s\leq i$ and $gcd(a_j,a_{j+1})=1$ for all $j=1,2,...,i-1$ and $gcd(a_j,a_{j+2})=1$ for all $j=1,2,...,i-2$

For $i=3$, we choose sequence $4,81,121$
Suppose there exist sequence $a_1,a_2,...,a_i$, then we choose $a_{i+1}=p^c$ where $p$ is prime number larger than $\Big( \sum_{t=1}^{t=i}{a_t}\Big)+1$ and $c$ is a positive integer such that $\prod_{t=1}^{t=i}{(q_t-1)}\mid c$ where $q_t$ is a prime divisor of $\Big( \sum_{l=t}^{l=i}{a_l}\Big) +1$ for all $t=1,2,...,i$
This value of $a_{i+1}$ will give us for all $t=1,2,...,i$, $\Big( \sum_{l=t}^{l=i}{a_l}\Big) +p^c\equiv_{q_t} \Big( \sum_{l=t}^{l=i}{a_l}\Big)+1\equiv_{q_t} 0 $ and $a_{i+1}>q_t$
And we clearly have $gcd(a_t,a_{i+1})=gcd(a_t,p^c)=1$ for all $t=1,2,...,i$
This post has been edited 2 times. Last edited by ThE-dArK-lOrD, Jan 1, 2017, 5:36 AM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Ankoganit
3070 posts
#3 • 2 Y
Y by PRO2000, Adventure10
The answer is yes, and prove that, it suffices to give an example satisfying the conditions in part (b); so we'll do just that.

Pick an odd prime $p$, and another bunch of odd primes (pairwise distinct and also distinct from $p$ ), say, $p_1,p_2,\cdots ,p_{2016},q_1,q_2,\cdots ,q_{2016}$. Now by virtue of CRT, choose a number $a_0$ such that:
\begin{align*}
a_0 &\equiv 1\pmod{2}\\
a_0 &\equiv 1\pmod{p}\\
&\text{and...}\\
a_0+2ip &\equiv 0\pmod{p_iq_i} \text{ for }i=1,2,3,\cdots ,2016.\end{align*}Now set $a_i=a_0+2ip$ for $i=1,2,\cdots ,2016$. We claim that this works. Indeed, since the $a_i$'s are in an arithmetic progression, we have $$a_{r} + a_{r+1} + . . . + a_{s-1} + a_{s}=\left(\frac{a_r+a_s}{2}\right)\cdot(s-r+1).$$Now $\frac{a_r+a_s}{2}$ is always an integer, because by construction, $a_0$ and hence all $a_i$'s are odd. For $r\ne s$, the above sum is obviously composite, and for $r=s$, the above sum reduces to $a_r$, which is composite because $p_rq_r|a_r$.

Now it remains to check that GCD condition. Fortunately, this is easy: $\gcd\left(a_i,a_{i+2}\right)=\gcd\left(a_i,a_i+4p\right)=\gcd\left(a_i,4p\right)$, which can't be $>1$ since we've been careful to set $a_i\equiv a_0\equiv 1\pmod{2}\text{ and }\pmod{ p}$. The case $\gcd\left(a_i,a_{i+1}\right)$ is similar, so we win. $\blacksquare$
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
muuratjann
56 posts
#4 • 2 Y
Y by Ankoganit, Adventure10
My solution at the contest
a) and b) $3^3;5^3$ and so on
This post has been edited 1 time. Last edited by muuratjann, Jan 2, 2017, 12:11 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Somebany
11 posts
#5 • 2 Y
Y by Adventure10, Mango247
@muuratjann I think that your solution is incorrect because if you take $r=s$ then you have that sum is $a_{r}=1^3$ which is obviously incorrect since $1$ is not a composite number.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
sqing
41890 posts
#6 • 2 Y
Y by Adventure10, Mango247
http://emc.mnm.hr/wp-content/uploads/2016/12/EMC_2016_Seniors_ENG_Solutions.pdf
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
muuratjann
56 posts
#7 • 1 Y
Y by Adventure10
Somebany wrote:
@muuratjann I think that your solution is incorrect because if you take $r=s$ then you have that sum is $a_{r}=1^3$ which is obviously incorrect since $1$ is not a composite number.

Starting from $3^3$
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
PRO2000
239 posts
#8 • 2 Y
Y by Adventure10, Mango247
Does this work for the part b):

Take $a_1=p_1^{2017}$ , then $a_2 \equiv 0 \pmod {p_2} $ , $a_2 \equiv 1 \pmod {a_1} $ and $a_2 \equiv -{a_1} \pmod {p_{1,2}} $ . Then inductively construct the $a_i$'s for $i \geq 3$ as follows.

Take $a_s \equiv 0 \pmod {p_s} $ , $a_s \equiv -{ a_1+a_2+\cdots+a_{s-1}} \pmod   {p_{k,s}} $ for $1 \leq k \leq {s-1}$ and $a_s \equiv 1 \pmod {a_{s-1} a_{s-2}} $ . This can be done by CRT as we can take sufficiently large $p_i$'s and $p_{k,i}$'s to ensure that they are pairwise coprime and also coprime to $a_{s-1}a_{s-2}$

Continue till $s=2016$.
This post has been edited 1 time. Last edited by PRO2000, Feb 12, 2017, 10:53 AM
Reason: specified value of s
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Mathematicsislovely
245 posts
#9 • 1 Y
Y by amar_04
Claim:The sum of any $r\ge 1$ consecutive terms of a arithmetic progression whose each term is odd composite number is a composite number.
proof.If we take even number of consecutive terms then the sum is even.Now consider the sum of odd number of consecutive terms.Let the terms be $x,x+d,X+2d\dots x+(n-1)d$ where n is odd.Clearly the sum $ n[x+\frac{n-1}{2}d]$ is composite.$\blacksquare$

Claim:For all integer $n$ there is a arithmetic progression with $n$ terms such that the following holds:
  • Each term is a odd composite number.
  • GCD of any term of this AP is 1.
proof.Take $M\ge (2020n)!$.Consider the AP,
$M!+n!+1,M!+n!+1+(n!),M!+n!+1+2\times n!,\dots M!+n!+1+(n-1)n!$.
In short,the AP with first term $M!+n!+1$ and common difference $n!$ and first $n$ terms.

Obviously each term is odd composite.If a prime $p$ devides GCD of 2 terms,
say
$p|GCD(M!+n!+1+r(n!),M!+n!+1+s\times n!)\\
\implies p|(r-s)n!\\
\implies p|n!\\
\implies p|M!+n!+r(n!)\\
\implies p|1$.
A contradiction.
The third line follows from the fact that $p$ devides at least one of $|r-s|$ or $n!$ but in both cases,as $|r-s|<n$,$p|n!$.The 4th line follows from the fact that $n!|M!+n!+r(n!)$.
Hence GCD of any 2 term is 1.$\blacksquare$

Taking $n=2016$ by the above 2 claims both (a),(b) holds .$\blacksquare$
This post has been edited 6 times. Last edited by Mathematicsislovely, Oct 29, 2020, 9:20 AM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Jalil_Huseynov
439 posts
#10
Y by
The answer is positive for both cases, so proving second one is enough.
Let $a_i=N!+2i+1$ for all $1\le i\le 2016$, where $N \geq 3+5+\cdots 4033$.
$\gcd(a_i,a_{i+1})=\gcd(a_i,a_{i+1}-a_i)=\gcd(a_i,2)=1$ and similarly $\gcd(a_i,a_{i+2})=\gcd(a_i,4)=1$.
And since $(2r+1)+(2r+3)+\cdots (2s+1)\mid N!$ for all $1 \le r \le s \le 2016$, we get $(2r+1)+(2r+3)+\cdots (2s+1)\mid a_{r} + a_{r+1} + . . . + a_{s-1} + a_s$ and since $2r+1\geq 3$ we are done!
This post has been edited 2 times. Last edited by Jalil_Huseynov, Nov 29, 2021, 3:14 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
NumberzAndStuff
43 posts
#11
Y by
The answer is yes for both (a) and (b)
We prove this for all $n$. (Goal being $n=2016$)

For $n=1$ just take $a_1=4$ or anything similar.

Now for $n \rightarrow n+1$ we choose $n$ primes $p_{n,1}, p_{n,2}, \dots p_{n,n}$ such that they are all distinct and coprime to any subarray sum we have so far. Now we construct $a_{n+1}$ using $C.R.T$ such that:
\[ a_{n+1} \equiv -\sum_{i=j}^n a_i \mod p_{n,j}^2\]for all $1 \leq j \leq n$ and
\[ a_{n+1} \equiv 1 \mod a_na_{n-1} \]This is valid, since each of the squares are coprime to all elements, including $a_na_{n-1}$. Since each new subarray containing $a_{n+1}$ is divisible by some square, they will not be prime. Additionally, $a_{n+1}$ is coprime to both $a_n$ and $a_{n-1}$, so the construction is valid for $n+1$ and by induction for all $n$, including 2016
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
MuradSafarli
106 posts
#12
Y by
i think answer is yes.
My construction--->(2k+1,2k+3,2k+5,.....,2k+4033)
This post has been edited 1 time. Last edited by MuradSafarli, Apr 27, 2025, 9:12 AM
Z K Y
N Quick Reply
G
H
=
a