The mathematical expression for the parity law is W>L = W>R where W>L and W>R are the parities of the left and right sides of the equation respectively. A distinctive feature of the parity law is that the equality of numbers cannot be judged by the equality of their parity, but if their parities are not equal, then this certainly means the inequality of numbers.
3.5.3. Parity Calculation Rules
Parity of a sum or difference two numbers a and b
If ‹a› < ‹b› then ‹a ± b› = ‹a›.
It follows in particular that the sum or difference of an even and an odd number always gives a number with parity zero. If ‹a› = ‹b› = x then either ‹a + b› = x + 1 wherein ‹a – b› > x + 1
or ‹a – b› = x + 1 wherein ‹a + b› > x + 1
These formulas are due to the fact that
‹(a + b) + (a – b)› = ‹2a› = ‹a› + 1
It follows that the sum or difference of two even or two odd numbers gives an even number.
Parity of a sum or difference two power number a>n and b>n
If ‹a› < ‹b› then ‹a>n ± b>n› = ‹a>n›. If ‹a› = ‹b› = x then
only for even n:
‹a>n – b>n› = ‹a – b›+ ‹a + b›+ x(n – 2) + ‹n› – 1
‹a>n + b>n› = xn + 1
only for odd n:
‹a>n ± b>n› = ‹a ± b› + x(n – 1)
When natural numbers multiplying, their parities are added up
‹ab› = ‹a› + ‹b›
When natural numbers dividing, their parities are subtracted
‹a : b› = ‹a› – ‹b›
When raising number to the power, its parity is multiplied
‹a>b› = ‹a› × b
When extracting the root in number, its parity is divided
‹> b√a› = ‹a› : b
3.6. Key Formula Method
To solve equations with many unknowns in integers, an approach is often used when one more equation is added to the original equation and the solution to the original is sought in a system of two equations. We call this second equation the key formula. Until now due to its simplicity, this method did not stand out from other methods, however we will show here how effective it is and clearly deserves special attention. First of all, we note an important feature of the method, which is that:
Key formula cannot be other as derived from the original equation.
If this feature of the method is not taken into account i.e. add to the original equation some other one, then in this case, instead of solving the original equation we will get only a result indicating the compatibility of these two equations. In particular, we can obtain not all solutions of the original equation, but only those that are limited by the second equation.
In the case when the second equation is derived from the initial one, the result will be exhaustive i.e. either all solutions or insolvability in integers of the original equation. For example, we take equation z>3 = x>2 + y>2. To find all its solutions we proceed from the assumption that a prerequisite (key formula) should be z = a>2 + b>2 since the right-hand side of the original equation cannot be obtained otherwise than the product of numbers which are the sum of two squares. This is based on the fact that:
The product of numbers being the sum of two squares in all
cases gives a number also consisting the sum of two squares.
The converse is also true: if it is given a composite number being the sum of two squares then it cannot have prime factors that are not the sum of two squares. This is easily to make sure from the identity
(a>2+b>2)(c>2+d>2)=(ac+bd)>2+(ad−bc)>2=(ac−bd)>2+(ad+bc)>2
Then from (a>2+b>2)(a>2+b>2)=(aa+bb)>2+(ab−ba)>2=(a>2−b>2)>2+(ab+ba)>2 it follows that the square of a number consisting the sum of two squares, gives not two decompositions into the sum of two squares (as it should be in accordance with the identity), but only one, since (ab−ba)2= 0 what is not a natural number, otherwise any square number after adding to it zero could be formally considered the sum of two squares.