How do I find the possible sets of two numbers for any positive integer if the sum of squares of the two number is equal to that integer.
I mean if $n=a^2+b^2$ $(n,a,b \in N)$.
How can I find the possible sets of $a,b$?
2026-03-29 10:55:51.1774781751
Finding $a^2 + b^2 =n$.
157 Views Asked by Bumbble Comm https://math.techqa.club/user/bumbble-comm/detail At
1
There are 1 best solutions below
Related Questions in ALGEBRAIC-NUMBER-THEORY
- Splitting of a prime in a number field
- algebraic integers of $x^4 -10x^2 +1$
- Writing fractions in number fields with coprime numerator and denominator
- Tensor product commutes with infinite products
- Introduction to jacobi modular forms
- Inclusions in tensor products
- Find the degree of the algebraic numbers
- Exercise 15.10 in Cox's Book (first part)
- Direct product and absolut norm
- Splitting of primes in a Galois extension
Related Questions in SUMS-OF-SQUARES
- How many variations of new primitive Pythagorean triples are there when the hypotenuse is multiplied by a prime?
- If $x^2-dy^2 = -1$ has a solution in $\mathbb{Z^2}$, then $d$ is the sum of two coprime squares.
- How to interpret this visual proof for Archimedes' derivation of Sum of Squares?
- consecutive integers that are not the sum of 2 squares.
- Sum of the Squares of the First n square Numbers is not a perfect square number
- How many sub-square matrices does a square matrix have and is there a simple formula for it?
- On near-Pythagorean triples $(n^5-2n^3+2n)^2 + (2n^4-2n^2+1)^2 = n^{10} + 1$
- Closed form for the sum $\sum_{n=-\infty}^{\infty}\sum_{m=-\infty}^{\infty}{\left(n^2+m^2\right)^{-{p}}}$
- Prove that any power of $10$ can be written as sum of two squares
- Can Gauss-Newton algorithm give better optimization performances than Newton algorithm?
Trending Questions
- Induction on the number of equations
- How to convince a math teacher of this simple and obvious fact?
- Find $E[XY|Y+Z=1 ]$
- Refuting the Anti-Cantor Cranks
- What are imaginary numbers?
- Determine the adjoint of $\tilde Q(x)$ for $\tilde Q(x)u:=(Qu)(x)$ where $Q:U→L^2(Ω,ℝ^d$ is a Hilbert-Schmidt operator and $U$ is a Hilbert space
- Why does this innovative method of subtraction from a third grader always work?
- How do we know that the number $1$ is not equal to the number $-1$?
- What are the Implications of having VΩ as a model for a theory?
- Defining a Galois Field based on primitive element versus polynomial?
- Can't find the relationship between two columns of numbers. Please Help
- Is computer science a branch of mathematics?
- Is there a bijection of $\mathbb{R}^n$ with itself such that the forward map is connected but the inverse is not?
- Identification of a quadrilateral as a trapezoid, rectangle, or square
- Generator of inertia group in function field extension
Popular # Hahtags
second-order-logic
numerical-methods
puzzle
logic
probability
number-theory
winding-number
real-analysis
integration
calculus
complex-analysis
sequences-and-series
proof-writing
set-theory
functions
homotopy-theory
elementary-number-theory
ordinary-differential-equations
circles
derivatives
game-theory
definite-integrals
elementary-set-theory
limits
multivariable-calculus
geometry
algebraic-number-theory
proof-verification
partial-derivative
algebra-precalculus
Popular Questions
- What is the integral of 1/x?
- How many squares actually ARE in this picture? Is this a trick question with no right answer?
- Is a matrix multiplied with its transpose something special?
- What is the difference between independent and mutually exclusive events?
- Visually stunning math concepts which are easy to explain
- taylor series of $\ln(1+x)$?
- How to tell if a set of vectors spans a space?
- Calculus question taking derivative to find horizontal tangent line
- How to determine if a function is one-to-one?
- Determine if vectors are linearly independent
- What does it mean to have a determinant equal to zero?
- Is this Batman equation for real?
- How to find perpendicular vector to another vector?
- How to find mean and median from histogram
- How many sides does a circle have?
Start with the prime factorization of $n$.
For every prime $p$ with $p\mid n$ with $p\equiv 3\pmod 4$, this prime must occur to an even power $p^{2k}$ in $n$ (or else there are no soutions at all); then all solutions are of the form $(p^kc, p^kd)$ where $(c,d)$ is a solution for $c^2+d^2=\frac n{p^{2k}}$.
For every prime $p$ with $p\equiv 1\pmod 4$, theory tells us that you can find (for small $p$, just use trial and error) a unique solution $a^2+b^2=p$ with $0<a<b$. It is easiest to work with complex numbers: Let $z=a+ib$. If $p^k\mid n$ (but $p^{k+1}\nmid n$), then consider the $k+1$ numbers $$\tag1z^k, z^{k-1}\bar z, z^{k-2}\bar z^2,\ldots, \bar z^k.$$ If $2^k\mid n$ and $2^{k+1}\nmid n$, consider $$\tag2\begin{cases}2^{k/2}&\text{if $k$ is even}\\ 2^{(k-1)/2}\cdot(1+i)&\text{if $k$ is odd}\end{cases} $$ Now if you pick a) one fo the four numbers $$ 1,i,-1,-i$$ and b) the number from $(2)$ and c) for each $p\equiv 1\pmod 3$ one of the numbers in $(1)$, and multiply these together, you obtain a complex number $u+iv$ with $u,v\in \Bbb Z$ and $u^2+v^2=n$. And all solutions are obtainable this way, i.e., by running through all choices made, you generate all solutions.