# Questions tagged [sums-of-squares]

For questions concerning various representation of integers as sums of squares, which are studied in number theory.

474 questions
Filter by
Sorted by
Tagged with
3answers
1k views

2answers
506 views

### Exploiting a Diophantine approximation of $\pi^4$ into giving a series of rationals for $\pi^4$

A note about this question: The original question asked seems likely impossible so I am really asking if we can exploit the technique below into giving us a 'nice' form for $\pi^4$. By nice form I ...
8answers
9k views

### Diophantine equation $a^2+b^2=c^2+d^2$

I was reasonably certain I've seen this before, but I was wondering how to solve the Diophantine equation $$a^2+b^2=c^2+d^2$$ I tried a web search and found nothing on this one. I'm trying to avoid ...
3answers
14k views

### Number of integer solutions of $x^2 + y^2 = k$

I'm looking for some help disproving an answer provided on a StackOverflow question I posted about computing the number of double square combinations for a given integer. The original question is ...
5answers
2k views

### Integral solutions of $x^2+y^2+1=z^2$

I am interested in integral solutions of $$x^2+y^2+1=z^2.$$ Is there a complete theory comparable to the one for $x^2+y^2=z^2?$
1answer
232 views

### A conjecture about an unlimited path

Conjecture: For all primes of the form $a^2+b^2$, there are natural numbers $s,t,u,v$ such that $\quad s^2+t^2,u^2+v^2$ are primes $\quad a+b=s+t$ $\quad u+v=s+t+2$ $\quad |s-u|+|t-v|=2$ This ...
4answers
1k views

### Value of $(\alpha^2+1)(\beta^2+1)(\gamma^2+1)(\delta^2+1)$ if $z^4-2z^3+z^2+z-7=0$ for $z=\alpha$, $\beta$, $\gamma$, $\delta$

Let $\alpha$, $\beta$, $\gamma$, $\delta$ be the roots of $$z^4-2z^3+z^2+z-7=0$$ then find value of $$(\alpha^2+1)(\beta^2+1)(\gamma^2+1)(\delta^2+1)$$ Are Vieta's formulas appropriate?
1answer
276 views

3answers
784 views

### Show that $x^2+y^2+z^2=999$ has no integer solutions

The question is asking us to prove that $x^2+y^2+z^2=999$ has no integer solutions. Attempt at a solution: So I've noticed that since 999 is odd, either one of the variables or all three of the ...
2answers
557 views

### (Non?)-uniqueness of sums of squares

(I've had almost no exposure to number theory, so please keep answers as elementary as possible.) Write $\mathbb{N} = \{0,1,2,3,\ldots\}$ for the natural numbers. Then every element of $\mathbb{N}$ ...
1answer
151 views

### Sums of squares (Proof) [duplicate]

Prove that $n^2 + (n + 1)^2 = m^3$ does not have solutions in the positive integers. I guess that the proof is by contradiction, but if I suppose it, I can't find the contradiction. Thanks for your ...
1answer
186 views

### Standalone proof of a conditional part of Lagrange’s Four-Square Theorem?

Lagrange’s Four-Square Theorem — a special case of the Fermat-Cauchy Polygonal Number Theorem (FCPNT) — states that every natural number can be written as the sum of the squares of at most four ...
4answers
2k views

### If a prime can be expressed as sum of square of two integers, then prove that the representation is unique.

If a prime can be expressed as sum of two squares, then prove that the representation is unique. My attempt: If $a^2+b^2=p$, then it is obvious that $a,b$ of different parity. Now, I assume the ...
4answers
609 views

1answer
979 views

0answers
229 views

### Looking for all sequences such that $a_i^2+a_j^2=a_k^2+a_l^2$ whenever $i^2+j^2=k^2+l^2$

I'm working in a difficult functional equation, and I have reduced the problem to the following question ($\mathbb{N}$ denotes the set of non negative integers $0,1,2,3,4\cdots$) Question: Can we ...
3answers
295 views

### $\exists a, b \in \mathbb{Z}$ such that $a^2 + b^2 = 5^k$

I saw this problem recently and found an elegant solution to it, and was curious to see if anybody would think of something else. Nice solutions to nice problems are fun to see! Problem: Prove ...
3answers
1k views

### Every number is the sum of three squares with signs [duplicate]

The question. Can every $n\in \mathbb N$ can be written: $$n=a^2\pm b^2\pm c^2$$ where $\pm$ are signs of your choice? We know with Lagrange's four-square theorem that every integer can be ...
3answers
247 views

### Let $p$ be a prime so $p\equiv3\pmod4$. If $p|a^2+b^2$, then $p|a,b$

Let $p$ be a prime so $p\equiv3\pmod4$. If $p| a^2+b^2$, then $p| a,b$ How do I prove this small theorem? I know that it's quite useful. Are there other small theorems like this one? I am mostly ...
3answers
1k views

3answers
301 views

### My formula for sum of consecutive squares series?

I stumbled upon a specific series, who's Sum of squares of consecutive integers equals the sum of squares of the continuation of that consecutive integers. For exmaple, this first number in the ...
1answer
515 views

### Can the sum of the first n squares of primes be a perfect square?

So far, all I have found is for $n=1$, for which the square is 4. (Rather trivial) To give some context, I recently watched the Numberphile video Squared Squares. Basically, a squared square is a ...
2answers
74 views

6answers
8k views

### Find all solutions: $x^2 + 2y^2 = z^2$

I'm use to finding the solutions of linear Diophantine equations, but what are you suppose to do when you have quadratic terms? For example consider the following problem: Find all solutions in ...
4answers
891 views

When does $a^2+b^2 = c^3 +d^3$ for all integer values $(a, b, c, d) \ge 0$. I believe this only happens when: $a^2 = c^3 = e^6$ and $b^2 = d^3 = f^6$. With the following exception: $1^3+2^3 = 3^2 + 0^... 2answers 292 views ### squares which are not the sum of a square and twice a triangular number I'm trying to determine conditions on integer squares which cannot be written as a square and twice a triangular [all numbers positive], i.e. integers$n \ge 1$where there are no integers$a,b \ge 1$... 1answer 191 views ### Is it known whether any positive integer can be written as the sum of$n\$ different squares?

Is it known whether any sufficiently large positive integer can be written as the sum of four different squares? I know that every positive integer can be written as the sum of four not necessarily ...