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
hard problem
Cobedangiu   7
N 5 minutes ago by arqady
Let $a,b,c>0$ and $a+b+c=3$. Prove that:
$\dfrac{4}{a+b}+\dfrac{4}{b+c}+\dfrac{4}{c+a} \le \dfrac{1}{a}+\dfrac{1}{b}+\dfrac{1}{c}+3$
7 replies
Cobedangiu
Apr 21, 2025
arqady
5 minutes ago
Bounding number of solutions for floor function equation
Ciobi_   1
N 21 minutes ago by sarjinius
Source: Romania NMO 2025 9.3
Let $n \geq 2$ be a positive integer. Consider the following equation: \[ \{x\}+\{2x\}+ \dots + \{nx\} = \lfloor x \rfloor + \lfloor 2x \rfloor + \dots + \lfloor 2nx \rfloor\]a) For $n=2$, solve the given equation in $\mathbb{R}$.
b) Prove that, for any $n \geq 2$, the equation has at most $2$ real solutions.
1 reply
Ciobi_
Apr 2, 2025
sarjinius
21 minutes ago
nice system of equations
outback   4
N 33 minutes ago by Raj_singh1432
Solve in positive numbers the system

$ x_1+\frac{1}{x_2}=4, x_2+\frac{1}{x_3}=1, x_3+\frac{1}{x_4}=4, ..., x_{99}+\frac{1}{x_{100}}=4, x_{100}+\frac{1}{x_1}=1$
4 replies
outback
Oct 8, 2008
Raj_singh1432
33 minutes ago
Two circles, a tangent line and a parallel
Valentin Vornicu   103
N an hour ago by zuat.e
Source: IMO 2000, Problem 1, IMO Shortlist 2000, G2
Two circles $ G_1$ and $ G_2$ intersect at two points $ M$ and $ N$. Let $ AB$ be the line tangent to these circles at $ A$ and $ B$, respectively, so that $ M$ lies closer to $ AB$ than $ N$. Let $ CD$ be the line parallel to $ AB$ and passing through the point $ M$, with $ C$ on $ G_1$ and $ D$ on $ G_2$. Lines $ AC$ and $ BD$ meet at $ E$; lines $ AN$ and $ CD$ meet at $ P$; lines $ BN$ and $ CD$ meet at $ Q$. Show that $ EP = EQ$.
103 replies
Valentin Vornicu
Oct 24, 2005
zuat.e
an hour ago
Inequalities
idomybest   3
N an hour ago by damyan
Source: The Interesting Around Technical Analysis Three Variable Inequalities
The problem is in the attachment below.
3 replies
idomybest
Oct 15, 2021
damyan
an hour ago
Function on positive integers with two inputs
Assassino9931   2
N an hour ago by Assassino9931
Source: Bulgaria Winter Competition 2025 Problem 10.4
The function $f: \mathbb{Z}_{>0} \times \mathbb{Z}_{>0} \to \mathbb{Z}_{>0}$ is such that $f(a,b) + f(b,c) = f(ac, b^2) + 1$ for any positive integers $a,b,c$. Assume there exists a positive integer $n$ such that $f(n, m) \leq f(n, m + 1)$ for all positive integers $m$. Determine all possible values of $f(2025, 2025)$.
2 replies
Assassino9931
Jan 27, 2025
Assassino9931
an hour ago
Normal but good inequality
giangtruong13   4
N 2 hours ago by IceyCold
Source: From a province
Let $a,b,c> 0$ satisfy that $a+b+c=3abc$. Prove that: $$\sum_{cyc} \frac{ab}{3c+ab+abc} \geq \frac{3}{5} $$
4 replies
giangtruong13
Mar 31, 2025
IceyCold
2 hours ago
Tiling rectangle with smaller rectangles.
MarkBcc168   61
N 2 hours ago by YaoAOPS
Source: IMO Shortlist 2017 C1
A rectangle $\mathcal{R}$ with odd integer side lengths is divided into small rectangles with integer side lengths. Prove that there is at least one among the small rectangles whose distances from the four sides of $\mathcal{R}$ are either all odd or all even.

Proposed by Jeck Lim, Singapore
61 replies
MarkBcc168
Jul 10, 2018
YaoAOPS
2 hours ago
A magician has one hundred cards numbered 1 to 100
Valentin Vornicu   49
N 2 hours ago by YaoAOPS
Source: IMO 2000, Problem 4, IMO Shortlist 2000, C1
A magician has one hundred cards numbered 1 to 100. He puts them into three boxes, a red one, a white one and a blue one, so that each box contains at least one card. A member of the audience draws two cards from two different boxes and announces the sum of numbers on those cards. Given this information, the magician locates the box from which no card has been drawn.

How many ways are there to put the cards in the three boxes so that the trick works?
49 replies
Valentin Vornicu
Oct 24, 2005
YaoAOPS
2 hours ago
Nice inequality
sqing   2
N 2 hours ago by Seungjun_Lee
Source: WYX
Let $a_1,a_2,\cdots,a_n  (n\ge 2)$ be real numbers . Prove that : There exist positive integer $k\in \{1,2,\cdots,n\}$ such that $$\sum_{i=1}^{n}\{kx_i\}(1-\{kx_i\})<\frac{n-1}{6}.$$Where $\{x\}=x-\left \lfloor x \right \rfloor.$
2 replies
sqing
Apr 24, 2019
Seungjun_Lee
2 hours ago
Concurrency
Dadgarnia   27
N 2 hours ago by zuat.e
Source: Iranian TST 2020, second exam day 2, problem 4
Let $ABC$ be an isosceles triangle ($AB=AC$) with incenter $I$. Circle $\omega$ passes through $C$ and $I$ and is tangent to $AI$. $\omega$ intersects $AC$ and circumcircle of $ABC$ at $Q$ and $D$, respectively. Let $M$ be the midpoint of $AB$ and $N$ be the midpoint of $CQ$. Prove that $AD$, $MN$ and $BC$ are concurrent.

