Abstract. In this paper, we gave solutions of the Diophantine equations 16x +
py = z2 , 64x + py = z2 where p is an odd prime, n ∈ Z+ and x, y, z are non-
negative integers. Finally we gave a generalization of the Diophantine equation
(4n )x + py = z2 .