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
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
Beautiful problem
luutrongphuc   11
N a few seconds ago by whwlqkd
Let triangle $ABC$ be circumscribed about circle $(I)$, and let $H$ be the orthocenter of $\triangle ABC$. The circle $(I)$ touches line $BC$ at $D$. The tangent to the circle $(BHC)$ at $H$ meets $BC$ at $S$. Let $J$ be the midpoint of $HI$, and let the line $DJ$ meet $(I)$ again at $X$. The tangent to $(I)$ parallel to $BC$ meets the line $AX$ at $T$. Prove that $ST$ is tangent to $(I)$.
11 replies
luutrongphuc
Apr 4, 2025
whwlqkd
a few seconds ago
Vector geometry with unusual points
Ciobi_   1
N a few seconds ago by ericdimc
Source: Romania NMO 2025 9.2
Let $\triangle ABC$ be an acute-angled triangle, with circumcenter $O$, circumradius $R$ and orthocenter $H$. Let $A_1$ be a point on $BC$ such that $A_1H+A_1O=R$. Define $B_1$ and $C_1$ similarly.
If $\overrightarrow{AA_1} + \overrightarrow{BB_1} + \overrightarrow{CC_1} = \overrightarrow{0}$, prove that $\triangle ABC$ is equilateral.
1 reply
Ciobi_
Apr 2, 2025
ericdimc
a few seconds ago
Collinearity with orthocenter
Retemoeg   9
N 13 minutes ago by X.Luser
Source: Own?
Given scalene triangle $ABC$ with circumcenter $(O)$. Let $H$ be a point on $(BOC)$ such that $\angle AOH = 90^{\circ}$. Denote $N$ the point on $(O)$ satisfying $AN \parallel BC$. If $L$ is the projection of $H$ onto $BC$, show that $LN$ passes through the orthocenter of $\triangle ABC$.
9 replies
+1 w
Retemoeg
Mar 30, 2025
X.Luser
13 minutes ago
Parallel Lines and Q Point
taptya17   14
N 35 minutes ago by Haris1
Source: India EGMO TST 2025 Day 1 P3
Let $\Delta ABC$ be an acute angled scalene triangle with circumcircle $\omega$. Let $O$ and $H$ be the circumcenter and orthocenter of $\Delta ABC,$ respectively. Let $E,F$ and $Q$ be points on segments $AB,AC$ and $\omega$, respectively, such that
$$\angle BHE=\angle CHF=\angle AQH=90^\circ.$$Prove that $OQ$ and $AH$ intersect on the circumcircle of $\Delta AEF$.

Proposed by Antareep Nath
14 replies
taptya17
Dec 13, 2024
Haris1
35 minutes ago
The last nonzero digit of factorials
Tintarn   4
N 42 minutes ago by Sadigly
Source: Bundeswettbewerb Mathematik 2025, Round 1 - Problem 2
For each integer $n \ge 2$ we consider the last digit different from zero in the decimal expansion of $n!$. The infinite sequence of these digits starts with $2,6,4,2,2$. Determine all digits which occur at least once in this sequence, and show that each of those digits occurs in fact infinitely often.
4 replies
Tintarn
Mar 17, 2025
Sadigly
42 minutes ago
P2 Geo that most of contestants died
AlephG_64   2
N 44 minutes ago by Tsikaloudakis
Source: 2025 Finals Portuguese Mathematical Olympiad P2
Let $ABCD$ be a quadrilateral such that $\angle A$ and $\angle D$ are acute and $\overline{AB} = \overline{BC} = \overline{CD}$. Suppose that $\angle BDA = 30^\circ$, prove that $\angle DAC= 30^\circ$.
2 replies
AlephG_64
Yesterday at 1:23 PM
Tsikaloudakis
44 minutes ago
Geometry
youochange   0
an hour ago
m:}
Let $\triangle ABC$ be a triangle inscribed in a circle, where the tangents to the circle at points $B$ and $C$ intersect at the point $P$. Let $M$ be a point on the arc $AC$ (not containing $B$) such that $M \neq A$ and $M \neq C$. Let the lines $BC$ and $AM$ intersect at point $K$. Let $P'$ be the reflection of $P$ with respect to the line $AM$. The lines $AP'$ and $PM$ intersect at point $Q$, and $PM$ intersects the circumcircle of $\triangle ABC$ again at point $N$.