Proposed by Alireza Dadgarnia
27 replies
Dadgarnia
Mar 12, 2020
zuat.e
2 hours ago
nice geo
Melid   1
N 2 hours ago by Melid
Source: 2025 Japan Junior MO preliminary P9
Let ABCD be a cyclic quadrilateral, which is AB=7 and BC=6. Let E be a point on segment CD so that BE=9. Line BE and AD intersect at F. Suppose that A, D, and F lie in order. If AF=11 and DF:DE=7:6, find the length of segment CD.
1 reply
Melid
2 hours ago
Melid
2 hours ago
product of all integers of form i^3+1 is a perfect square
AlastorMoody   3
N 2 hours ago by Assassino9931
Source: Balkan MO ShortList 2009 N3
Determine all integers $1 \le m, 1 \le n \le 2009$, for which
\begin{align*} \prod_{i=1}^n \left( i^3 +1 \right) = m^2 \end{align*}
3 replies
AlastorMoody
Apr 6, 2020
Assassino9931
2 hours ago
IMO ShortList 1998, combinatorics theory problem 1
orl   44
N 3 hours ago by YaoAOPS
Source: IMO ShortList 1998, combinatorics theory problem 1
A rectangular array of numbers is given. In each row and each column, the sum of all numbers is an integer. Prove that each nonintegral number $x$ in the array can be changed into either $\lceil x\rceil $ or $\lfloor x\rfloor $ so that the row-sums and column-sums remain unchanged. (Note that $\lceil x\rceil $ is the least integer greater than or equal to $x$, while $\lfloor x\rfloor $ is the greatest integer less than or equal to $x$.)
44 replies
orl
Oct 22, 2004
YaoAOPS
3 hours ago
egmo 2018 p4
microsoft_office_word   28
N Apr 2, 2025 by akliu
Source: EGMO 2018 P4
A domino is a $ 1 \times 2 $ or $ 2 \times 1 $ tile.
Let $n \ge 3 $ be an integer. Dominoes are placed on an $n \times n$ board in such a way that each domino covers exactly two cells of the board, and dominoes do not overlap. The value of a row or column is the number of dominoes that cover at least one cell of this row or column. The configuration is called balanced if there exists some $k \ge 1 $ such that each row and each column has a value of $k$. Prove that a balanced configuration exists for every $n \ge 3 $, and find the minimum number of dominoes needed in such a configuration.
28 replies
microsoft_office_word
Apr 12, 2018
akliu
Apr 2, 2025
egmo 2018 p4
G H J
G H BBookmark kLocked kLocked NReply
Source: EGMO 2018 P4
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
microsoft_office_word
66 posts
#1 • 5 Y
Y by mkhayech, rashah76, itslumi, mathematicsy, Adventure10
A domino is a $ 1 \times 2 $ or $ 2 \times 1 $ tile.
Let $n \ge 3 $ be an integer. Dominoes are placed on an $n \times n$ board in such a way that each domino covers exactly two cells of the board, and dominoes do not overlap. The value of a row or column is the number of dominoes that cover at least one cell of this row or column. The configuration is called balanced if there exists some $k \ge 1 $ such that each row and each column has a value of $k$. Prove that a balanced configuration exists for every $n \ge 3 $, and find the minimum number of dominoes needed in such a configuration.
This post has been edited 3 times. Last edited by microsoft_office_word, Feb 18, 2020, 9:47 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
test20
988 posts
#2 • 2 Y
Y by Adventure10, Mango247
(1) If $n=3m$, then the smallest possible balance is $k=1$ and you need $2n/3$ dominoes.
(2) If $n$ is not a multiple of $3$, then the smallest possible balance is $k=3$ and you need $2n$ dominoes.

If every row and every column has value $k$, then the sum of all values (over all rows and all columns) is $S=2nk$.
On the other hand, every domino contributes exactly $3$ to the total sum $S$; hence if there are $d$ dominoes then $S=3d$.

This yields $S=2nk=3d$.
(1) If $n$ is a multiple of $3$, then $d=2nk/3\ge 2n/3$.
(2) If $n$ is not a multiple of $3$, then $d=2nk/3\ge 2n$.

For $n=3$, use the construction (x= empty spot):
xAA
Bxx
Bxx

(For $n$ a multiple of $3$, put copies of these 3x3 squares along the diagonal.)

For $n=4$, use the construction
AACD
BBCD
EFGG
EFHH

For $n=5$, use the construction
xAABC
DDxBC
ExFFG
ExHxG
IIHJJ

For $n=6$, use the construction
AAxxGH
BBxxGH
CCxxIJ
xxDDIJ
xxEEKL
xxFFKL

For $n=7$, use the construction

(For $n\ge8$ and not a multiple of $3$, put one copy of the 4x4, 5x5, 6x6, 7x7 square together with several copies of the 4x4 square along the diagonal.)
This post has been edited 3 times. Last edited by test20, Apr 12, 2018, 12:43 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
6874 posts
#3 • 4 Y
Y by v4913, palindrome868, Adventure10, Mango247
test20 wrote:
If $n=3m$, then the smallest possible balance is $k=2$ and you need $4n$/3 dominoes.

If $n$ is not a multiple of $3$, then the smallest possible balance is $k=3$ and you need $2n$ dominoes.

I think the answer for $3 \mid n$ should be $2n/3$, not $4n/3$, with $k=1$. Anyways, for both parts, we have $2nk = 3 \# \text{dominoes}$ which implies the right lower bounds.

Still trying to find the construction for $3 \nmid n$.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Snakes
10783 posts
#4 • 3 Y
Y by test20, Adventure10, Mango247
test20 wrote:
For $n=3$, use the construction (x= empty spot):
AAB
DxB
DCC
actually try
AAx
xxB
xxB
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
ioanandrei
8 posts
#5 • 2 Y
Y by test20, Adventure10
test20 wrote:
(1) If $n=3m$, then the smallest possible balance is $k=2$ and you need $2n/3$ dominoes.
(2) If $n$ is not a multiple of $3$, then the smallest possible balance is $k=3$ and you need $2n$ dominoes.

If every row and every column has value $k$, then the sum of all values (over all rows and all columns) is $S=2nk$.
On the other hand, every domino contributes exactly $3$ to the total sum $S$; hence if there are $d$ dominoes then $S=3d$.

This yields $S=2nk=3d$.
(1) If $n$ is a multiple of $3$, then $d=2nk/3\ge 2n/3$.
(2) If $n$ is not a multiple of $3$, then $d=2nk/3\ge 2n$.

For $n=3$, use the construction (x= empty spot):
AAB
DxB
DCC

(For $n$ a multiple of $3$, put copies of these 3x3 squares along the diagonal.)

For $n=4$, use the construction
AACD
BBCD
EFGG
EFHH

For $n=5$, use the construction
xAABC
DDxBC
ExFFG
ExHxG
IIHJJ

For $n=6$, use the construction
AAxxGH
BBxxGH
CCxxIJ
xxDDIJ
xxEEKL
xxFFKL

For $n=7$, use the construction

(For $n\ge8$ and not a multiple of $3$, put one copy of the 4x4, 5x5, 6x6, 7x7 square together with several copies of the 4x4 square along the diagonal.)

Here is the $n=7$ example:
AABB00C
0D00EEC
0DFF00G
H000K0G
H000KL0
MNN00L0
M00QQPP
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
cip999
3645 posts
#6 • 2 Y
Y by Adventure10, Mango247
Somewhat regular construction for $n = 7$: fill the topmost row and leftmost column, except for the top-left cell, with three dominoes each; divide the remaining $6 \times 6$ grid in four $3 \times 3$ subgrids and fill each of them with the $k = 1$ construction for $n = 3$.
This post has been edited 1 time. Last edited by cip999, Apr 12, 2018, 12:27 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Snakes
10783 posts
#7 • 2 Y
Y by Adventure10, Mango247
as long as we have construction for 4,5,6,7 we can:
  • for $n=6k+4$ (put k $6\times6$ squares and 1 $4\times4$ on the diagonal);
  • for $n=6k+7$ (similarly put k of $6\times 6$ and 1 of $7\times7$);
  • for $n=6k+5$ (k of $6\times 6$ and 1 of $5\times5$);
  • for $n=6k+8$ (k of $6\times6$ and 2 of $4\times4$ on the diagonal);
This post has been edited 2 times. Last edited by Snakes, Apr 12, 2018, 12:36 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
MarkBcc168
1595 posts
#8 • 3 Y
Y by richrow12, Adventure10, Mango247
The construction reminds me a recent APMO problem lol.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
WolfusA
1900 posts
#9 • 2 Y
Y by Adventure10, Mango247
This year APMO? Let's do not discuss it.
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
#10 • 2 Y
Y by Adventure10, Mango247
Construction for $n$ multiple of $3$ is easy, and here's my construction (generalizable easily) for $n=7$.
AABBCXX
XDDXCEX
XXFFXEG
HXXIIXG
HXXXJJK
LMXXXXK
LMXXXNN
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Naysh
2134 posts
#11 • 3 Y
Y by BobaFett101, Adventure10, Mango247
Solvent
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
sbealing
308 posts
#12 • 2 Y
Y by Adventure10, Mango247
Firstly by counting the sum of the values across all the rows and columns we see:
$$2nk=3d$$Where $d$ is the number of dominoes.

