Maths Olympiad Prep

Track / Stage 5 / 107 of 400 #1187 of 2444

Problem 1187

AIME late
Number theory Difficulty 5.2 Prove it HMMT February · United States · 2020

Find the number of ordered pairs of positive integers (x,y)(x, y) with x,y2020x, y \leq 2020 such that 3x2+10xy+3y23x^{2} + 10xy + 3y^{2} is the power of some prime.

This one wants a proof. Work it on paper, then read the official solution and mark yourself. Be honest about it: the record is only any use to you if it is.

Next problem →

Official solution

Solution:

We can factor as (3x+y)(x+3y)(3x + y)(x + 3y). If xyx \geq y, we need 3x+yx+3y{1,2}\frac{3x + y}{x + 3y} \in \{1, 2\} to be an integer. So we get the case where x=yx = y, in which we need both to be a power of 22, or the case x=5yx = 5y, in which case we need yy to be a power of 22. This gives us 11+9+9=2911 + 9 + 9 = 29 solutions, where we account for y=5xy = 5x as well.

Source: MathNet, licensed CC-BY-4.0. Statement reproduced verbatim; metadata (topic, difficulty, ordering) added by this project.