The document presents an algorithm for searching large prime numbers, demonstrating that these primes are not representable as a sum of two squares. It revisits Fermat's theorem, showing the existence of infinitely many Fermat numbers, specifically those of the form 12 + n^2. The paper concludes by confirming that numbers constructed by the algorithm are related to the representation of primes under examination.