For $3 \vert n$ we show $k=1$ suffices with the follow construction using $\frac{2n}{3}$ dominoes:
https://image.ibb.co/evjcBn/n_3_6.png

For $3 \not \vert n$ we see $k\geq 3$ by divisibility. We show $k=3$ suffices. For $n=4,5,7$ we describe the construction explicitely:
https://image.ibb.co/cFBPrn/n_4.png https://image.ibb.co/iKTtj7/n_5.png
https://image.ibb.co/jhmqWn/n_7.png

Then for $n \geq 8$ we go by induction. If $n \equiv 2 \pmod{3}$ then we place a $4\text{x}4$ grid in the top-left corner and a $(n-4) \text{x} (n-4)$ grid in the bottom-right corner. We can do this as $3 \not \vert n-4$ and $n-4 \geq 4$. We see each row, column has value $3$ as desired.

If $n \equiv 1 \pmod{3}$ then we place a $5\text{x}5$ grid in the top-left corner and a $(n-5) \text{x} (n-5)$ grid in the bottom-right corner. We can do this as $3 \not \vert n-5$ and $n-5 \geq 5$ (as $n \geq 10$). We see each row, column has value $3$ as desired.

So we can construct the grid for all $n$.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
trumpeter
3332 posts
#13 • 5 Y
Y by rashah76, Mattthebat2569, Adventure10, Mango247, math_comb01
The answer is $\frac{2n}{3}$ if $3\mid n$ and $2n$ if else.

First, we prove that these are lower bounds. For each row or column, count the number of dominoes that lie on it. Because the configuration is balanced, this is $k$ for each row or column, so the total sum is $2nk$. Meanwhile, each domino is counted in this sum exactly $3$ times (once for the row/column which is is completely contained within, once each for the rows/columns which it only hits once), so the number of dominoes is $\frac{2nk}{3}$. When $3\mid n$, we have $k\geq1$ so $\frac{2nk}{3}\geq\frac{2n}{3}$. When $3\nmid n$, $k\geq3$ for divisibility, so $\frac{2nk}{3}\geq2n$.

Now, we construct these bounds. For $3\mid n$, do the following:
[asy]
size(6cm);
real d = 0.1;
int n = 6;
path rect(int a, int b, int x, int y)
{
return (a-1+d,b-1+d)--(x-d,b-1+d)--(x-d,y-d)--(a-1+d,y-d)--cycle;
}
for (int i = 0; i <= n; ++i)
{
draw((i,0)--(i,n));
draw((0,i)--(n,i));
}
fill(rect(1,4,1,5),red);
fill(rect(2,6,3,6),red);
fill(rect(4,1,4,2),red);
fill(rect(5,3,6,3),red);
[/asy]
(continued in a block-diagonal repetition of the formation $\frac{n}{3}$ times).

So it suffices to show that every $n\geq3$ not divisible by $3$ has a balanced configuration with $2n$ dominoes. We go further and show that every $n\geq4$ except $6$ has a balanced configuration with $2n$ dominoes (equivalently with $k=3$). First, let us construct it for $n=4,5,7$:

[asy]
size(4cm);
real d = 0.1;
int n = 4;
path rect(int a, int b, int x, int y)
{
return (a-1+d,b-1+d)--(x-d,b-1+d)--(x-d,y-d)--(a-1+d,y-d)--cycle;
}
for (int i = 0; i <= n; ++i)
{
draw((i,0)--(i,n));
draw((0,i)--(n,i));
}
fill(rect(1,1,1,2),red);
fill(rect(2,1,2,2),red);
fill(rect(1,3,2,3),red);
fill(rect(1,4,2,4),red);
fill(rect(3,1,4,1),red);
fill(rect(3,2,4,2),red);
fill(rect(3,3,3,4),red);
fill(rect(4,3,4,4),red);
[/asy]
[asy]
size(5cm);
real d = 0.1;
int n = 5;
path rect(int a, int b, int x, int y)
{
return (a-1+d,b-1+d)--(x-d,b-1+d)--(x-d,y-d)--(a-1+d,y-d)--cycle;
}
for (int i = 0; i <= n; ++i)
{
draw((i,0)--(i,n));
draw((0,i)--(n,i));
}
fill(rect(1,1,1,2),red);
fill(rect(1,3,1,4),red);
fill(rect(1,5,2,5),red);
fill(rect(2,2,3,2),red);
fill(rect(2,3,3,3),red);
fill(rect(3,1,4,1),red);
fill(rect(4,3,5,3),red);
fill(rect(4,4,4,5),red);
fill(rect(5,4,5,5),red);
fill(rect(5,1,5,2),red);
[/asy]
[asy]
size(7cm);
real d = 0.1;
int n = 7;
path rect(int a, int b, int x, int y)
{
return (a-1+d,b-1+d)--(x-d,b-1+d)--(x-d,y-d)--(a-1+d,y-d)--cycle;
}
for (int i = 0; i <= n; ++i)
{
draw((i,0)--(i,n));
draw((0,i)--(n,i));
}
fill(rect(1,2,1,3),red);
fill(rect(1,5,1,6),red);
fill(rect(1,7,2,7),red);
fill(rect(2,1,2,2),red);
fill(rect(2,4,2,5),red);
fill(rect(3,1,4,1),red);
fill(rect(3,4,4,4),red);
fill(rect(3,6,3,7),red);
fill(rect(4,5,5,5),red);
fill(rect(5,2,6,2),red);
fill(rect(5,3,5,4),red);
fill(rect(6,1,7,1),red);
fill(rect(6,3,7,3),red);
fill(rect(7,6,7,7),red);
[/asy]

Now, I claim that the set of $n$ that have a balanced configuration with $k=3$ is closed under addition. Indeed, if $n_1$ and $n_2$ have this property, then just construct $n_1+n_2$ by appending the construction for $n_2$ to that of $n_1$ in a block-diagonal fashion. As an example, here is the construction for $11=4+7$:

[asy]
size(11cm);
real d = 0.1;
int n = 11;
path rect(int a, int b, int x, int y)
{
return (a-1+d,b-1+d)--(x-d,b-1+d)--(x-d,y-d)--(a-1+d,y-d)--cycle;
}
for (int i = 0; i <= n; ++i)
{
draw((i,0)--(i,n));
draw((0,i)--(n,i));
}
fill(rect(1,8,1,9),red);
fill(rect(2,8,2,9),red);
fill(rect(1,10,2,10),red);
fill(rect(1,11,2,11),red);
fill(rect(3,8,4,8),red);
fill(rect(3,9,4,9),red);
fill(rect(3,10,3,11),red);
fill(rect(4,10,4,11),red);
fill(rect(5,2,5,3),red);
fill(rect(5,5,5,6),red);
fill(rect(5,7,6,7),red);
fill(rect(6,1,6,2),red);
fill(rect(6,4,6,5),red);
fill(rect(7,1,8,1),red);
fill(rect(7,4,8,4),red);
fill(rect(7,6,7,7),red);
fill(rect(8,5,9,5),red);
fill(rect(9,2,10,2),red);
fill(rect(9,3,9,4),red);
fill(rect(10,1,11,1),red);
fill(rect(10,3,11,3),red);
fill(rect(11,6,11,7),red);
[/asy]