Prove that the point $Q$ lies on the circumcircle of $\triangle ANK$.
0 replies
youochange
an hour ago
0 replies
comp. geo starting with a 90-75-15 triangle. <APB =<CPQ, <BQA =<CQP.
parmenides51   1
N an hour ago by Mathzeus1024
Source: 2013 Cuba 2.9
Let ABC be a triangle with $\angle A = 90^o$, $\angle B = 75^o$, and $AB = 2$. Points $P$ and $Q$ of the sides $AC$ and $BC$ respectively, are such that $\angle APB =  \angle CPQ$ and $\angle BQA = \angle CQP$. Calculate the lenght of $QA$.
1 reply
parmenides51
Sep 20, 2024
Mathzeus1024
an hour ago
Fridolin just can't get enough from jumping on the number line
Tintarn   2
N an hour ago by Sadigly
Source: Bundeswettbewerb Mathematik 2025, Round 1 - Problem 1
Fridolin the frog jumps on the number line: He starts at $0$, then jumps in some order on each of the numbers $1,2,\dots,9$ exactly once and finally returns with his last jump to $0$. Can the total distance he travelled with these $10$ jumps be a) $20$, b) $25$?
2 replies
Tintarn
Mar 17, 2025
Sadigly
an hour ago
Geometry
Captainscrubz   2
N an hour ago by MrdiuryPeter
Source: Own
Let $D$ be any point on side $BC$ of $\triangle ABC$ .Let $E$ and $F$ be points on $AB$ and $AC$ such that $EB=ED$ and $FD=FC$ respectively. Prove that the locus of circumcenter of $(DEF)$ is a line.
Prove without using moving points :D
2 replies
Captainscrubz
3 hours ago
MrdiuryPeter
an hour ago
inequality ( 4 var
SunnyEvan   4
N an hour ago by SunnyEvan
Let $ a,b,c,d \in R $ , such that $ a+b+c+d=4 . $ Prove that :
$$ a^4+b^4+c^4+d^4+3 \geq \frac{7}{4}(a^3+b^3+c^3+d^3) $$$$ a^4+b^4+c^4+d^4+ \frac{252}{25} \geq \frac{88}{25}(a^3+b^3+c^3+d^3) $$equality cases : ?
4 replies
SunnyEvan
Apr 4, 2025
SunnyEvan
an hour ago
Find the constant
JK1603JK   1
N an hour ago by Quantum-Phantom
Source: unknown
Find all $k$ such that $$\left(a^{3}+b^{3}+c^{3}-3abc\right)^{2}-\left[a^{3}+b^{3}+c^{3}+3abc-ab(a+b)-bc(b+c)-ca(c+a)\right]^{2}\ge 2k\cdot(a-b)^{2}(b-c)^{2}(c-a)^{2}$$forall $a,b,c\ge 0.$
1 reply
JK1603JK
5 hours ago
Quantum-Phantom
an hour ago
2025 - Turkmenistan National Math Olympiad
A_E_R   4
N an hour ago by NODIRKHON_UZ
Source: Turkmenistan Math Olympiad - 2025
Let k,m,n>=2 positive integers and GCD(m,n)=1, Prove that the equation has infinitely many solutions in distict positive integers: x_1^m+x_2^m+⋯x_k^m=x_(k+1)^n
4 replies
A_E_R
2 hours ago
NODIRKHON_UZ
an hour ago
hard problem
Cobedangiu   15
N 2 hours ago by Nguyenhuyen_AG
problem
15 replies
Cobedangiu
Mar 27, 2025
Nguyenhuyen_AG
2 hours ago
Problem 4 from IMO 1997
iandrei   28
N Apr 2, 2025 by akliu
Source: IMO Shortlist 1997, Q4
An $ n \times n$ matrix whose entries come from the set $ S = \{1, 2, \ldots , 2n - 1\}$ is called a silver matrix if, for each $ i = 1, 2, \ldots , n$, the $ i$-th row and the $ i$-th column together contain all elements of $ S$. Show that:

(a) there is no silver matrix for $ n = 1997$;

(b) silver matrices exist for infinitely many values of $ n$.
28 replies
iandrei
Jul 28, 2003
akliu
Apr 2, 2025
Problem 4 from IMO 1997
G H J
Source: IMO Shortlist 1997, Q4
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
iandrei
138 posts
#1 • 9 Y
Y by Adventure10, jhu08, megarnie, Mango247, Mango247, EntropiaAwake, EntropiaAwake, EntropiaAwake, cubres
An $ n \times n$ matrix whose entries come from the set $ S = \{1, 2, \ldots , 2n - 1\}$ is called a silver matrix if, for each $ i = 1, 2, \ldots , n$, the $ i$-th row and the $ i$-th column together contain all elements of $ S$. Show that:

(a) there is no silver matrix for $ n = 1997$;

(b) silver matrices exist for infinitely many values of $ n$.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Lagrangia
1326 posts
#2 • 4 Y
Y by Adventure10, jhu08, Mango247, cubres
(a) If we list all the elements in the rows followed by all the elements in the columns, then we have listed every element in the array twice, so each number in S must appear an even number of times. But considering the ith row with the ith column, we have also given n complete copies of S together with an additional copy of the numbers on the diagonal. If n is odd, then each of the 2n-1 numbers appears an odd number of times in the n complete copies, and at most n numbers can have this converted to an even number by an appearance on the diagonal. So there are no silver matrices for n odd. In particular, there is no silver matrix for n = 1997.

(b) Let Ai,j be an n x n silver matrix with 1s down the main diagonal. Define the 2n x 2n matrix Bi,j with 1s down the main diagonal as follows: Bi,j = Ai,j; Bi+n,j+n = Ai,j; Bi,j+n = 2n + Ai,j; Bi+n,j = 2n + Ai,j for i not equal j and Bi+n,i = 2n. We show that Bi,j is silver. Suppose i ≤ n. Then the first half of the ith row is the ith row of Ai,j, and the top half of the ith column is the ith column of Ai,j, so between them those two parts comprise the numbers from 1 to 2n - 1. The second half of the ith row is the ith row of Ai,j with each element increased by 2n, and the bottom half of the ith column is the ith column of Ai,j with each element increased by 2n, so between them they give the numbers from 2n + 1 to 4n - 1. The only exception is that Ai+n,i = 2n instead of 2n + Ai,i. We still get 2n + Ai,i because it was in the second half of the ith row (these two parts do not have an element in common). The 2n fills the gap so that in all we get all the numbers from 1 to 4n - 1.

An exactly similar argument works for i > n. This time the second half of the row and the second half of the column (which overlap by one element) give us the numbers from 1 to 2n - 1, and the first halves (which do not overlap) give us 2n to 4n - 1. So Bi,j is silver. Hence there are an infinite number of silver matrices.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Johann Peter Dirichlet
375 posts
#3 • 3 Y
Y by Adventure10, jhu08, cubres
Well, it is possible to prove that $n \times n$ silver matrices exists for any even $n$.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Ilthigore
315 posts
#4 • 5 Y
Y by Nelu2003, Adventure10, jhu08, Mango247, cubres
a) $ (2k+1)^2 < (k+1)(4k+1)$ for $ k>0$, so if $ n=2k+1$ there exists a number from $ S$ which only is used at most $ k$ times, so it can only occur in at most $ 2k$ columns or rows. So there must be an $ i: 1\leq i \leq 2k+1$ for which it isn't in the $ i$th row or column.

