Problem

Source: 2023 Singapore MO Round 2 Senior Q2 / Junior Q5

Tags: number theory, Diophantine equation



Find all positive integers k such that there exists positive integers a,b such that a2+4=(k24)b2.