This works because each of the first $n_1$ rows and columns still only have $3$ dominoes, and same with each of the last $n_2$ rows and columns.

Since $4$ and $5$ have this property, by the Chicken McNugget Theorem, all integers larger than $4\cdot5-4-5=11$ have this property. So it suffices to check $4,5,7,8,9,10,11$ have this property. We have already constructed $4,5,7$ and have $8=4+4,9=4+5,10=5+5,11=4+7$, so our claim is true.

So a construction for the lower bound provided exists and thus the minimum is indeed as claimed at the beginning.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
sa2001
281 posts
#14 • 3 Y
Y by paragdey01, Adventure10, Mango247
Nice problem.

We claim that such a construction always exists, and the minimum number of dominoes required is:
1. $2n/3$ if $3 | n$
2. $2n$ otherwise.

If we have a balanced configuration each for $a \times a$ and $b \times b$ boards such that both the configurations have the same value of $k$, then we have a balanced configuration of an $(a+b) \times (a+b)$ board with the same value of $k$. Place the dominoes according to the $a \times a$ balanced configuration in the square with opposite corners $(1,1)$ and $(a,a)$ and according to the $b \times b$ balanced configuration in the square with opposite corners $(a+1),(a+1)$ and $(a+b),(a+b)$, leaving the rest of the $(a+b) \times (a+b)$ board empty.

Constructions of balanced configurations for $n = 3$ with $k = 1$ and $n = 4, 5, 7$ with $k = 3$ are already given in the above solutions.
Using these constructions, we can construct balanced configurations with $k = 1$ if $3 | n$, and $k = 3$ otherwise.

Let us count the sum of the values of the rows and columns of a balanced $n \times n$ configuration in 2 ways. Let $m$ be the number of dominoes used in the configuration. Counting by row and column, the sum comes to be $2nk$, and counting by domino, as each domino contributes $3$ to the sum, the sum comes to be $3m$.
Thus, $3m = 2nk$.
1. If $3 | n$, the minimum values of $k$ is $1$. This gives minimum $m = 2n/3$.
2. Otherwise, as $3$ must divide the RHS, the minimum value of $k$ is $3$. This gives minimum $m = 2n$.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Steff9
58 posts
#15 • 2 Y
Y by Adventure10, Mango247
As previously stated:
test20 wrote:
If every row and every column has value $k$, then the sum of all values (over all rows and all columns) is $S=2nk$.
On the other hand, every domino contributes exactly $3$ to the total sum $S$; hence if there are $d$ dominoes then $S=3d$.

This yields $S=2nk=3d$.
(1) If $n$ is a multiple of $3$, then $d=2nk/3\ge 2n/3$.
(2) If $n$ is not a multiple of $3$, then $d=2nk/3\ge 2n$.

We proceed by showing that this minimum can be reached by constructing inductively for three separate cases as shown in the images below. For the cases where $n$ is not divisible by $3$, we always add two dominoes in the bottom-right $3\times 3$ square, and "move" (erase and duplicate) the dominoes from the top-right and bottom-left $3\times 3$ square from the previous step. (red domino: erased from previous step; green domino: added in this step)
1) n=3x
2) n=3x+1
3) n=3x+2
This post has been edited 1 time. Last edited by Steff9, Apr 17, 2018, 11:57 AM
Reason: typo
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
rocketscience
466 posts
#16 • 2 Y
Y by Adventure10, Mango247
Here is a solution with a different construction for $3 \nmid n$, which looks nice.

Let $d$ be the number of dominoes on the board.

Lemma 1: Any balanced domino configuration satisfies $2nk=3d$.

Proof: Consider the sum of the values of each row and column, which totals to $2nk$. Each domino on the board adds $3$ to this sum, so it must be equal to $3d$. $\square$

To minimize $d$ it suffices to minimize $k$.

We will first prove the cases $n=3$ and $n=4$. The former can be accomplished like so:
[asy]
size(2cm);
draw((0,0)--(3,0));
draw((0,1)--(3,1));
draw((0,2)--(3,2));
draw((0,3)--(3,3));

draw((0,0)--(0,3));
draw((1,0)--(1,3));
draw((2,0)--(2,3));
draw((3,0)--(3,3));

filldraw((0,2)--(0,3)--(2,3)--(2,2)--cycle, grey);
filldraw((2,0)--(3,0)--(3,2)--(2,2)--cycle, grey);
[/asy]
This is clearly the minimum valued tiling for $n=3$, with $k=1$. For future reference, call this specific $3\times 3$ sub-grid configuration good.

The $n=4$ case can be accomplished like so:
[asy]
size(2cm);
add(grid(4,4));
filldraw((0,0)--(1,0)--(1,2)--(0,2)--cycle,grey);
filldraw((1,0)--(2,0)--(2,2)--(1,2)--cycle,grey);
filldraw((2,2)--(3,2)--(3,4)--(2,4)--cycle,grey);
filldraw((3,2)--(4,2)--(4,4)--(3,4)--cycle,grey);

filldraw((0,2)--(2,2)--(2,3)--(0,3)--cycle,grey);
filldraw((0,3)--(2,3)--(2,4)--(0,4)--cycle,grey);
filldraw((2,0)--(4,0)--(4,1)--(2,1)--cycle,grey);
filldraw((2,1)--(4,1)--(4,2)--(2,2)--cycle,grey);
[/asy]
This is also the minimum valued tiling for $n=4$, with $k=3$. As Lemma 1 implies $3 \mid k$ for $n=4$, no smaller $k$ value exists. For future reference, call this specific $4\times 4$ tiling great.

We will split the rest into two cases: $3\mid n$ and $3\nmid n$.

If $3 \mid n$, I claim that a balanced configuration exists and has a minimum value of $k=1$, which gives $d=2n/3$. This is achieved by the following construction. Let $n=3m$. Reconsider the $n \times n$ board as an $m \times m$ board of $3 \times 3$ sub-grids. Then tile each of the $m$ sub-grids along the diagonal as good. It is easy to check that this construction satisfies the claim.

If $3 \nmid n$, I claim that a balanced configuration exists and has a minimum value of $k=3$, which gives $d=2n$. Note that if this is true, then it must be the minimum because Lemma 1 implies that $3 \mid k$. Again proceed constructively.

We will split this case this into two more cases, first proving the claim when $n$ is odd. Tile the central $3\times 3$ sub-grid as good and then split the rest of the grid into four quadrants, as shown (here is $n=11$, though clearly it is possible for any odd $n>3$).
[asy]
size(4cm);
add(grid(11,11));

filldraw((4,6)--(6,6)--(6,7)--(4,7)--cycle, grey);
filldraw((6,4)--(6,6)--(7,6)--(7,4)--cycle, grey);
draw((4,4)--(4,7)--(7,7)--(7,4)--cycle, linewidth(1.5));

draw((6,7)--(6,11),linewidth(1.5));
draw((7,5)--(11,5),linewidth(1.5));
draw((5,4)--(5,0),linewidth(1.5));
draw((4,6)--(0,6),linewidth(1.5));
[/asy]

Now tile the upper-left quadrant with $(n-1)/2$ dominoes like so: starting in the bottom left corner with a vertical domino, continuing to place dominoes in a staircase fashion until the top of the grid is reached, and finishing with a horizontal domino.

[asy]
size(4cm);
add(grid(11,11));