b) For n even just do it. Let $ n=2m$. It's fairly obvious that we can partition the set of unordered pairs $ \{i,j\}$ from $ \{1,2,....,2m\}$ into $ 2m-1$ disjoint sets $ T_1, T_2,....,T_{2m-1}$ of size $ m$ such that each $ i$ is found precisely once in each set. Then take a matrix $ (a_{xy})$ with major diagonal filled with 1s and for each pair $ \{i,j\}, i<j$ in $ T_k$, set $ a_{ij} = 2k, a_{ji}=2k+1$. This gives a silver n by n matrix.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Vietnamisalwaysinmyheart
311 posts
#5 • 4 Y
Y by jhu08, Adventure10, Mango247, cubres
Sorry for reviving a really old topic but I know, in official solution and @Lagrangia 's one, they had just proven that $n$ is power of $2$ so what about $n$ is even, can anyone help me?, @llthigore 's solution doesn't satisfy me at all!
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Tintarn
9029 posts
#6 • 5 Y
Y by jhu08, Adventure10, Mango247, cubres, winniep008hfi
There is a nice recursive construction:
If you have a silver matrix of size $n$, you can construct a silver matrix of size $2n$ by taking two copies of the original matrix on the diagonal and adding Latin Squares in the two other corners
But you can also obtain a silver matrix of size $2n-2$ by taking the original matrix in the upper left corner, reflecting it over the diagonal and filling the rest appropriately (this reflection works because you can assume that there are only 1's on the diagonal).
And starting from $2$ with the steps $n \to 2n$ and $n \to 2n-2$ you can obtain any even number.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Vietnamisalwaysinmyheart
311 posts
#7 • 5 Y
Y by jhu08, Adventure10, Mango247, cubres, winniep008hfi
Tintarn wrote:
But you can also obtain a silver matrix of size $2n-2$ by taking the original matrix in the upper left corner, reflecting it over the diagonal and filling the rest appropriately (this reflection works because you can assume that there are only 1's on the diagonal).
And starting from $2$ with the steps $n \to 2n$ and $n \to 2n-2$ you can obtain any even number.

Yes, this is exactly what I need but the red part, I don't know how you reflected, can you clarify, thanks!
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Tintarn
9029 posts
#9 • 4 Y
Y by jhu08, Adventure10, Mango247, cubres
I'll show you the example $4 \to 6$. You start with the construction for $n=4$ which canonically looks like
\[\begin{pmatrix} 1 & 2 & 4 & 5\\3 & 1 & 5 & 4\\6 & 7 & 1 & 2\\7 & 6 & 3 & 1 \end{pmatrix}\]Now, you do the reflection over the diagonal:
\[\begin{pmatrix} 1 & 2 & 4 &  & & \\3 & 1 & 5 &  & & \\6 & 7 & 1 & 2 &  & \\ &  & 3 & 1  & 5 &4\\& &  & 7 & 1 & 2\\ & &  & 6 & 3 & 1\end{pmatrix}\](Here of course you need to delete some entries.) And then fill in the gaps:
\[\begin{pmatrix} 1 & 2 & 4 & 8 & 9 & 5 \\3 & 1 & 5 &  9 & 4 & 8 \\6 & 7 & 1 & 2 & 8 & 9\\10 & 11 & 3 & 1  & 5 &4\\11 & 6 & 10 & 7 & 1 & 2\\7 &10 &11  & 6 & 3 & 1\end{pmatrix}\]Of course there some technicalities to describe the general procedure, but hopefully the idea should be clear.:)
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
larkl
27 posts
#10 • 4 Y
Y by jhu08, Adventure10, Mango247, cubres
If the silver matrix $a(i,j)$ of size $2^k$ is defined, using the elements $\{-2^k+1, ..., 0, ..., 2^k-1\}$, then you can get a silver matrix of size $2^{k+1}$ by setting

$a(i,j+2^k) = a(i,j)+2^k$ if $a(i,j) \geq 0$

$a(i,j+2^k) = a(i,j)-2^k$ if $a(i,j) < 0$

$a(i+2^k,j) = a(i,j) - 2^k$ if $a(i,j) \leq 0$

$a(i+2^k,j) = a(i,j) + 2^k$ if $a(i,j) > 0$

$a(i+2^k, j+2^k) = a(i,j)$.

It has a lot of nice symmetries, such as $a(i,j) = - a(i,j)$ for all $i,j$.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Wizard_32
1566 posts
#11 • 6 Y
Y by MathbugAOPS, jhu08, Adventure10, Mango247, cubres, winniep008hfi
I really enjoyed this problem :)
iandrei wrote:
An $ n \times n$ matrix whose entries come from the set $ S = \{1, 2, \ldots , 2n - 1\}$ is called a silver matrix if, for each $ i = 1, 2, \ldots , n$, the $ i$-th row and the $ i$-th column together contain all elements of $ S$. Show that:

(a) there is no silver matrix for $ n = 1997$;

(b) silver matrices exist for infinitely many values of $ n$.
(a) We will show that there exists no silver matrix for an odd $n$.
Call the union of the $ i$-th row and the $ i$-th column as the $i$-th block. Hence, each block must contain all the elements from $1$ to $2n-1$, and clearly, each element in a block must be different from the others (in the same block).
Note that any element in the matrix contributes to at most $2$ blocks. Hence, each element $i$ appears at least $\left \lceil \frac{n}{2} \right \rceil =\frac{n+1}{2}$ times in the matrix. But since there are $2n-1$ elements, hence the total number of elements in the matrix is at least $\frac{(2n-1)(n+1)}{2} >n^2$, a contradiction. $\blacksquare$

(b) We will prove by induction on $n$ that for any $n \geq 1$, there exists a $2^n \times 2^n$ silver matrix. A $2 \times 2$ silver matrix is shown as the base case.
$$\begin{pmatrix}
    1 & 2 \\
    3 & 1 \\ 
