Maths Olympiad Prep

Track / Stage 7 / 41 of 300 #1441 of 1964

Problem 1441

National olympiad second round; IMO P1/P4
Number theory Difficulty 7.1 Find the answer

A rectangle can be divided into nn equal squares. The same rectangle can also be divided into n+76n+76 equal squares. Find nn.

A number or a short expression. Fractions can be typed as 3/2, and spacing doesn't matter.

Official solution

1. Let the sides of the rectangle be aa and bb. The area of the rectangle is abab.
2. The rectangle can be divided into nn equal squares, so the side length of each square is abn\sqrt{\frac{ab}{n}}.
3. The same rectangle can also be divided into n+76n+76 equal squares, so the side length of each square is abn+76\sqrt{\frac{ab}{n+76}}.
4. The ratio of the side lengths of the squares must be rational, say pq\frac{p}{q}, where pp and qq are coprime integers. Therefore, we have:
abnabn+76=pq \frac{\sqrt{\frac{ab}{n}}}{\sqrt{\frac{ab}{n+76}}} = \frac{p}{q}
5. Squaring both sides, we get:
abnabn+76=(pq)2 \frac{\frac{ab}{n}}{\frac{ab}{n+76}} = \left(\frac{p}{q}\right)^2
6. Simplifying, we obtain:
n+76n=p2q2 \frac{n+76}{n} = \frac{p^2}{q^2}
7. Let p2q2=n+76n\frac{p^2}{q^2} = \frac{n+76}{n}. This implies:
p2n=q2(n+76) p^2 n = q^2 (n + 76)
8. Rearranging, we get:
p2n=q2n+76q2 p^2 n = q^2 n + 76 q^2
9. Factoring out nn, we have:
n(p2q2)=76q2 n (p^2 - q^2) = 76 q^2
10. Therefore:
n=76q2p2q2 n = \frac{76 q^2}{p^2 - q^2}
11. Since nn must be an integer, 76q2p2q2\frac{76 q^2}{p^2 - q^2} must also be an integer. This implies that p2q2p^2 - q^2 must be a divisor of 76.
12. The positive divisors of 76 are 1, 2, 4, 19, 38, and 76. We need to check which of these values make nn an integer.
13. Let's check each divisor:
- For d=1d = 1:
p2q2=1    (p+q)(pq)=1 p^2 - q^2 = 1 \implies (p+q)(p-q) = 1
This has no positive integer solutions for pp and qq.
- For d=2d = 2:
p2q2=2    (p+q)(pq)=2 p^2 - q^2 = 2 \implies (p+q)(p-q) = 2
This has no positive integer solutions for pp and qq.
- For d=4d = 4:
p2q2=4    (p+q)(pq)=4 p^2 - q^2 = 4 \implies (p+q)(p-q) = 4
Possible pairs (p+q,pq)(p+q, p-q) are (4,1)(4, 1) and (2,2)(2, 2). Only (4,1)(4, 1) gives positive integers:
p+q=4,pq=1    p=4+12=2.5(not an integer) p+q = 4, \quad p-q = 1 \implies p = \frac{4+1}{2} = 2.5 \quad \text{(not an integer)}
p+q=2,pq=2    p=2+22=2,q=222=0(not valid) p+q = 2, \quad p-q = 2 \implies p = \frac{2+2}{2} = 2, \quad q = \frac{2-2}{2} = 0 \quad \text{(not valid)}
- For d=19d = 19:
p2q2=19    (p+q)(pq)=19 p^2 - q^2 = 19 \implies (p+q)(p-q) = 19
This has no positive integer solutions for pp and qq.
- For d=38d = 38:
p2q2=38    (p+q)(pq)=38 p^2 - q^2 = 38 \implies (p+q)(p-q) = 38
This has no positive integer solutions for pp and qq.
- For d=76d = 76:
p2q2=76    (p+q)(pq)=76 p^2 - q^2 = 76 \implies (p+q)(p-q) = 76
Possible pairs (p+q,pq)(p+q, p-q) are (38,2)(38, 2):
p+q=38,pq=2    p=38+22=20,q=3822=18 p+q = 38, \quad p-q = 2 \implies p = \frac{38+2}{2} = 20, \quad q = \frac{38-2}{2} = 18
Therefore, p=20p = 20 and q=18q = 18.

14. Substituting p=20p = 20 and q=18q = 18 into the equation for nn:
n=76182202182=76324400324=7632476=324 n = \frac{76 \cdot 18^2}{20^2 - 18^2} = \frac{76 \cdot 324}{400 - 324} = \frac{76 \cdot 324}{76} = 324

The final answer is 324\boxed{324}.

Source: NuminaMath-1.5, licensed Apache-2.0. Statement and solution reproduced as published; topic, difficulty and ordering added by this site.