filldraw((4,6)--(6,6)--(6,7)--(4,7)--cycle, grey);
filldraw((6,4)--(6,6)--(7,6)--(7,4)--cycle, grey);
draw((4,4)--(4,7)--(7,7)--(7,4)--cycle, linewidth(1.5));

draw((6,7)--(6,11),linewidth(1.5));
draw((7,5)--(11,5),linewidth(1.5));
draw((5,4)--(5,0),linewidth(1.5));
draw((4,6)--(0,6),linewidth(1.5));

filldraw((0,6)--(1,6)--(1,8)--(0,8)--cycle, grey);
filldraw((1,7)--(2,7)--(2,9)--(1,9)--cycle, grey);
filldraw((2,8)--(3,8)--(3,10)--(2,10)--cycle, grey);
filldraw((3,9)--(4,9)--(4,11)--(3,11)--cycle, grey);
filldraw((4,10)--(6,10)--(6,11)--(4,11)--cycle,grey);

[/asy]
Rotate this quadrant about the center of the grid to obtain the tilings for each of the other quadrants. One can verify that this construction satisfies all of the claims. This proves the odd case.
[asy]
size(4cm);
add(grid(11,11));

filldraw((4,6)--(6,6)--(6,7)--(4,7)--cycle, grey);
filldraw((6,4)--(6,6)--(7,6)--(7,4)--cycle, grey);

filldraw((0,6)--(1,6)--(1,8)--(0,8)--cycle, grey);
filldraw((1,7)--(2,7)--(2,9)--(1,9)--cycle, grey);
filldraw((2,8)--(3,8)--(3,10)--(2,10)--cycle, grey);
filldraw((3,9)--(4,9)--(4,11)--(3,11)--cycle, grey);
filldraw((4,10)--(6,10)--(6,11)--(4,11)--cycle,grey);

filldraw((7,0)--(8,0)--(8,2)--(7,2)--cycle, grey);
filldraw((8,1)--(9,1)--(9,3)--(8,3)--cycle, grey);
filldraw((9,2)--(10,2)--(10,4)--(9,4)--cycle, grey);
filldraw((10,3)--(11,3)--(11,5)--(10,5)--cycle, grey);
filldraw((5,0)--(7,0)--(7,1)--(5,1)--cycle, grey);

filldraw((0,4)--(1,4)--(1,6)--(0,6)--cycle, grey);
filldraw((3,0)--(5,0)--(5,1)--(3,1)--cycle, grey);
filldraw((2,1)--(4,1)--(4,2)--(2,2)--cycle, grey);
filldraw((1,2)--(3,2)--(3,3)--(1,3)--cycle, grey);
filldraw((0,3)--(2,3)--(2,4)--(0,4)--cycle, grey);

filldraw((9,7)--(11,7)--(11,8)--(9,8)--cycle, grey);
filldraw((8,8)--(10,8)--(10,9)--(8,9)--cycle, grey);
filldraw((7,9)--(9,9)--(9,10)--(7,10)--cycle, grey);
filldraw((6,10)--(8,10)--(8,11)--(6,11)--cycle, grey);
filldraw((10,5)--(11,5)--(11,7)--(10,7)--cycle, grey);

draw((6,7)--(6,11),linewidth(1.5));
draw((7,5)--(11,5),linewidth(1.5));
draw((5,4)--(5,0),linewidth(1.5));
draw((4,6)--(0,6),linewidth(1.5));
draw((4,4)--(4,7)--(7,7)--(7,4)--cycle, linewidth(1.5));
[/asy]
Now, if $n$ is not odd, then let $2^j$ be the greatest power of two that divides $n$, and let $n=c\cdot 2^j$. Clearly $c$ is odd; if $c=1$, then $n$ is a power of two and we may reconsider it as a $2^{j-2}\times 2^{j-2}$ grid of $4\times 4$ sub-grids. Then, tiling so that each $4\times 4$ sub-grid on the diagonal is great, we arrive at the desired construction. If instead $c>1$, then we may view the grid as a $2^{j}\times 2^{j}$ grid of $c\times c$ sub-grids. As we have shown, it is possible to tile a $c\times c$ grid such that it is balanced and has value $3$. Doing so for each of the $c\times c$ sub-grids along the diagonal produces the desired minimal balanced configuration.

This exhausts all cases, so we conclude that $d=2n/3$ is the minimum for $3 \mid n$ and $d=2n$ is the minimum for $3 \nmid n$. $\blacksquare$
This post has been edited 5 times. Last edited by rocketscience, Feb 1, 2020, 3:25 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
CT17
1481 posts
#17
Y by
The key observation is that each tile contributes exactly $3$ to the sum of the values of all rows and column. Hence if there are $T$ tiles, we have $2nk = 3T\implies T = \frac{2}{3}nk$. Since this is an integer, we obtain a minimum of $k=1\implies T = \frac{2}{3}n$ when $n$ is a multiple of $3$ and $T = 3\implies k = 2n$ otherwise.

For $3 | n$, repeatedly concatenate the following construction for $n=3$ along the diagonal:

https://services.artofproblemsolving.com/download.php?id=YXR0YWNobWVudHMvMC9hLzE4MTA1ODU4MjU5MDMxYzY1OGNhYTUxMDUzZjk1ZjY4ODA5NDg3LmpwZw==&rn=My1jb25zdHJ1Y3Rpb24uSlBH

For $n$ not a multiple of $3$, consider the following constructions for $n=4,5,7$:

https://services.artofproblemsolving.com/download.php?id=YXR0YWNobWVudHMvMS8yL2I1MDFjNGUzMGI5Zjg4MDM1OTNhNjBlYTA4NjFhZmMwMTNhM2RhLmpwZw==&rn=NC1jb25zdHJ1Y3Rpb24uSlBH
https://services.artofproblemsolving.com/download.php?id=YXR0YWNobWVudHMvYi82L2M4NmRkZDY3NzQxYTZjN2VmZGFlYjUxOTMyY2EzOGQwMjMxMDliLmpwZw==&rn=NS1jb25zdHJ1Y3Rpb24uSlBH
https://services.artofproblemsolving.com/download.php?id=YXR0YWNobWVudHMvZS8yLzhlNWI1OGM0NGI3NmE4ZjkzNjA4ODU5NGZkZTI3OTNkMTgwN2EwLmpwZw==&rn=Ny1jb25zdHJ1Y3Rpb24uSlBH

Since $8=4+4$, $10=5+5$, and $11=4+7$, by the Chicken McNugget Theorem we can form a valid construction for all $n$ that is not a multiple of $3$ by concatenating copies of the above three constructions along the diagonal.
This post has been edited 1 time. Last edited by CT17, Dec 18, 2021, 4:30 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
ilikemath40
500 posts
#18 • 1 Y
Y by centslordm
My most intense write-up to date. Took me around a hour and a half. :pilot:

We will claim that the minimum number of dominoes needed for a balanced configuration is
\[
    \begin{cases}
        \frac{2n}{3} &\text{for } n\equiv 0\pmod{3} \\
        2n &\text{for } n\not\equiv 0\pmod{3}
    \end{cases}
\]

It is easy to see that if $n=3$ then the configuration is possible with the value being $k=1$. Then if $3\mid n$ we can string together $\frac{n}{3}$ of these $3\times 3$ grids along the diagonal.

[asy]
size(5cm);
int n = 3;
real d = 0.1;
path rect(int a, int b, int x, int y)
{
return (a+d,b+d)--(x-d,b+d)--(x-d,y-d)--(a+d,y-d)--cycle;
}
for (int i = 0; i <= n; ++i)
{
draw((i,0)--(i,n));
draw((0,i)--(n,i));
}
fill(rect(0, 0, 1, 2), black);
fill(rect(1, 2, 3, 3), black);
[/asy]

