User:Crazyvideogamez

Revision as of 17:26, 3 October 2024 by Crazyvideogamez (talk | contribs)

AOPS Contributions

AMC

  1. 2019 AMC 10B Problems/Problem 18 Solution 5 (Combinatorics)
  2. 2020 AMC 10A Problems/Problem 24 Solution 12 (Number Theory)
  3. 2019 AMC 10B Problems/Problem 25 Solution 1 (Combinatorics)
  4. 2021 Fall AMC 12A Problems/Problem 20 Solution 2 (Number Theory)
  5. 2021 Fall AMC 12A Problems/Problem 23 Solution 2.5 (Algebra)
  1. [

AIME

  1. 2011 AIME II Problems/Problem 8 Solution $1.\overline{6}$ (Algebra)
  2. 2017 AIME II Problems/Problem 14 Solution 4 (Combinatorics)
  3. 2000 AIME I Problems/Problem 15 Solution 3 (Combinatorics)
  4. 2018 AIME II Problems/Problem 11 Solution 3 (Recursion) (Combinatorics)
  5. 2018 AIME II Problems/Problem 12 Solution 11 (Geometry)
  6. 2018 AIME II Problems/Problem 13 Markov Chain Diagram (Combinatorics)
  7. 2018 AIME I Problems/Problem 12 Solution 3 (Triple Vandermonde's) (Combinatorics)
  8. 2018 AIME I Problems/Problem 12 Solution 4 (Symmetry) (Combinatorics)
  9. 2019 AIME I Problems/Problem 15 Solution 8 (Geometry)
  10. 2022 AIME II Problems/Problem 11 Solution 5 (incircle) (Geometry)
  11. 2017 AMC 12B Problems/Problem 23 Solution 3 (Algebra)
  12. 2017 AMC 12B Problems/Problem 25 Solution 1.5 (Combinatorics)

Problems that I enjoyed solving

Problem

Let $k$ be a positive integer. Prove that there are exactly $k$ ordered pairs $(x, y)$ of nonnegative integers that satisfy any one of the following equations:

x+3y=2k1,3x+5y=2k3,(2k1)x+(2k+1)y=1.

(Source: Mandelbrot)

My Solution

First, allow us to prove that none of these equations share a solution. Let $i$ and $j$ be any integer from $1$ to $k$. Then, we solve

(2i1)x+(2i+1)y=2k2i+1(2i1)(x+1)+(2i+1)y=2k(2j1)x+(2j+1)y=2k2j+1(2j1)(x+1)+(2j+1)y=2kSubtracting the two equations, we get(2i2j)(x+1)+(2i2j)y=0x+y+1=0x+y=1

This clearly has no solutions in nonnegative integers. Therefore, each solution each equation provides is guaranteed to be distinct from one another without any overcounting.

Next, let us represent the number of solutions to each equation as a generating function. The equation

(2i1)(x+1)+(2i+1)y=2k

represents a sum of multiples of $2i-1$ and $2i+1$ equaling $2k$. So, we can represent it as so:

(m2i1+m2(2i1)+m3(2i1))(1+m2i+1+m2(2i+1))m2i11m2i111m2i+1

where the number of solutions is the coefficient of $m^{2k}$.

Then, to find the total number of solutions, we sum each of the generating functions corresponding to each equation and derive the coefficient of $m^{2k}$.

i=1km2i11m2i111m2i+1=i=1km2i1(11m2i111m2i+1)=i=1km2i11m2(11m2i1m21m2i+1)=11m2i=1km2i11m2i1m2i+11m2i+1

Let $n = 1/m$. Then, we have

11m2i=1km2i11m2i1m2i+11m2i+1=11m2i=1k11m2i1111m2i+11=11m2i=1k1n2i111n2i+11

Notice that

i=1k1n2i111n2i+11=1n11n31+1n311n51++1n2k111n2k+11=1n11n2k+11

Via the factorization $n^{2k+1} - 1 = (n - 1)(n^{2k} + n^{2k-1} + \ldots + 1)$, we obtain

n2k+n2k1++11n2k+11=n2k+n2k1++nn2k+11=m2k+1(n2k+n2k1++n)m2k+1(n2k+11)=m+m2++m2k1m2k+1

Returning to our original expression, we have

11m2i=1k1n2i111n2i+11=11m2m+m2++m2k1m2k+1

Expanding the infinite geometric series, we see that

11m2k+1=1+m2k+1+m2(2k+1)+11m2=1+m2+m4+m6+

To find the coefficient of $m^{2k}$, we can ignore all the powers of $m$ in $\frac{1}{1-m^{2k+1}}$ since they are all above $2k$. Thus, we must only find the coefficient of $m^{2k}$ in the expression

(m+m2++m2k)(1+m2+m4+m6+)

Each $m^{2k} \cdot 1, m^{2k - 2} \cdot m^2, m^{2k-4} \cdot m^4, \cdots, m^{2} \cdot m^{2k-2}$ (first power of $m$ originating from the first series, second power of $m$ originating from the infinite geometric series) contribute one factor of $m^{2k}$. There are $k$ of these factors. Therefore, there are exactly $\boxed{k}$ ordered pairs of $(x, y)$ satisfying any of the equations listed in the problem.