\end{pmatrix}$$Now, asume that we have found a silver matrix $\{a_{ij}\}$ where $1 \le i, j \le 2^k$ for some $n=k$. For simplicity, set $m=2^{k}$. Then the silver matrix for $n=k+1$ is
$$\begin{pmatrix}
    a_{11} & a_{12} & \dots  & a_{1m} & a_{11}+2m & a_{12}+2m & \dots  & a_{1m}+2m \\
    a_{21} & a_{22} & \dots  & a_{2m} & a_{21}+2m & a_{22}+2m & \dots  & a_{2m}+2m \\
    \vdots & \vdots & \ddots & \vdots & \vdots & \vdots & \ddots & \vdots \\
    a_{m1} & a_{m2} &  \dots  & a_{mm} & a_{m1}+2m & a_{m2}+2m &  \dots  & a_{mm}+2m \\ 
   
    2m & a_{12}+2m & \dots  & a_{1m}+2m & a_{11} & a_{12} & \dots  & a_{1m} \\
    a_{21}+2m & 2m & \dots  & a_{2m}+2m & a_{21} & a_{22} & \dots  & a_{2m} \\
    \vdots & \vdots & \ddots & \vdots & \vdots & \vdots & \ddots & \vdots  \\
    a_{m1}+2m & a_{m2} +2m&  \dots  & 2m & a_{m1} & a_{m2} &  \dots  & a_{mm} \\ 
\end{pmatrix}$$The reason why this works is easy to see once you try it out yourself building from the case $n=1$ to $n=2$ to $n=3$, but just for completeness, I will provide a formal explanation as to why this works.
Why does this work?
Hence, we are done by induction. $\blacksquare$
This post has been edited 2 times. Last edited by Wizard_32, Jun 25, 2018, 5:44 PM
Reason: *sighs*
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Severus
742 posts
#12 • 4 Y
Y by jhu08, Adventure10, Mango247, cubres
Very nice problem! And a good practice of my proof-writing skills...

a) Let $n=2k+1$. Call an $i$th row and $i$th column together a $i$-rolumn. Suppose a silver matrix does exist for $n$. Consider any number $m\in\{1,2,\dots, 4k+1\}$. Say it is present in the $a$th row and $b$th column of the matrix. Then it is part of the $a$-rolumn and the $b$-rolumn. Thus one instance of an entry in the matrix only satisfies being part of two rolumns. Thus to be part of $2k+1$ total rolumns, each of $\{1,2,\dots, 4k+1\}$ must appear at least $\left\lceil\frac{2k+1}{2}\right\rceil=k+1$ times. So there will be at least a total of $(k+1)(4k+1)=4k^2+5k+1$ entries in the matrix. However we only have $(2k+1)^2<4k^2+5k+1$ slots for the numbers, and we have a contradiction. Thus there are no silver matrices for odd $n$, and specifically for $n=1997$. $\square$

b) We will show that there exists a silver matrix for $n=2^k$, $k\geq 1$.
We will prove this by induction on $k$, where $2^k\times 2^k$ is the dimension of the matrix.
For $k=1$, consider the matrix $\left(\begin{array}{cc} 1&2\\3&1\end{array}\right)$. We assume that a silver matrix exists for $n=2^k$. Call it $A$. Now we wish to prove that a silver matrix exists for $2^{k+1}=2n$. We divide the $2n\times 2n$ matrix into four $n\times n$ matrices. We call them $B_1,B_2,B_3,B_4$ clockwise. Let $B_1=B_3=A$. Then $A$ contains the numbers $1,2,\dots, 2n-1$. The rest of the numbers $2n,2n+1,\dots, 4n-1$ must be filled in $B_2$ and $B_4$. Let $X=\{2n,2n+1,\dots, 3n-1\}$ and $Y=\{3n,3n+1,\dots, 4n-1\}$. So $|X|=|Y|=n$.

Lemma 1: Any $n\times n$ matrix can be filled with the distinct numbers $a_1,a_2,\dots, a_n$, so that each row and each column contains all the numbers $a_1,a_2,\dots, a_n$.

Proof: Simply consider the matrix $\begin{pmatrix}a_1&a_2&a_3&\dots&a_n\\a_n&a_1&a_2&\dots&a_{n-1}\\a_{n-1}&a_n&a_1&\dots&a_{n-2}\\.&.&.&\dots&.\\.&.&.&\dots&.\\.&.&.&\dots&.\\a_2&a_3&a_4&\dots&a_1 \end{pmatrix}$, where the $k$th row is formed by shifting the $(k-1)$th row to the right by one entry, and the last entry in the $(k-1)$th row is the first entry in the $k$th row. $\square$

Now going back to the main problem and using Lemma 1, we fill $B_2$ with the elements of $X=\{2n,2n+1,\dots, 3n-1\}$ so that each row and each column contains all the elements of $X$, and $B_4$ with the elements of $Y=\{3n,3n+1,\dots, 4n-1\}$ in a similar fasion.
Then our $2n\times 2n$ ($n=2^k$) matrix is $$\begin{array}{cc}A&B_2\\B_4&A\end{array}.$$Note that if $1\leq i\leq 2^k$, then the $i$th row contains the elements of the $i$th rows of the upper left corner $A$ and the $i$th row of $B_2$. The $i$th column contains the elements of the $i$th column of the upper left corner $A$ and the $i$th column of $B_4$. We know that the "$A$ elements" contain all of ${1,2,\dots,2n-1}$ by the induction hypothesis. The "$B_2$ elements" contain all of $2n,2n+1,\dots, 3n-1$ and the "$B_4$ elements" contain all of $3n,3n+1,\dots, 4n-1$. A similar argument goes for $2^k<i\leq 2^{k+1}$. Thus the $i$th row and the $i$th column of the $2n\times 2n$ matrix contains all the numbers $1,2,\dots, 4n-1$, and is thus a silver matrix.