This is when $n=3$ and when $n=6$ it would look something like

[asy]
size(5cm);
int n = 6;
real d = 0.1;
path rect(int a, int b, int x, int y)
{
return (a+d,b+d)--(x-d,b+d)--(x-d,y-d)--(a+d,y-d)--cycle;
}
for (int i = 0; i <= n; ++i)
{
draw((i,0)--(i,n));
draw((0,i)--(n,i));
}
fill(rect(0, 3, 1, 5), black);
fill(rect(1, 5, 3, 6), black);
fill(rect(3, 0, 4, 2), black);
fill(rect(4, 2, 6, 3), black);
[/asy]

Notice that when $n=4$ the configuration will look like

[asy]
size(5cm);
int n = 4;
real d = 0.1;
path rect(int a, int b, int x, int y)
{
return (a+d,b+d)--(x-d,b+d)--(x-d,y-d)--(a+d,y-d)--cycle;
}
for (int i = 0; i <= n; ++i)
{
draw((i,0)--(i,n));
draw((0,i)--(n,i));
}
fill(rect(0, 2, 1, 4), black);
fill(rect(1, 2, 2, 4), black);
fill(rect(2, 3, 4, 4), black);
fill(rect(2, 2, 4, 3), black);
fill(rect(0, 0, 2, 1), black);
fill(rect(0, 1, 2, 2), black);
fill(rect(2, 0, 3, 2), black);
fill(rect(3, 0, 4, 2), black);
[/asy]

Claim 1. A configuration is achievable for all the primes.

Proof. We will use induction to prove this. The base cases are $n=3, 4, 5, 7$. We have already proved $n=3, 4$. It remains to prove for $n=5, 7$. For $n=5$, we can have

[asy]
size(5cm);
int n = 5;
real d = 0.1;
path rect(int a, int b, int x, int y)
{
return (a+d,b+d)--(x-d,b+d)--(x-d,y-d)--(a+d,y-d)--cycle;
}
for (int i = 0; i <= n; ++i)
{
draw((i,0)--(i,n));
draw((0,i)--(n,i));
}
fill(rect(0, 0, 1, 2), black);
fill(rect(0, 2, 2, 3), black);
fill(rect(0, 3, 1, 5), black);
fill(rect(1, 4, 3, 5), black);
fill(rect(1, 0, 3, 1), black);
fill(rect(2, 2, 3, 4), black);
fill(rect(3, 1, 4, 3), black);
fill(rect(3, 3, 5, 4), black);
fill(rect(3, 4, 5, 5), black);
fill(rect(4, 0, 5, 2), black);
[/asy]

For $n=7$ we have

[asy]
size(5cm);
int n = 7;
real d = 0.1;
path rect(int a, int b, int x, int y)
{
return (a+d,b+d)--(x-d,b+d)--(x-d,y-d)--(a+d,y-d)--cycle;
}
for (int i = 0; i <= n; ++i)
{
draw((i,0)--(i,n));
draw((0,i)--(n,i));
}
fill(rect(0, 0, 2, 1), black);
fill(rect(0, 1, 2, 2), black);
fill(rect(0, 6, 2, 7), black);
fill(rect(2, 0, 4, 1), black);
fill(rect(2, 2, 3, 4), black);
fill(rect(2, 4, 3, 6), black);
fill(rect(4, 0, 6, 1), black);
fill(rect(5, 1, 6, 3), black);
fill(rect(5, 5, 6, 7), black);
fill(rect(6, 1, 7, 3), black);
fill(rect(6, 3, 7, 5), black);
fill(rect(6, 5, 7, 7), black);
fill(rect(3, 3, 5, 4), black);
fill(rect(3, 4, 5, 5), black);
[/asy]

Notice that in each of these configurations, the value is $k=3$.

Now in order to prove for the primes, let $p$ be the prime that we are trying to reach a construction for and let two numbers $a$ and $b$ such that $a+b=p$ and $3\nmid a, b$. If $p>7$ it is easy to see that such $a$ and $b$ exist. For example it is easy to see that one of the pairs $(4, p-4), (5, p-5)$ works. Then we can string together the $a\times a$ board and the $b\times b$ board along the diagonal and we would have a valid configuration. $\blacksquare$


Claim 2. All composite $n$ work as well.

Proof. Since all prime $n$ work, if $n>6$ is composite, then we can pick some $p>2$ such that $p\mid n$ and string together $p\times p$ boards along the diagonal. $\blacksquare$

Now to prove that this is the minimum possible value of a balanced configuration, the following lemma is presented.

Lemma 1. $3\mid 2kn$.

Proof. If we consider the sum of all the values of the rows and columns, then every time we add a domino it will increase this sum by exactly $3$. Thus we must have $3\mid 2kn$. $\blacksquare$

Using this lemma we can prove that when $n=4$ this is the minimum value satisfying this configuration. If $n\equiv 0\pmod{3}$ it is easy to see that $k=1$ is the minimum and since this is acheivable, we are done for this case. It is easy to see that we must need $\frac{2n}{3}$ dominoes for $3\mid n$. If $n\not\equiv 0\pmod{3}$ then notice that the minimum $k$ is $k=3$ but since we are stringing together two boards that both have value of $3$ and since they're on the diagonals, the value of the final board will also have a value of $3$. Then the dominoes needed is $2n$. $\blacksquare$
This post has been edited 1 time. Last edited by ilikemath40, Dec 31, 2021, 8:18 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
itslumi
284 posts
#19 • 1 Y
Y by Mango247
Steff9 wrote:
As previously stated:
test20 wrote:
If every row and every column has value $k$, then the sum of all values (over all rows and all columns) is $S=2nk$.
On the other hand, every domino contributes exactly $3$ to the total sum $S$; hence if there are $d$ dominoes then $S=3d$.

This yields $S=2nk=3d$.
(1) If $n$ is a multiple of $3$, then $d=2nk/3\ge 2n/3$.
(2) If $n$ is not a multiple of $3$, then $d=2nk/3\ge 2n$.

We proceed by showing that this minimum can be reached by constructing inductively for three separate cases as shown in the images below. For the cases where $n$ is not divisible by $3$, we always add two dominoes in the bottom-right $3\times 3$ square, and "move" (erase and duplicate) the dominoes from the top-right and bottom-left $3\times 3$ square from the previous step. (red domino: erased from previous step; green domino: added in this step)
1) n=3x
2) n=3x+1
3) n=3x+2

I think your construction for $n=10$ is wrong, clearly the value of some rows is 4 and some others 3
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
HamstPan38825
8857 posts
#20 • 1 Y
Y by centslordm
The answer is $\frac{2n}3$ dominoes if $3 \mid n$, and $2n$ dominoes otherwise.

First, we prove that this is the minimum. Suppose that there are $i$ dominoes on the board; then, double counting pairs $(r, d)$ where $r$ is a row or column and $d$ covers some square in $r$, we have $$2nk = 3i \implies i = \frac{2nk}3.$$For this to be a positive integer, we clearly have the above constraints on $k$ and thus constraints on $i$.

