Diophantine Equation: Difference between revisions

From BusyBeaverWiki
Jump to navigation Jump to search
Add trivial champions
Structure page a bit, adding definitions and champions sections and noting Turing completeness.
Line 1: Line 1:
A '''Diophantine equation''' is a polynomial equation with integer coefficients for which only integer solutions are sought.
A '''Diophantine equation''' is a polynomial equation with integer coefficients for which only integer solutions are sought. Diophantine equations are known to be Turing complete.


<code>BBdio(H)</code> is the maximum score among all solvable polynomial Diophantine equations of height <code>H</code>. To determine the height of an equation, write it in the form <code>P(x,y,z,...) = 0</code>, then take the sum of <code>|coefficient|*2^degree</code> among all terms in the LHS polynomial <code>P</code>. To determine the score of a solvable equation, find the solution with the lowest score, where the score of a solution is the maximum absolute value among all variables.
== Definitions ==
A Diophantine equation is defined by a multi-variate polynomial <code>P(x,y,z,...)</code>. Solutions are values x,y,z,... such that <code>P(x,y,z,...) = 0</code>. The "magnitude" of a solution is max(|x|, |y|, |z|, ...) (the maximum absolute value of all it's variable assignments). The "score" for a Diophantine equation is the minimum magnitude across all solutions. In other words, it is the minimum N such that there exists a solution with -N ≤ x,y,z,... ≤ N.


<code>BBdio(n)</code> is proven for n < 16.
The "size" or "height" of a Diophantine equation is the sum of <code>|coefficient|*2^degree</code> among all of its terms. For example <math>x^2 + xy + 6y + 1 = 0</math> has size <math>1 \cdot 2^2 + 1 \cdot 2^2 + 6 \cdot 2^1 + 1 \cdot 2^0 = 21 </math>.
 
<code>BBdio(H)</code> is the maximum score among all solvable polynomial Diophantine equations of height <code>H</code>.
 
== Champions ==
For 2 ≤ n < 16: <code>BBdio(n) = n-2</code> via the trivial equation <math>x - (n-2) = 0</math>
{| class="wikitable"
{| class="wikitable"
|+
|+
Line 12: Line 18:
|2 ≤ n ≤ 20
|2 ≤ n ≤ 20
|≥ n-2
|≥ n-2
|<math>x - n = 0</math>
|<math>x - (n-2) = 0</math>
|-
|-
|21
|21

Revision as of 16:36, 11 August 2026

A Diophantine equation is a polynomial equation with integer coefficients for which only integer solutions are sought. Diophantine equations are known to be Turing complete.

Definitions

A Diophantine equation is defined by a multi-variate polynomial P(x,y,z,...). Solutions are values x,y,z,... such that P(x,y,z,...) = 0. The "magnitude" of a solution is max(|x|, |y|, |z|, ...) (the maximum absolute value of all it's variable assignments). The "score" for a Diophantine equation is the minimum magnitude across all solutions. In other words, it is the minimum N such that there exists a solution with -N ≤ x,y,z,... ≤ N.

The "size" or "height" of a Diophantine equation is the sum of |coefficient|*2^degree among all of its terms. For example x2+xy+6y+1=0 has size 1⋅22+1⋅22+6⋅21+1⋅20=21.

BBdio(H) is the maximum score among all solvable polynomial Diophantine equations of height H.

Champions

For 2 ≤ n < 16: BBdio(n) = n-2 via the trivial equation x−(n−2)=0

n BBdio(n) Champion
2 ≤ n ≤ 20 ≥ n-2 x−(n−2)=0
21 ≥ 26 x2+xy+6y+1=0
22 ≥ 22 x3+y2+4=3x
23 ≥ 31 x2+xy+x+1=6y
24 ≥ 66 x3+xy+5y=2
25 ≥ 470 x3+xy+y2+y+7=0
26 ≥ 40 x2+xy+7y+4=0
27 ≥ 849 x3+x2+y2+9=x
28 ≥ 74 x3+xy+2x+5y=2
29 ≥ 221 x3+xy+x+7y+1=0
30 ≥ 849 x3+2x2=y2+10