Thus we are done by induction. $\blacksquare$
This post has been edited 4 times. Last edited by Severus, Nov 28, 2018, 4:11 PM
Reason: okay let's see how edit works in the update
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
TheMathematics
27 posts
#13 • 1 Y
Y by jhu08
In the first step we define a machine. our machine is called a matrix permutation :
if we give the matrix A to this , our machine add $+x$ to all elements of matrix $A$ except left large diameter elements ( this diameter $\begin{bmatrix} *&  \\  &* \end{bmatrix}$ ) and fill in the left large diameter elements with $y$ and $z$ respectively.
we show the new matrix $A$ in $A^{+x}_{y,z}$ form. for example :
$$A : \begin{pmatrix} \bold{1}&2&3&4 \\ 5&\bold{6}&7&8 \\ 9&10&\bold{11}&12 \\ 13&14&15&\bold{16} \end{pmatrix} \rightarrow  A^{+2}_{4,5} : \begin{pmatrix} \bold{4}&4&5&6 \\ 7&\bold{5}&9&10 \\ 11&12&\bold{4}&14 \\ 15&16&17&\bold{5} \end{pmatrix}$$now, for the for machine a new silver matrix, it's sufficient to convert the silver matrix $A$ in this way :
$$ \begin{bmatrix} A&A^{+2n}_{n,n+1} \\ A^{+2n}_{n+1,n}&A \end{bmatrix} $$that's clearly gives the silver matrix because matrix $A$ makes numbers from $1$ to $2n-1$ and matrix permutation makes number for $2n$ to $4n-1$.
the proof for moving $n$ and $n+1$ in matrix is row $i$_th and column $i$_th $(n < i)$ are same as $+2n$ and they can completely cover numbers $2n$ to $4n-1$ because $A$ was a silver matrix. And if it was in the form of $A^{+2n}_{n,n}$, makes numbers $2n+1$ to $4n-1$ that doesn't give us silver matrix.
$\begin{pmatrix} 1&2 \\ 3&1 \end{pmatrix} \rightarrow \begin{pmatrix} 1&2&4&6 \\ 3&1&7&5 \\ 5&6&1&2 \\ 7&4&3&1 \end{pmatrix} \rightarrow 
 \begin{pmatrix} 1&2&4&6&8&10&12&14 \\ 3&1&7&5&11&9&15&13 \\ 5&6&1&2&13&14&8&10 \\ 7&4&3&1&15&12&11&9 \\ 9&10&12&14&1&2&4&6 \\ 11&8&15&13&3&1&7&5 \\ 13&14&9&10&5&6&1&2 \\ 15&12&11&8&7&4&3&1 \end{pmatrix}$
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
jasperE3
11165 posts
#14 • 1 Y
Y by jhu08
$(\text a)$ FTSOC, let $M=(a_{i,j})$ be a $n\times n$ silver matrix. For odd $n$, we have:
$$2\sum_{i=1}^n\sum_{j=1}^na_{i,j}=\sum_{i=1}^n\left(\sum_{j=1}^n(a_{i,j}+a_{j,i})-a_{i,i}\right)>\sum_{i=1}^n\sum_{j=1}^{2n-1}j=n^2(2n-1),$$which is a contradiction since $n^2(2n-1)$ is odd. Since $1997$ is odd, there is no such silver matrix.

Got the minor hint to do induction for $(b)$.

$(\text b)$ We claim that there exists a silver matrix for all powers of $2$.

Proceed by induction.
Base case: $2\times2$
We will use the matrix $\begin{pmatrix}1&2\\3&1\end{pmatrix}$.

Induction step: $n\times n\Rightarrow2n\times2n$
For any silver $2^n\times2^n$ matrix $M$, we consider the transformation
$$M\mapsto\begin{pmatrix}M&A\\B&M\end{pmatrix},$$where $A=M+2^{n+1}J_{2^n}$ and $B$ is the matrix obtain by replacing instances of $2^{n+1}+1$ with $2^{n+1}$ in $A$.

For instance:
$$\begin{pmatrix}1&2\\3&1\end{pmatrix}\to\begin{pmatrix}1&2&5&7\\3&1&6&5\\4&7&1&2\\6&4&3&1\end{pmatrix}\to\begin{pmatrix}1&2&5&7&9&10&13&15\\3&1&6&5&11&9&14&13\\4&7&1&2&12&15&9&10\\6&4&3&1&14&12&11&9\\8&10&13&15&1&2&5&7\\11&8&14&13&3&1&6&5\\12&15&8&10&4&7&1&2\\14&12&11&8&6&4&3&1\end{pmatrix}$$
Firstly, we can show that this process, iterated from $\begin{pmatrix}1&2\\3&1\end{pmatrix}$, always produces a matrix with all ones on the main diagonal. Then the main diagonal of $A$ is replaced when we form $B$. Now we can easily show that the resulting matrix is silver.
This post has been edited 4 times. Last edited by jasperE3, Mar 24, 2022, 3:55 AM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Mogmog8
1080 posts
#15 • 2 Y
Y by centslordm, Mango247
Solution (b)
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
v_Enhance
6871 posts
#16 • 1 Y
Y by megarnie
From Twitch Solves ISL:

For (a), define a cross to be the union of the $i$th row and $i$th column. Every cell of the matrix not on the diagonal is contained in exactly two crosses, while each cell on the diagonal is contained in one cross.
On the other hand, if a silver matrix existed for $n=1997$, then each element of $S$ is in all $1997$ crosses, so it must appear at least once on the diagonal since $1997$ is odd. However, $|S| = 3993$ while there are only $1997$ diagonal cells. This is a contradiction.

