Problem

Source: 2015 Korean Mathematical Olmpiad P1, 2015 Korean Junior MO P2

Tags: number theory



For a positive integer $m$, prove that the number of pairs of positive integers $(x,y)$ which satisfies the following two conditions is even or $0$. (i): $x^2-3y^2+2=16m$ (ii): $2y \le x-1$