Why not. My answer at http://math.stackexchange.com/questions/229201/the-quadratic-form-x2-ny2-via-prime-factors/229270#229270