We know that, Fermat Showed a prime can be expressed as a sum of two squares if and only if it is a multiple of four plus one and its decomposition is unique. This paper will discuss the similar writings of primes as a sum of squares and multiple of another square.
The Bulletin of Society for Mathematical Services and Standards (Volume 3)
K. R. R. Gandhi "Primes of the form x2 + ny2", The Bulletin of Society for Mathematical Services and Standards, Vol. 3, pp. 67-72, 2012