To show that this is constructible, first check that $n=3$ through $n=7$ are constructible. Then, we proceed with induction. If $3 \mid n$, consider the top-left $3a \times 3a$ grid and bottom-right $3a \times 3b$ grid of the $n \times n$ grid, where $a+b=\frac n3$. By constructing valid tilings with $\frac{2a}3$ dominoes in the top-left and $\frac{2b}3$ dominoes in the top right, we can guarantee a consistent $k$-value in the $n \times n$ grid. Furthermore, such $a, b$ always exist due to our base cases.

If $3 \nmid n$, we can do something similar, where we divide into an $a \times a$ and a $b \times b$ grid where $3 \nmid a$ and $3 \nmid b$ and $a+b=n$. For similar reasons, this yields a valid tiling, so 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.
bryanguo
1032 posts
#21 • 2 Y
Y by centslordm, Jndd
this one definitely deserves a post
The answer is $d=\tfrac{2n}{3}$ for $3 \mid n$ and $d=2n$ otherwise, where $d$ is the number of dominoes.

We first prove these are lower bounds. Each balanced configuration has value $k$ on each of its $n$ rows, and similarly its columns, so this gives a total sum of $2nk$ dominoes. But each domino is counted three times (once for the row or column it is entirely contained in, and once for each of the row or columns only one of its cells are contained in). Thus, for a balanced construction with value $k,$ there are $d=\tfrac{2nk}{3}$ dominoes.

When $3 \mid n,$ the smallest $k$ such that $d$ is an integer is $k=1,$ giving a lower bound of $d=\tfrac{2n}{3}$ in this case. If $3 \nmid n,$ the smallest $k$ such that $d$ is an integer is $k=3,$ giving a lower bound of $d = 2n$ in this case.

We now prove these are upper bounds. First consider $3 \mid n.$ Observe the below obvious configuration for $n=3:$
[asy]
import olympiad;
unitsize(20);
real d = 0.1;
path r(int a, int b, int x, int y)
{
return (a-1+d,b-1+d)--(x-d,b-1+d)--(x-d,y-d)--(a-1+d,y-d)--cycle;
}
    for (int i = 0; i <= 3; ++i)
{
draw((0,i)--(3,i));
draw((i,0)--(i,3));
}
fill(r(1,2,1,3));
fill(r(2,1,3,1));
[/asy]
Proceed by induction. Assume $n=3m$ has a valid configuration of $k=1$ using $\tfrac{2m}{3}$ dominoes. Extend the $3m \times 3m$ board into a $3m+3 \times 3m+3$ board by constructing $3$ columns to the left of the leftmost column, and $3$ rows below the bottommost row. Tile the remaining $3 \times 3$ square with the above construction for $n=3.$ This gives a working construction using $\tfrac{2m+6}{3}$ dominoes for $n=3m+3,$ completing the induction.

Now consider when $3 \nmid n.$ Observe the below configurations for $n=4,5,$ and $7.$
[asy]
    import olympiad;
unitsize(18);
real d = 0.1;
path r(int a, int b, int x, int y)
{
return (a-1+d,b-1+d)--(x-d,b-1+d)--(x-d,y-d)--(a-1+d,y-d)--cycle;
}
for (int i = 0; i <= 4; ++i)
{
draw((0,i)--(4,i));
draw((i,0)--(i,4));
}
fill(r(1,4,2,4));
fill(r(1,3,2,3));
fill(r(1,1,1,2));
fill(r(2,1,2,2));
fill(r(3,3,3,4));
fill(r(4,3,4,4));
fill(r(3,2,4,2));
fill(r(3,1,4,1));
[/asy]
[asy]
    import olympiad;
    unitsize(18);
real d = 0.1;
path r(int a, int b, int x, int y)
{
return (a-1+d,b-1+d)--(x-d,b-1+d)--(x-d,y-d)--(a-1+d,y-d)--cycle;
}
for (int i = 0; i <= 5; ++i)
{
draw((0,i)--(5,i));
draw((i,0)--(i,5));
}
fill(r(1,1,1,2));
fill(r(1,3,2,3));
fill(r(3,2,3,3));
fill(r(2,1,3,1));
fill(r(1,4,1,5));
fill(r(2,4,2,5));
fill(r(3,4,3,5));
fill(r(4,1,5,1));
fill(r(4,2,5,2));
fill(r(4,3,5,3));
[/asy]
[asy]
        import olympiad;
unitsize(18);
real d = 0.1;
path r(int a, int b, int x, int y)
{
return (a-1+d,b-1+d)--(x-d,b-1+d)--(x-d,y-d)--(a-1+d,y-d)--cycle;
}
for (int i = 0; i <= 7; ++i)
{
draw((0,i)--(7,i));
draw((i,0)--(i,7));
}  
fill(r(1,1,2,1));
fill(r(1,2,1,3));
fill(r(1,4,1,5));
fill(r(3,1,4,1));
fill(r(5,1,5,2));
fill(r(5,3,5,4));
fill(r(4,5,5,5));
fill(r(2,5,3,5));
fill(r(2,6,2,7));
fill(r(3,6,3,7));
fill(r(4,6,4,7));
fill(r(6,2,7,2));
fill(r(6,3,7,3));
fill(r(6,4,7,4));
[/asy]
In each of these configurations, $k=3,$ and $d=2n.$ Observe that given two constructions of $k_1$ and $k_2,$ with $d=2k_1$ and $d=2k_2$ respectively, appending them in a diagonal block fashion creates a valid construction for $k_1+k_2$ with $d=2k_1+2k_2.$ By the Chicken McNugget theorem, the largest number that cannot be expressed as a linear combination of $4$ and $5$ is $4(5)-4-5=11.$ It remains to check valid configurations with $d=2n$ exist for $n=8,9,10,11.$ But observe $8=4+4, 9=4+5, 10=5+5,11=4+7,$ completing the proof.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Jndd
1416 posts
#22
Y by
The answer is $\frac{2n}{3}$ for $3\mid n$ and $2n$ for $3\nmid n$, so let's prove it.

First, we notice that there are two ways of counting the total value of the board. Each of the $2n$ rows and columns have $k$ value each, so the total value is $2nk$. Also, each domino adds $3$ to the total value of the board, giving $3d$ total value, where $d$ is the number of dominoes. So, we have $2nk=3d$, meaning the minimum value of $d$ is $\frac{2n}{3}$ with $k=1$ for $3\mid n$ and $2n$ for $3\nmid n$ with $k=3$.

We now prove that there is a construction for each $n\geq 3$ that satisfies that. First, we look at the $3\mid n$ case. For a $3\times 3$ grid, we have this construction.
https://cdn.discordapp.com/attachments/889776741348950049/1139943955220406302/3_by_3_construction.png

When $n=3x$ for some positive integer $x$, we can put $x$ of those $3\times 3$ grids along the diagonal of the $3x\times 3x$ grid such that no two cells of distinct $3\times 3$ grids are a part of the same row or column.

Now, when $3\nmid n$, we see that we can find constructions for $n=4,5,7$.
https://cdn.discordapp.com/attachments/889776741348950049/1139944037005148180/egmo2018p4.png

For $n>11$, by the Chicken McNugget Theorem, we can always find some $a,b\in\mathbb{Z}^+$ such that $4a+5b=n$, so we can place $a$ of our $n=4$ constructions, and $b$ of our $n=5$ constructions along the diagonal so that no two cells of distinct $4\times 4$ or $5\times 5$ grids are a part of the same row or column.