For (b), we construct a silver matrix $M_e$ for $n = 2^e$ for each $e \ge 1$. We write the first three explicitly for concreteness: \begin{align*} 	M_1 &= \begin{bmatrix} 		1 & 2 \\ 3 & 1 	\end{bmatrix} \\ 	M_2 &= \begin{bmatrix} 		{\color{red}1} & {\color{red}2} & 4 & 5 \\ 		{\color{red}3} & {\color{red}1} & 6 & 7 \\ 		7 & 5 & {\color{red}1} & {\color{red}2} \\ 		6 & 4 & {\color{red}3} & {\color{red}1} 	\end{bmatrix} \\ 	M_3 &= \begin{bmatrix} 		{\color{red}1} & {\color{red}2} & {\color{red}4} & {\color{red}5} & 8 & 9 & 11 & 12\\ 		{\color{red}3} & {\color{red}1} & {\color{red}6} & {\color{red}7} & 10 & 15 & 13 & 14 \\ 		{\color{red}7} & {\color{red}5} & {\color{red}1} & {\color{red}2} & 14 & 12 & 8 & 9 \\ 		{\color{red}6} & {\color{red}4} & {\color{red}3} & {\color{red}1} & 13 & 11 & 10 & 15 \\ 		15 & 9 & 11 & 12 & {\color{red}1} & {\color{red}2} & {\color{red}4} 		& {\color{red}5} \\ 		10 & 8 & 13 & 14 & {\color{red}3} & {\color{red}1} & {\color{red}6} 		& {\color{red}7} \\ 		14 & 12 & 15 & 9 & {\color{red}7} & {\color{red}5} & {\color{red}1} 		& {\color{red}2} \\ 		13 & 11 & 10 & 8 & {\color{red}6} & {\color{red}4} & {\color{red}3} 		& {\color{red}1} \\ 	\end{bmatrix} \end{align*}The construction is described recursively as follows. Let \[ 	M_e' = \left[ 	\begin{array}{c|c} 		{\color{red}M_{e-1}} & M_{e-1} + (2^e-1) \\ \hline 		M_{e-1} + (2^e-1) & {\color{red}M_{e-1}} \\ 	\end{array} 	\right]. \]Then to get from $M_e'$ to $M_e$, replace half of the $2^e$'s with $2^{e+1}-1$: in the northeast quadrant, the even-indexed ones, and in the southwest quadrant, the odd-indexed ones.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
NZP_IMOCOMP4
29 posts
#17
Y by
I found an alternative construction for part b on the competition itself.

On the main diagonal place all $1$s. Divide the remaining numbers into $n-1$ pairs. Let an $i$-diagonal be all the fields of the form $(x,x+i)$ modulo $n$. Thus, for example, the main diagonal is the $0$-diagonal (though we discount it from further analysis). Within an $i$-diagonal, $i=1,2,\dots,n-1$, let us define the relation of connectedness if two fields of the same $i$-diagonal belong to a common cross ($k$-th row+$k$-th column for some $k$). Note that each cross intersects each $i$-diagonal in exactly two fields. One easily proves that each field is connected to exactly two others, decomposing the $i$-diagonal into cycles. Due to translational symmetry, these cycles are of equal length. If $n=2^m$ for some $m$, these cycles will be of even length. Thus, for each $i$-diagonal we can select a pair of numbers and place them alternately along a cycle, ensuring that for each cross both numbers appear in it. This completes the proof.
This post has been edited 1 time. Last edited by NZP_IMOCOMP4, Feb 22, 2022, 1:40 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
coolmath_2018
2807 posts
#18
Y by
Is this a well-written solution for part b?
Attachments:
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
fuzimiao2013
3302 posts
#19
Y by
(a) Let $n=2k+1$, so $S = \{1, 2, \dots, 4k+1\}$. Call the $i$-th row combined with the $i$-th column the $i$-th grass. Notice that each element in the matrix is in at most $2$ grasses. Therefore, to be in $2k+1$ grasses, there must be at least $\left\lceil\frac{2k+1}2\right\rceil = k+1$ copies of each element of $S$ in the matrix. However, this means we have at least $(4k+1)(k+1) > (2k+1)^2$ entries in the matrix, which is clearly impossible. Since $1997$ is odd, there is no silver matrix for $n = 1997$.

(b) (stolen from WOOT induction handout). We prove that there is a silver matrix for $\boxed{n = 2^k}$ for all positive integers $k$. In particular, we will prove the case where there is a diagonal of $1$s going from $a_{11}$ to $a_{nn}$, which we'll call $M_n$. We proceed with induction. For the base case, notice that
\[
            \begin{bmatrix}
                1 & 2 \\
                3 & 1
            \end{bmatrix}
        \]works for $k=1$. Now suppose $M_k$ is a valid silver matrix with $1$s on the diagonal. Define $A_k$ as the matrix $M_k$ with $2^{k+1}$ added to each entry, and $B_k$ as $A_k$ but with all instances of $2^{k+1}+1$ with $2^{k+1}$. Then we can construct $M_{k+1}$ as follows:
\[
            M_{k+1} = 
            \begin{bmatrix}
                M_k & A_k \\
                B_k & M_k
            \end{bmatrix}
        \]Now each grass contains all integers $1, 2, \dots, 2n-1$ (since each grass contains a grass of $M_k$, which is silver), along with $2^{k+1}+1, 2^{k+1}+2, \dots, 2^{k+1}+2\cdot 2^k-1=2\cdot (2^{k+1}) - 1$ and $2^{k+1}$. Thus, each grass has all elements in $S$, 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.
Taco12
1757 posts
#20
Y by
For (a), we get a parity issue for $n$ odd.

For (b), we prove that powers of $2$ work. Proceed with induction, with $\left|\begin{matrix}1&2\\3&1\end{matrix}\right|$ as the base case for $2$ by $2$. Let $M_k$ be the silver matrix at $n=2^k$. Consider a new matrix $A_k$, split into four quadrants $NW_k, NE_k, SW_k, SE_k$ with the labeling describing the location. We define $NW_k=SE_k=M_{k-1}$ and $SW_k=NE_k=M_{k-1}+2^k-1$. Transform $A_k$ into $M_k$ by replacing half of the squares in $NE_k, SW_k$ by the indexes' parity.

Remark. Why did this feel so hard.. I got like 10000 hints on it including basically being given the construction.
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
#21
Y by
Let a \textbf{structure} be the combined row and column of each $i$-th row and $i$-th column cell and the $i$-th row and $i$-th column cells be called the \textbf{$i$-th center}

Part (a)

Note that there must be at least $n-1$ numbers that aren't on the diagonal of \textbf{centers} because the maximum number of distinct numbers on the diagonal of \textbf{centers} is $n$ and there are $2n-1$ numbers in total. Now note that when a number isn't on the diagonal, it must be in $2$ \textbf{structures} and it must appear in each \textbf{structure}. A number can't have two instances in one structure but there are an odd number of \textbf{structures} because $1997$ is odd. Thus, we have a contradiction because the parities don't match up.

Part (b)

We claim that every $n = 2^{k}$ works. We wish for every number to be in a structure. We induct on $k$. First, note that
\[\begin{tabular}{|c|c|}
    \hline
    1 & 3 \\
    \hline
    2 & 1 \\
    \hline
\end{tabular}\]works for $k = 1$. Assume that $n = 2^{k}$ has a working construction. For $2^{k+1}$, we have two of the $2^{k}$ constructions on the diagonal of \textbf{centers}. Then, we replace each number in the $2^{k}$ construction with a new number, keeping which numbers on which spaces are equal to each other.
We place this new construction on one of the other $2$ places to put a $2^{k}$. Then for the last place to put a $2^{k}$, we just copy the previous construction but change the number on the diagonal of \textbf{centers} to be the only number that hasn't been used. This construction works, which thus concludes the proof.

remarks
This post has been edited 1 time. Last edited by Spectator, May 7, 2023, 5:05 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Pyramix
419 posts
#22
Y by
For any matrix, the numbers on the diagonal are referred to as rich numbers and the numbers not on the diagonal are poor.
(a) We show that there is no silver matrix for any odd $n$. A $i$ group has the the row $i$ and column $i$ numbers.
Suppose for contradiction, there is a silver matrix for odd $n$. Any number on $(i,j)$ occupies the row $i$ column $i$ and row $j$ column $j$ group. So, if $i\ne j$ then this number is in exactly two groups. Suppose this number is poor. Then every occurence of this number is in two groups. Since we need a total of $n$ groups, we need exactly $\frac n2$ occurences of each poor number, which is absurd as $n$ is odd. This gives a contradiction. $\blacksquare$

(b) The consturctions for $n=4$ is:
\[\begin{pmatrix} 1 & 4 & 2 & 7\\5 & 1 & 6 & 3\\3 & 7 & 1 & 5\\6 & 2 & 4 & 1 \end{pmatrix}\]Suppose $n$ is even, so $n=2k$. Construct a $4k-2\times k$ table with entries as ordered pairs $(i,j)$ with $1\leq i,j\leq n$ such that each entry is distinct, and in any row, for any two entries, we have four distinct numbers; i.e. $(i,j)$ and $(i,k)$ must be in different rows. It is possible to construct such a table using a greedy algorithm. Then, each entry in the matrix on $(i,j)$ hosts the row number of $(i,j)$ in our table. It is easy to check that this satisfies all conditions required. $\blacksquare$
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
joshualiu315
2513 posts
#23
Y by
Define the $\textit{i-th cross}$ as the set of entries in either the $i$-th row or $i$-th column.

a. We will show that there is no silver matrix for odd numbers $n$. Let $n=2k+1$. Each element is in at most $2$ crosses so there must be at least $k+1$ copies of every element in order to be in $n$ crosses. This implies that the number of elements in the matrix is

\[(4k+1)(k+1)>(2k+1)^2,\]
a contradiction. Thus, for $n=1997$ there cannot be a silver matrix. $\square$

b. For $n=2^k$ there will always be a silver matrix. To see this, we define a recursive sequence:

$$
M_1 = \begin{bmatrix} 1 & 2 \\ 3 & 1 \end{bmatrix}
$$$$
M_k' = \left[ \begin{array}{c|c} M_{k-1} & M_{k-1} + (2^k-1) \\ \hline M_{k-1} + (2^k-1) & M_{k-1} \\ \end{array} \right].
$$
Then to get from $M_k'$ to $M_k$, replace half of the $2^k$'s with $2^{k+1}-1$: in the northeast quadrant, the even-indexed ones, and in the southwest quadrant, the odd-indexed ones. $\square$
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
pinkpig
3761 posts
#24
Y by
solution
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
shendrew7
793 posts
#25
Y by
$\textbf{(a)}$ We use a bounding argument for odd $n>1$. Note that each integer $1, \ldots, 2n+1$ appears in at most two $\text{row } i \cup \text{col } i$ sets, so we require at least $\left \lceil \frac n2 \right \rceil = \frac{n+1}{2}$ of them. Thus the total number of integers needed is at least
\[(2n-1)\left(\frac{n+1}{2}\right) = \frac{2n^2+n-1}{2},\]
which is greater than $n^2$, contradiction. ${\color{blue} \Box}$

$\textbf{(b)}$ We construct matrices for $n=2^k$ inductively, where we assume $A_{k-1}$ satisfies the given conditions to show $A_k$ does too. Our recursion can be expressed as
\[A_0 = [1], \quad A_1 = \begin{bmatrix} 1 & 3 \\ 2 & 1 \end{bmatrix}, \quad A_{i+1} = \begin{bmatrix} A_i & B_i \\ C_i & A_i \end{bmatrix},\]
where $B_i$ represents the matrix $A_i$ with each cell increased by $2^{i+1}$ and $C_i$ represents the matrix $B_i$ with each cell of value $2^{i+1}+1$ with $2^{i+1}$. Our inductive assumption tells us this matrix indeed works. $\blacksquare$
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
RGB
19 posts
#27
Y by
(a) To show that there is no silver matrix for $n = 1997$, consider the number of distinct elements that must appear in the rows and columns. For an $n \times n$ matrix where the entries are from $S = {1, 2, \ldots, 2n - 1}$, there are $2n - 1$ distinct elements.

In a silver matrix, each row and each column must contain all elements of $S$. However, in a $1997 \times 1997$ matrix, there are only $1997$ rows and columns. Therefore, it's impossible to cover all $2 \times 1997 - 1 = 3993$ distinct elements of $S$ in just $1997$ rows and columns. Hence, no silver matrix exists for $n = 1997$.

(b) To show that silver matrices exist for infinitely many values of $n$, we can construct a silver matrix for any $n$ such that $n = 2k$ for some positive integer $k$.

Consider an $n \times n$ matrix where the rows and columns are labeled $1, 2, \ldots, n$. For each row $i$, fill the entries of the $i$th row as follows:
$$i,i+1,i+2,\dots,2n-1,1,2,\dots,i-1$$This arrangement ensures that each row contains all elements of $S = {1, 2, \ldots, 2n - 1}$.

Now, consider each column. For the $j$th column, fill the entries as follows:
$$j,j+1,j+2,\dots,2n-1,1,2,\dots,j-1$$This arrangement ensures that each column also contains all elements of $S$.

Therefore, for any $n = 2k$, we can construct a silver matrix using this method, ensuring that each row and each column contains all elements of $S$. Since there are infinitely many values of $n = 2k$, silver matrices exist for infinitely many values of $n$.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
math004
23 posts
#28
Y by
Part a) There is no silver matrix for odd $n$ :
Suppose for the sake of contradiction that such a matrix exists. For $i=1,2\dots n,$ list all the entries of the column $i$ and then all the entries of column $i.$

