On the Diophantine equation NX2+2L3M=YN