Euler's factorization method - Wikipedia
en.wikipedia.org › wiki › Euler&Euler's factorization method is a technique for factoring a number by writing it as a sum of two squares in two different ways. For example the number 1000009 {\displaystyle 1000009} can be written as 1000 2 + 3 2 {\displaystyle 1000^{2}+3^{2}} or as 972 2 + 235 2 {\displaystyle 972^{2}+235^{2}} and Euler's method gives the factorization 1000009 = 293 ⋅ 3413 {\displaystyle 1000009=293\cdot 3413} .
Euler's Factorization method - GeeksforGeeks
www.geeksforgeeks.org › eulers-factorization-methodJul 12, 2021 · Euler’s Factorization method: Euler’s factorization method works on the principle that all the numbers N which can be written as the sum of two powers in two different ways can be factored into two numbers, (i.e) N = A2 + B2 = C2 + D2 where A != C and A != D, then there exist two factors for N. Working of the algorithm: Let N be the number for which we need to find the factors.