Solution of the Generalized Pythagorean Equation; x2+y2=n! and Formula ? by Number Theory
Keywords:
Fermat’s theorem, Pythagorean equation, Jacobi’s Two-Square Theorem, Formula π by number theoryAbstract
In this paper, we are interested in studying the generalized Pythagorean equation:
$$x^2+y^2=n!\quad \quad n\in \mathbb{N}\quad (x,y) \in \mathbb{Z}^2.$$
Furthermore, the non-principe Dirichlet character module 4, defined as follows:
$$\chi(d)=\left\{\begin{array}{c}
1 \quad if \quad d\equiv 1(mod 4)\\
-1 \quad if \quad d\equiv 3(mod 4)\\
0 \quad if \quad d \>is \>even
\end{array}
\right.$$
Using Jacobi's Two-Square Theorem, we show that the total number of lattices in the circle of radius $r=\sqrt{N}$ is equal $\sum^N_{n=1}\sum_{d|n}\chi(d)$.\\
Finally, Application: the formula for $\pi$ by number theory is given by
$$\pi=\lim_{N\rightarrow +\infty}\frac{4}{N}\bigg(\sum^N_{n=1}\sum_{d|n}\chi(d)\bigg)=4(1-\frac{1}{3}+\frac{1}{5}-\frac{1}{7}\cdot\cdot\cdot\cdot).$$
References
[1] Barbeau, E. Power Play. Mathematical Association of America, (1997)
[2] De numeris qui sunt aggregata duorum quadratorum. (Novi commentarii academiae scientiarum Petropolitanae 4 (1752/3), 1758, 3-40)
[3] Demonstratio theorematis FERMATIANI omnem numerum primum formae 4n+1 esse summam duorum quadratorum. (Novi commentarii academiae scientiarum Petropolitanae 5 (1754/5), 1760, 3-13)
[4] Euler à Goldbach, lettre CXXV
[5] L. E. Dickson, History of the Theory of Numbers, Vol. II, Ch. VI, p. 227
[6] L. E. Dickson, History of the Theory of Numbers, Vol. II, Ch. VI, p. 228
[7]Marc Chamberland, A Natural Extension of the Pythagorean Equation to Higher Dimensions, The Ramanujan Journal ,Volume 16, pages 169179, (2008)
[8] P. Erdös, üer die Primzahlen gewisser arithmetischer Riehen in Budapest ,11/ September 1932.
[9] Simon Stevin. l'Arithmétique de Simon Stevin de Bruges, annotated by Albert Girard, Leyde 1625, p. 622.
.
Downloads
Published
Issue
Section
License
Copyright (c) 2026 American Scientific Research Journal for Engineering, Technology, and Sciences

This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.
Authors who submit papers with this journal agree to the following terms.