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

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
Inspired by 2024 Fall LMT Guts
sqing   2
N a minute ago by Jackson0423
Source: Own
Let $x$, $y$, $z$ are pairwise distinct real numbers satisfying $x^2+y =y^2 +z = z^2+x. $ Prove that
$$(x+y)(y+z)(z+x)=-1$$Let $x$, $y$, $z$ are pairwise distinct real numbers satisfying $x^2+2y =y^2 +2z = z^2+2x. $ Prove that
$$(x+y)(y+z)(z+x)=-8$$
2 replies
sqing
an hour ago
Jackson0423
a minute ago
Dividing Pairs
Jackson0423   2
N 17 minutes ago by Jackson0423
Source: Own
Let \( a \) and \( b \) be positive integers.
Suppose that \( a \) is a divisor of \( b^2 + 1 \) and \( b \) is a divisor of \( a^2 + 1 \).
Find all such pairs \( (a, b) \).
2 replies
Jackson0423
Apr 13, 2025
Jackson0423
17 minutes ago
Ellipse and Vectors
scls140511   1
N 26 minutes ago by Tigolf
Source: 2024 China Round 1 (Gao Lian)
7 Let $F_1$ and $F_2$ be the two foci of ellipse $\omega$. $P$ is a point on $\omega$. Let $O$ be the center of the excircle of $\triangle PF_1F_2$. When $\vec{PO} \cdot \vec{F_1F_2} = 2\vec{PF_1} \cdot \vec{PF_2}$, find the minimum eccentricity of $\omega$.
1 reply
1 viewing
scls140511
Sep 8, 2024
Tigolf
26 minutes ago
Maximum number of nice subsets
FireBreathers   1
N 27 minutes ago by FireBreathers
Given a set $M$ of natural numbers with $n$ elements with $n$ odd number. A nonempty subset $S$ of $M$ is called $nice$ if the product of the elements of $S$ divisible by the sum of the elements of $M$, but not by its square. It is known that the set $M$ itself is good. Determine the maximum number of $nice$ subsets (including $M$ itself).
1 reply
FireBreathers
Yesterday at 10:27 PM
FireBreathers
27 minutes ago
No more topics!
IMO 2016 Problem 2
shinichiman   63
N Apr 14, 2025 by gladIasked
Source: IMO 2016 Problem 2
Find all integers $n$ for which each cell of $n \times n$ table can be filled with one of the letters $I,M$ and $O$ in such a way that:
[LIST]
[*] in each row and each column, one third of the entries are $I$, one third are $M$ and one third are $O$; and [/*]
[*]in any diagonal, if the number of entries on the diagonal is a multiple of three, then one third of the entries are $I$, one third are $M$ and one third are $O$.[/*]
[/LIST]
Note. The rows and columns of an $n \times n$ table are each labelled $1$ to $n$ in a natural order. Thus each cell corresponds to a pair of positive integer $(i,j)$ with $1 \le i,j \le n$. For $n>1$, the table has $4n-2$ diagonals of two types. A diagonal of first type consists all cells $(i,j)$ for which $i+j$ is a constant, and the diagonal of this second type consists all cells $(i,j)$ for which $i-j$ is constant.
63 replies
shinichiman
Jul 11, 2016
gladIasked
Apr 14, 2025
IMO 2016 Problem 2
G H J
G H BBookmark kLocked kLocked NReply
Source: IMO 2016 Problem 2
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
shinichiman
3212 posts
#1 • 17 Y
Y by baopbc, don2001, Juraev, mathmaths, rkm0959, baladin, champion999, Davi-8191, Ankoganit, Problem_Penetrator, kk108, tenplusten, Tawan, Delray, megarnie, Adventure10, Rounak_iitr
Find all integers $n$ for which each cell of $n \times n$ table can be filled with one of the letters $I,M$ and $O$ in such a way that:
  • in each row and each column, one third of the entries are $I$, one third are $M$ and one third are $O$; and 
  • in any diagonal, if the number of entries on the diagonal is a multiple of three, then one third of the entries are $I$, one third are $M$ and one third are $O$.
Note. The rows and columns of an $n \times n$ table are each labelled $1$ to $n$ in a natural order. Thus each cell corresponds to a pair of positive integer $(i,j)$ with $1 \le i,j \le n$. For $n>1$, the table has $4n-2$ diagonals of two types. A diagonal of first type consists all cells $(i,j)$ for which $i+j$ is a constant, and the diagonal of this second type consists all cells $(i,j)$ for which $i-j$ is constant.
This post has been edited 2 times. Last edited by shinichiman, Jul 11, 2016, 6:40 AM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
MathPanda1
1135 posts
#2 • 15 Y
Y by Juraev, PSJL, baopbc, baladin, ssk9208, Dexenberg, rkm0959, Tan, Problem_Penetrator, Tawan, qubatae, megarnie, Adventure10, Mango247, MS_asdfgzxcvb
Very nice problem. The answer is $n$ divisible by 9. For the construction that it works, you can consider a 3*3 table with arbitrary I's, O's, and M's so that both diagonals have one of each. Then you can consider the "cyclic" tables and alternate. To prove that $n$ must be divisible by 9, you can notice that if you take the rows equivalent to 2 mod 3, the diagonals whose number of entries is a multiple of three, minus the columns not equivalent to 2 mod 3 will have an equal number of I's, O's, and M's. It is also the squares $(3i+2, 3j+2)$. However, if 9 did not divide $n$, then the number of such squares is $\frac{n^2}{9}$, which is not divisible by 3 and a contradiction to the fact that there are equal numbers of I, O, and M. This completes the proof.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
theSA
146 posts
#3 • 6 Y
Y by Alexandros2233, vsathiam, Tawan, tigerzhang, myh2910, Adventure10
I spend my time by filling 9to9
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
rkm0959
1721 posts
#4 • 7 Y
Y by baladin, Generic_Username, kapilpavase, pavel kozlov, Tawan, megarnie, Adventure10
Indeed, it suffices, and it is required to have $9|n$.

First, we introduce some notations. Let $(P)$ equal to $1$ if $P$ is correct, and $0$ if it is not.
We denote $(a_1,a_2,a_3,a_4,a_5,a_6,a_7,a_8,a_9)$ is in an IMO-state if the following holds true.
The value
$$\sum_{i=1}^9 a_i \cdot \sum_{0 \le j \le \frac{n}{3}-1} \sum_{0 \le k \le \frac{n}{3}-1} (\text{The letter in }(3j+\lceil \frac{i}{3} \rceil , 3k+ i-3\lfloor \frac{i-1}{3} \rfloor) \text{ is X})$$is equal for all $X=I,M,O$.

Note that a linear combination of IMO-states gives you another IMO-state.
Now summing all rows numbered $2 \pmod{3}$ gives $A=(0,0,0,1,1,1,0,0,0)$ is in an IMO-state.
Summing all columns numbered $2 \pmod{3}$ gives $B=(0,1,0,0,1,0,0,1,0)$ is in an IMO-state.
Finally, summing all diagonals gives $C=(1,0,1,0,2,0,1,0,1)$ is in an IMO-state.
Summing every row, we have $D=(1,1,1,1,1,1,1,1,1)$ is in an IMO-state.

Now by making an linear combination, i.e. $A+B+C-D$, we get that $(0,0,0,0,3,0,0,0,0)$ is an IMO-state.
Therefore, there are equal number of letters in coordinates $(3j+2,3k+2)$, so $\frac{n^2}{9}$ is a multiple of $3$.
This forces $9|n$. Now for the construction.

Clearly, if we make a table for $n=9$, we can just repeatedly use it to make one for $n=9k$.
If we just take $k*k$ of these tables, each row and column are guaranteed to have same number of $I, M, O$.
Also, if we take a diagonal, each "segments" formed with the diagonal and tables have the same number of $I, M, O$.
Therefore, in total, the diagonal itself has the same number of $I, M, O$ as well.

Now let's make one table for $n=9$. We are done. $\blacksquare$

$$\begin{array}{|ccc|ccc|ccc|} \hline
I & M & O & M & O & I & O & I & M \\
O & M & I & I & O & M & M & I & O \\
I & M & O & M & O & I & O & I & M \\\hline
M & O & I & O & I & M & I & M & O \\
I & O & M & M & I & O & O & M & I \\
M & O & I & O & I & M & I & M & O \\\hline
O & I & M & I & M & O & M & O & I \\
M & I & O & O & M & I & I & O & M \\
O & I & M & I & M & O & M & O & I \\\hline
\end{array}$$
This post has been edited 7 times. Last edited by rkm0959, Jul 18, 2017, 12:30 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
6876 posts
#5 • 32 Y
Y by ssk9208, rkm0959, baladin, drkim, Generic_Username, mssmath, Gamamal, TheOneYouWant, kun1417, shinichiman, GGPiku, Problem_Penetrator, vsathiam, Tawan, ValidName, Delray, WAit_Mng, Wizard_32, rashah76, EulersTurban, IAmTheHazard, v4913, megarnie, myh2910, hakN, Iora, Dansman2838, Adventure10, sabkx, Rounak_iitr, deduck, MS_asdfgzxcvb
I think the construction is more straightforward than it looks:
\[
	\begin{array}{|ccc|ccc|ccc|} \hline
		I & I & I & M & M & M & O & O & O \\
		M & M & M & O & O & O & I & I & I \\
		O & O & O & I & I & I & M & M & M \\\hline
		I & I & I & M & M & M & O & O & O \\
		M & M & M & O & O & O & I & I & I \\
		O & O & O & I & I & I & M & M & M \\\hline
		I & I & I & M & M & M & O & O & O \\
		M & M & M & O & O & O & I & I & I \\
		O & O & O & I & I & I & M & M & M \\\hline
	\end{array}
\]
As for the proof that $9 \mid n$, my solution is the same as MathPanda:

Let $n = 3k$, which divides the given grid into $k^2$ sub-boxes (of size $3 \times 3$ each). Consider
  • All columns indexed $2 \pmod 3$,
  • All rows indexed $2 \pmod 3$, and
  • All $4k-2$ diagonals mentioned in the problem.
This covers the center of each box four times, and every other cell exactly once. Consequently the letters $I$, $M$, $O$ occur with equal frequency on these $k^2$ over-counted cells, so $3 \mid k^2 \implies 9 \mid n$.
This post has been edited 4 times. Last edited by v_Enhance, Jul 11, 2016, 9:11 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
juckter
323 posts
#6 • 3 Y
Y by Jettofaiyafukushireikan, Adventure10, Mango247
Oh hey I actually managed to solve this.

Let $n = 3k$. Call a diagonal good if its number of cells is a multiple of three. Call a cell lucky if it is in two good diagonals, and unlucky if it is in none. Assume that $t$ lucky cells contain an $I$, then there are exactly $2k^2 - t$ letters $I$ in non-unlucky cells, and therefore there are $k^2 + t$ letters $I$ in unlucky cells. Now, add up the number of $I$'s which are in rows or columns that are $2$ modulo $3$ (possibly both, in which case they are counted twice). This number is equal to $2k^2$ by hypothesis. On the other hand, it is easy to check that the cells in these rows and columns are exactly the lucky and unlucky cells, and that the total number of $I$'s in these cells is equal to $k^2 + 3t$. Therefore $t = \frac{k}{3}$ and $k$ is a multiple of 3. The construction is straightforward. The diagram shows the lucky ($\times$) cells and the unlucky ($\circ$) cells.

\[
\begin{array}{|c|c|c|c|c|c|} \hline
 & \circ &  &  & \circ & \\\hline
\circ & \times & \circ & \circ & \times & \circ\\\hline
 & \circ & &  & \circ & \\\hline
 & \circ &  &  & \circ & \\\hline
\circ & \times & \circ & \circ & \times & \circ\\\hline
 & \circ &  &  & \circ & \\\hline
\end{array}
\]
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
WizardMath
2487 posts
#7 • 2 Y
Y by Problem_Penetrator, Adventure10
OK so this was a beautiful problem. @MathPanda my solution is quite the same as yours. Btw this was my favourite problem on the test.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
kapilpavase
595 posts
#8 • 1 Y
Y by Adventure10
My construction was to replace $I,M,O$ with $1,\omega ,\omega^2$ and then put $\omega^{i+j +\lfloor \frac{i}{3} \rfloor -\lfloor \frac{j}{3} \rfloor}$ in cell $(i,j)$
And my calculations seem to point out this works...but still can anybody plz verify it :maybe:
Btw was this inspired by a sudoku type thing? :D
This post has been edited 2 times. Last edited by kapilpavase, Jul 11, 2016, 1:24 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
idioteque
75 posts
#9 • 2 Y
Y by Adventure10, Mango247
Well sure there'll be someone to verify it.. after you write it :D
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
kapilpavase
595 posts
#10 • 2 Y
Y by Adventure10, Mango247
Hmm...if you are referring to me then i couldnt actually verify this as i wrote it up in last 5 min.
Anyway i got it verfied by an aopser. Thanks to him
This post has been edited 1 time. Last edited by kapilpavase, Jul 11, 2016, 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.
WizardMath
2487 posts
#13 • 1 Y
Y by Adventure10
Yeah Kapil it works. I think maybe this was inspired by sudoku because every condition almost matches. This was thee motivation behind my sol tho.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
leader
339 posts
#14 • 1 Y
Y by Adventure10
Denote by $a_1,...,a_9$ the proportion of $I$'s in squares which are $(1,1),(1,2),(1,3),(2,1),(2,2),(2,3),(3,1),(3,2),(3,3)$ modulo $3$. Let $S_1=a_1+a_3+a_7+a_9$ and $S_2=a_2+a_4+a_6+a_8$. Rows and columns not $2$ modulo $3$ give $2S_1+S_2=4$. Diagonals give $S_1+2a_5=2$ and rows and columns $2$ mod $3$ give $S_2+2a_5=2$. Combining $4+6a_5=6$ or $a_5=1/3$ hence $n^2/9$ is divisible by $3$ hence $n=9k$. Construction by v_Enhance is simplest :)
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
JuanOrtiz
366 posts
#15 • 2 Y
Y by Adventure10, Mango247
Construction for multiples of 9: use this

BBBAAACCC
ACBBBCAAC
AAACCCBBB
CAACCBBBA
ABCBACACB
CCACBBBAA
BBBAAACCC
BACACACBB
CCCBBBAAA

Now assume n is not a multiple of 9, then change notation and let it be 3nx3n with n not divisible by 3. I prove it's not even possible to put the letter M alone such that all rows, all columns have n Ms and all divisible-by-3 diagonals have a third Ms. Collapse all squares equivalent mod 3 into a single square, so that we obtain a 3x3 board where each square has some integer number of Ms. In each row there's n Ms, in each column there's n Ms, and in both diagonals there's n Ms (coming from the identity $1+2+...+(n-1)+n+(n-1)+...+2+1=n^2$). This is a straightforward system of equations which yields that in the center square there's n/3 Ms. Contradiction.
This post has been edited 1 time. Last edited by JuanOrtiz, Jul 11, 2016, 9:36 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
ABCDE
1963 posts
#16 • 8 Y
Y by tikkitakka2, Delray, sa2001, for63434, parola, Iora, Adventure10, Mango247
The answer is $9\mid n$ and can be achieved as described in above posts.

Clearly, $3\mid n$, so set $n=3k$. Now, color the board like

123123123...
456456456...
789789789...
123123123...
...

Let $a_i$ be the number of $I$'s with color $i$. We clearly have $a_1+a_2+a_3=a_4+a_5+a_6=a_7+a_8+a_9=a_1+a_4+a_7=a_2+a_5+a_8=a_3+a_6+a_9=a_1+a_5+a_9=a_3+a_5+a_7=k^2$ so $k^2=a_7+a_8+a_9=k^2-a_5-a_3+k^2-a_5-a_2+k^2-a_5-a_1=3k^2-3a_5-k^2\implies k^2=3a_5$ so $3\mid k$ as desired.
This post has been edited 2 times. Last edited by ABCDE, Jul 12, 2016, 4:27 AM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
kk108
2649 posts
#17 • 2 Y
Y by Adventure10, Mango247
Why has no one so far posted Day 2 IMO problems ?
Z K Y
G
H
=
a