On one hand, for each $i,$ the list is exactly the elements of the set $S$ and one element repeated and that is the one in cell $(i,i)$ i.e on the diagonal. So in total there are exatcly $n$ copies of all the elements of $S$ plus one copy of the entries of the diagonal.

On the other hand, we can look at once at all the columns's entries listed and then at all the rows to see that each entry appeared twice. As there are $n$ cells on the diagonal, pick one element of $S$ that does not appear on the diagonal, it appeared an even number of times (twice the number of cells having that element as entry). However it appeared exactly $n$ times as element of $S$ for each $1\leq i\leq n$ and that is the contradiction.

Part b) An inductive construction for powers of two :
For the base case $n=1,2$ let $A_1=[1]$ and $A_2=\begin{pmatrix}
1 & 2 \\
2 & 3 
\end{pmatrix}.$
Now, inductively define $$A_{i+1}=\begin{pmatrix}
    A_i & B_i \\
    B_i & C_i
\end{pmatrix}$$Where $B_i$ is $A_i$ increased by $2^i$ and $C_i$ is the result of $A_i$ when you change all the entries of its digonal to $2^i.$
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
blueprimes
325 posts
#29
Y by
Easy, but cute problem :)

Throughout this proof, multiset addition refers to merging the sets' elements, and multiset multiplication is duplicating the set an integer number of times and merging them together.