Now we take care of the cases where $n\leq 11$ and $3\nmid n$. If $n=11$, we use an $n=4$ grid and an $n=7$ grid along the diagonal, because $11=4+7$. Similarly, we have $10=5+5$ and $8=4+4$. Since we have taken care of all cases, we're done.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
peace09
5417 posts
#23
Y by
Click to reveal hidden text
Attachments:
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
probably wrong sol
This post has been edited 1 time. Last edited by pinkpig, Nov 14, 2023, 11:51 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
shendrew7
794 posts
#25
Y by
Double-counting the total sum of the value of each row and column, we get the equation
\[(2n) \cdot k = 3 \cdot d \implies k = \frac{3d}{2n}.\]
We claim the optimal configuration is simply the least possible positive integer solution to this, or
\[\boxed{\begin{cases} k=1, \quad d=\frac{2n}{3} & \text{ if } 3 \mid n \\ k=3, \quad d=2n & \text{ if } 3 \nmid n \end{cases}}\]
Use induction. We can easily bash out the base cases $n=3,4,5,7$. We finish by using the following algorithm by assigning configurations to squares $A$ and $B$ while leaving the rest of the board blank.
  • $n \equiv 0 \pmod 3$: $A=3$, $B=n-3$
  • $n \equiv 1 \pmod 3$: $A=5$, $B=n-5$
  • $n \equiv 2 \pmod 3$: $A=4$, $B=n-4$

Our inductive hypothesis tells us these smaller squares have share the same $k$ value, and thus our new construction also has this value. $\blacksquare$

[asy]
size(100);
draw((0,0)--(1,0)--(1,1)--(0,1)--cycle);
draw((.3,0)--(.3,1)^^(0,.7)--(1,.7));
label("$A$", (.15,.85), 0*dir(0));
label("$B$", (.65,.35), 0*dir(0));
[/asy]
This post has been edited 1 time. Last edited by shendrew7, Dec 22, 2023, 1:31 AM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Markas
105 posts
#26
Y by
Let d be the number of dominoes. Now 2.n.k = 3d, since we double-count the total sum of the value of each row and column $\Rightarrow$ $d = \frac{2nk}{3}$. We want d to be minimal $\Rightarrow$ we want k to be minimal.

Now since d is an integer, we know $3 \mid 2nk$.

Case 1: $3 \mid n$

d will be minimal if k = 1. For n = 3, we get an easy example for k = 1. Now for every $n = 3n_1$, we can divide the table into 3x3 squares and we should use the example for 3x3 table and copy it into the diagonal cells of the bigger table. $\Rightarrow$ for $3 \mid n$, we always have a working configuration and $d_{min}$ = $\frac{2n}{3}$.

Case 2: $3 \nmid n$

Now if $3 \nmid n$, then since $3 \mid 2nk$, it follows that $3 \mid k$ $\Rightarrow$ $k \geq 3$. d will be minimal if k = 3, then d = 2n. We will prove that for every such n, we have a working configuration. For n = 4 and n = 5, we can find an easy example. Doing the diagonal trick for table with side $n_1 + n_2$, dividing it into smaller tables with $d = 2n_1$ and $d = 2n_2$, we get new $n_1 + n_2$ that works. We know that n = 4 and n = 5 work $\Rightarrow$ n = 8, 9, 10 work. If we find that n = 7 work, we basically find out that every n works, since we have 4 consecutive integers that work and we can just add 4 to each of them and get more new working integers, since n = 4 works. We can easily find a working example for n = 7 $\Rightarrow$ for every n, where $3 \nmid n$, $d_{min} = 2n.$

In conclusion for every n, there exists a working configuration. For n, such that $3 \mid n$, $d_{min} = \frac{2n}{3}$. For n, $3 \nmid n$, $d_{min} = 2n.$
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
de-Kirschbaum
196 posts
#27
Y by
Let $d$ be the number of dominoes. Note that each domino contributes 3 total to the sum of all $k$ over all rows and all columns (2 to rows and 1 to columns or vice versa). Thus, we have that $3d=2nk \implies d=\frac{2nk}{3}$. When $3 \mid n$ the minimal $d$ is $\frac{2n}{3}$ with $k=1$ and when $3 \nmid n$ the minimal $d$ is $2n$ with $k=3$. We can now construct to prove that these are actually all achievable.

If $3 \mid n$ then we can just zig zag across the diagonal and it is easy to verify that this satisfies all the conditions. If $3 \nmid n$ then we can construct for $n=4,5,7$ and then string any combination of them together along the diagonal form a $k=3$ grid for any $n>7$. This can be proven by induction.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
gladIasked
648 posts
#28
Y by
When $n\equiv 0\pmod 3$, the answer is $\frac {2n}3$. When $n\not\equiv 0\pmod 3$, the answer is $2n$.

Let $S$ be the sum of all the values in the columns and rows. Each domino contributes exactly $3$ to $S$, so the total number of dominoes is $\frac S3$. Also, note that $S=2nk$. We clearly have a lower bound of $\frac{2n}3$ when $k=1$; if $n\equiv 0\pmod 3$, this is actually achievable by taking the following construction ($n=6$):
[asy]
    size(3cm); // Default size you prefer

void drawGrid(int n) {
    for (int i = 0; i <= n; ++i) {
        draw((0, i) -- (n, i), gray); // Horizontal lines
        draw((i, 0) -- (i, n), gray); // Vertical lines
    }
}

void highlightDomino(pair p, bool vertical=false) {
    path domino;
    if (vertical)
        domino = p -- (p + (0,2)) -- (p + (1,2)) -- (p + (1,0)) -- cycle;
    else
        domino = p -- (p + (2,0)) -- (p + (2,1)) -- (p + (0,1)) -- cycle;

    fill(domino, lightblue);
    draw(domino, blue);
}

// Draw the grid
drawGrid(6);

// Highlight dominos forming a stair-step pattern
highlightDomino((0,5));
highlightDomino((3,2));

highlightDomino((2,3), true);
highlightDomino((5,0), true);
[/asy]
However, when $n\not\equiv 0\pmod 3$, $\frac{2nk}3$ is an integer iff $k\equiv 0\pmod 3$. Thus, $\frac S3\ge 2n$. We can manually find constructions that produce the bound $2n$ for $n=4, 5, 7$ — from here, we can recursively generate boards with $n>7$ by ``gluing" together smaller boards at their corners (forming a long diagonal of boards).

We generate a valid $8\times 8$ board with two $4\times 4$ boards, a valid $10\times 10$ board with two $5\times 5$ boards, and a valid $11\times 11$ board with a $4\times 4$ board and a $7\times 7$ board. The Chicken McNugget Theorem tells us that every integer greater than $11$ can be represented as $4x+5y$ for some nonnegative integers $x$ and $y$, so we're done.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
akliu
1795 posts
#29
Y by
We can "globally" find the minimum number of dominoes for each value $n$. There are $\frac{2n}{3} \cdot k$ dominoes if we count by row and column across all rows and columns. If $3 | n$, that means that there would be a minimum bound of $\frac{2n}{3}$ dominoes on the board, but if $3 \nmid n$, we would have a minimum of $2n$ for $k = 3$.

We can recursively add the configuration for $n = 4$ onto the $k=3$ configurations for $n = 5$, $n = 6$, $n=7$, and $n=8$ (which exists by just combining two $n=4$ configurations) to attain a valid configuration of $2n$ dominoes for all $n \geq 4$. For $n = 3$, we can also recursively add the configuration onto itself as many times as we want, attaining our minimum for all $3 \mid n$.

Note that the reason we can't just append the $n=3$ case onto the $n=4$ case is because they both use different values of $k$!
Z K Y
N Quick Reply
G
H
=
a