(a) We prove the stronger claim that no silver matrix exists for any odd $n \ge 3$. For the sake of contradiction, assume such a matrix does exist. Let $M$ be the multiset of the matrix's elements, $r_i$ be the multiset of elements in the $i$-th row, $c_i$ be the multiset of elements in the $i$-th column, and $d_i$ be the element in the $i$-th row and $i$-th column. Then
\[ 2 \times M = \sum_{1 \le i \le n} (r_i + c_i) = n \times \{1, 2, \dots, 2n - 1 \} + \{d_1, d_2, \dots, d_n \}. \]Clearly the frequency of any integer $1 \le t \le 2n - 1$ is odd in $\{d_1, d_2, \dots d_n \}$, so each must appear at least once. But $n < 2n - 1$, so we reach a contradiction.

(b) We claim all $n = 2^k$ where $k$ is a nonnegative integer work. We induct, the $k = 0$ case is obvious. Now assume a silver matrix $M_k$ exists for $n = 2^k$. Let $A_k$ be an arbitrary matrix with rows being cyclic shifts of $\{2^{k + 1}, \dots, 2^{k + 1} + 2^k - 1 \}$, and $B_k $ be an arbitrary matrix with rows being cyclic shifts of $\{2^{k + 1} + 2^k, \dots, 2^{k + 2} - 1 \}$. Then the composite matrix
\[ M_{k + 1} = \begin{bmatrix} 
A_k & M_k \\ 
M_k & B_k
\end{bmatrix} \]is a silver matrix, completing the induction.
This post has been edited 2 times. Last edited by blueprimes, Mar 14, 2025, 5:52 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
gladIasked
632 posts
#30
Y by
(a) No silver matrices exist for odd $n>1$. Consider an integer $k\in S$. Note that $k$ must appear at least $\frac{n+1}2$ times in the matrix when $n$ is odd. However, $\frac{n+1}{2}\cdot (2n-1)=\frac{2n^2+n-1}{2}>n^2$ for $n>1$, a contradiction. Thus, no silver matrices exist for $n=1997$. $\blacksquare$

(b) I will show that a silver matrix exists for all $n=2^k$ with induction on $k$. The construction for $k=1$ is obvious:
$$\begin{pmatrix}
1 & 2\\
3 & 1
\end{pmatrix}.$$Let $M$ be our $2^k\times 2^k$ silver matrix (by the inductive hypothesis). It's easy to see that the construction $$\begin{pmatrix}
M & M+2^{k+1}-1\\
M+2^{k+1}-1 & M
\end{pmatrix},$$where the long diagonal going down and to the right in $M+2^{k+1}$ is adjusted to only contain $2^{k+2}-1$, works for $n=2^{k+1}$. $\blacksquare$
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
akliu
1764 posts
#31
Y by
Claim: All odd $n$ fail.

Proof:
There are $n$ "crosses" that each number from $1$ to $2n-1$ must be in. If $n$ is odd, that implies that a number must be on the diagonal an odd number of times, and on any other square an even number of times to cover all crosses exactly once. However, each number from $1$ to $2n-1$ must therefore cover at least $1$ square on the diagonal of the $n$-by-$n$ square. Since $2n-1 > n$, we have a contradiction. In particular, $|S| = 3993 > 1997$, giving us a contradiction for part (a). $\square$

Claim: There are infinitely many values of $n$ such that a silver matrix exists.

Proof:
We start using the matrix $\{ \{1, 3\}, \{2, 1\} \}$. By using matrices of size $n$, we construct matrices of size $2n$; using the starting matrix, we recursively create smaller matrices inside the larger one such that it uses numbers only from $1$ to $n-1$ (for the areas "marked" with a $1$), numbers only from $n$ to $\frac{3n}{2} - 1$ (for the areas "marked" with a $2$), and numbers from $\frac{3n}{2}$ to $2n-1$ (for the areas "marked" with a $3$). $\square$

(Post #14 on this thread states this process way more concretely than I did.)
Z K Y
N Quick Reply
G
H
=
a