Three- and Four-Dimensional Generalized Pythagorean Numbers

Abstract

The Pythagorean triples (a, b | c) of planar geometry which satisfy the equation a2+b2=c2 with integers (a, b, c) are generalized to 3D-Pythagorean quadruples (a, b, c | d) of spatial geometry which satisfy the equation a2+b2+c2=d2 with integers (a, b, c, d). Rules for a parametrization of the numbers (a, b, c, d) are derived and a list of all possible nonequivalent cases without common divisors up to d2<1000 is established. The 3D-Pythagorean quadruples are then generalized to 4D-Pythagorean quintuples (a, b, c, d | e) which satisfy the equation a2+b2+c2+d2=e2 and a parametrization is derived. Relations to the 4-square identity are discussed which leads also to the N-dimensional case. The initial 3D- and 4D-Pythagorean numbers are explicitly calculated up to d2<1000, respectively, e2<500.

Share and Cite:

Wünsche, A. (2024) Three- and Four-Dimensional Generalized Pythagorean Numbers. Advances in Pure Mathematics, 14, 1-15. doi: 10.4236/apm.2024.141001.

1. Introduction

Pythagorean triples are triples of integers ( a , b | c ) which satisfy the equality (e.g., Stillwell [1] [2] , Rademacher and Toeplitz [3] )

( a c ) 2 + ( b c ) 2 = 1 . (1.1)

In plane geometry of right triangles with side lengths ( a , b | c ) ( a , b catheti or legs and c hypotenuse), this means that they satisfy the theorem of Pythagoras

a 2 + b 2 = c 2 . (1.2)

with integers ( a , b | c ) with the best-known special case ( 3,4 | 5 ) . One has here to mention that this theorem which is now connected with the name of Pythagoras was known in different parts of the Old World already before the life of the great Greek philosopher (e.g., Stillwell [4] , Pickover [5] ).

Definition (1.1) shows that integer multiples of these numbers are trivial cases which can be excluded if one wants to consider the basically different triples of such numbers. The basically different doubles ( a c , b c ) can be also considered as coordinates of unit vectors in the first quadrant of the unit circle with positive rational coordinates ( a c , b c ) . The book of Beiler [6] discusses some more problems which arise within the theory of Pythagorean triples and presents interesting series of such triples under different aspects as in most other presentations on this topic.

The most famous generalization of the Pythagorean triples is Fermat’s Last Theorem (e.g., [3] [4] [5] ) which states that the Diophantine equation

a n + b n = c n , ( n > 2 ) , (1.3)

does not possess positive integer solutions for n 3 and which in the opinion of the world’s whole mathematical community was completely proved only in recent times 1993-1994 by Andrew Wiles. This is written in many articles and books, in particular, also in popular representations (e.g., Singh [7] ).

The present paper concerns the three- and four-dimensional generalizations of Pythagorean triples to that what I will call 3D-Pythagorean quadruples ( a , b , c | d ) and 4D-Pythagorean quintuples ( a , b , c , d | e ) . This seems to be new. The 3D-Pythagorean quadruples ( a , b , c | d ) , by definition, should satisfy the equation

( a d ) 2 + ( b d ) 2 + ( c d ) 2 = 1, (1.4)

with rational triples ( a d , b d , c d ) . In such form, they can be considered as the coordinates of unit vectors with positive rational coordinates in the spatial angle π 2 (the first 8th part of the full spatial angle). In the form

a 2 + b 2 + c 2 = d 2 , (1.5)

they are the side lengths ( a , b , c ) of a cuboid with spatial diagonal d and with integer numbers ( a , b , c , d ) and the basic such numbers should not possess a common divisor. Since this concerns our three-dimensional space it is directly accessible to our view.

The 4D-Pythagorean quintuples ( a , b , c , d | e ) satisfy the equation

( a e ) 2 + ( b e ) 2 + ( c e ) 2 + ( d e ) 2 = 1 , (1.6)

with rational quadruples ( a e , b e , c e , d e ) or the equation

a 2 + b 2 + c 2 + d 2 = e 2 , (1.7)

with integer quintuples ( a , b , c , d | e ) . In the last form, they may be considered as the four-dimensional analogue of three-dimensional cuboids where e is the four-dimensional spatial diagonal. Although they are no more accessible to our direct views, mathematics has developed means to get a partial imagination, in this case, by projection of this cuboid onto the three- or even two-dimensional space. The four-dimensional cuboid with equal side lengths a = b = c = d is called a tesseract. A beautiful picture of its projection onto the paper plane gives also a good imagination of a three-dimensional projection of the four-dimensional tesseract we may find in the book of Pickover [5] (p. 283) and it seems to be not difficult to imagine this projection stretched with different lengths of the edges.

Algebraically, it does not make it difficult to consider generalizations of the Pythagorean triples to higher dimensions ( N > 4 ) and the possibilities to find such ( N + 1 ) -tuples increase with increasing N considerably.

2. 3D-Pythagorean Quadruples ( a , b , c | d ) and a Parametrization

In this Section, we try to find out some simple rules for the basic quadruples ( a , b , c | d ) in (1.5) without a common divisor and try to establish the initial such quadruples up to d 2 < 1000 .

First, we easily find that d cannot be an even number d = 2 p , ( p = 1 , 2 , ) . Assuming that d is an even number implies d 2 = 4 p 2 has to be divisible by 4. In this case, we have two possibilities for ( a , b , c ) : first, ( a = 2 l , b = 2 m , c = 2 n ) are all even numbers and then ( a , b , c , d ) possess the common divisor 2 that was excluded for basic quadruples; second, one of the numbers ( a , b , c ) is an even number and two are odd numbers, say ( a = 2 l , b = 2 m + 1 , c = 2 n + 1 ) . Then

a 2 + b 2 + c 2 = 4 ( l 2 + m 2 + n 2 + m + n ) + 2 = 4 p 2 = d 2 . (2.1)

The left-hand side is not divisible by 4 and thus the case of even d = 2 p is impossible. Therefore, d has to be an odd number that we now assume.

For an odd number d = 2 p + 1 , ( p = 0 , 1 , 2 , ) we have two possibilities for ( a , b , c ) : First, ( a = 2 l + 1 , b = 2 m + 1 , c = 2 n + 1 ) are only odd numbers ( a = 2 l + 1 , b = 2 m + 1 , c = 2 n + 1 ) with

a 2 + b 2 + c 2 = 4 ( l 2 + m 2 + n 2 + l + m + n ) + 3 = 4 ( p 2 + p ) + 1 = d 2 , (2.2)

that is impossible since the remainder of division by 4 is different with both sides; The second one of the three numbers ( a , b , c ) is an odd number and the other two are even numbers, say ( a = 2 l + 1 , b = 2 m , c = 2 n ) . Then we have

a 2 + b 2 + c 2 = 4 ( l 2 + m 2 + n 2 + l ) + 1 = 4 ( p 2 + p ) + 1 = d 2 , (2.3)

and both sides possess the same remainder by division with 4. Thus the only possible basic cases are where one of the numbers ( a , b , c ) is an odd number and the other two are even numbers and that d is an odd number that means

( a , b , c | d ) = ( 2 l + 1 , 2 m , 2 n | 2 p + 1 ) , ( p = 1 , 2 , 3 , ) . (2.4)

Inserting the parametrization of the right-hand side of (2.4) into the equality (1.5) leads after division by 4 to the following equality

m 2 + n 2 = ( p l ) ( p + l + 1 ) . (2.5)

The product ( p l ) ( p + l + 1 ) is in every case an even number since if p l is an even number then p + l + 1 is an odd number and if p l is an odd number then p + l + 1 is an even number. This means that the left-hand side m 2 + n 2 is an even number that admits the two possibilities that m and n are both even numbers or both odd numbers.

3. Basic 3D-Pythagorean Quadruples ( a , b , c | d ) up to d 2 < 1 0 0 0

Making an arbitrary of the 6 possible permutations of ( a , b , c ) leads to the same d and therefore these permutations are equivalent. To list out only the nonequivalent triples ( a , b , c ) one may make an ordering of these triples.

By computer we found the following nonequivalent basic quadruples ( a , b , c | d ) first ordered with increasing numbers d and then in the new ordering a b c ) which satisfy relation (2.1) up to d 2 < 1000 , ( d 31 ).

( 1,2,2 | 3 ) , ( 2,3,6 | 7 ) , ( 1,4,8 | 9 ) , ( 4,4,7 | 9 ) , ( 2,6,9 | 11 ) , ( 6,6,7 | 11 ) , ( 3,4,12 | 13 ) , ( 2,5,14 | 15 ) , ( 2,10,11 | 15 ) , ( 1,12,12 | 17 ) , ( 8,9,12 | 17 ) , ( 1,6,18 | 19 ) , ( 6,6,17 | 19 ) , ( 6,10,15 | 19 ) , ( 4,5,20 | 21 ) , ( 4,8,19 | 21 ) , ( 4,13,16 | 21 ) , ( 8,11,16 | 21 ) , ( 3,6,22 | 23 ) , ( 3,14,18 | 23 ) , ( 6,13,18 | 23 ) ,

( 9,12,20 | 25 ) , ( 12,15,16 | 25 ) , ( 2,7,26 | 27 ) , ( 2,10,25 | 27 ) , ( 2,14,23 | 27 ) , ( 7,14,22 | 27 ) , ( 10,10,23 | 27 ) , ( 3,16,24 | 29 ) , ( 11,12,24 | 29 ) , ( 12,16,21 | 29 ) , ( 5,6,30 | 31 ) , ( 6,14,27 | 31 ) , ( 6,21,22 | 31 ) , ( 14,18,21 | 31 ) . (3.1)

Within the written list are cases where not only the spatial diagonal of the corresponding cuboid is an integer but also a facial diagonal. This happens for the cases ( 3,4,12 | 13 ) , ( 8,9,12 | 17 ) , ( 12,15,16 | 25 ) and ( 12,16,21 | 29 ) of the 3D-Pythagorean quadruples ( a , b , c | d ) which possess an intersection with the simplest (2D)-Pythagorean triple ( 3,4 | 5 ) or a multiple of it. Here we may pose the problem of whether or not are there such cases with intersections of two Pythagorean triples.

Beginning from d = 7 every odd number d = 2 p + 1 up to d = 31 is present in the given lists. A problem is whether or not this is true also for all higher odd d. If there would be found a counter-example where this is not true then this is a disproof. However, in case that there will be not found a counter-example the proof that such an example does not exist seems to be difficult.

Up to now, we have not found a procedure to produce successively all basic quadruples ( a , b , c | d ) with minimal expenditure that means without filtering them from numbers d which according to (2.1) are not integers.

4. A Nearer Look to the Parametrization of the 3D-Pythagorean Quadruples ( a , b , c | d )

In this Section we take a nearer look onto the parametrization (2.4) of the variables in (2.1) and use for this the lists (3.1) of explicitly determined numbers ( a , b , c , d ) but with a = 2 l + 1 the odd number and ( b = 2 m , c = 2 n ) the even numbers. This leads to the following Table 1.

Table 1. 3D-Pythagorean quadruples ( a , b , c | d ) and their relation to parameters ( l , m , n ) and p.

We see here explicitly that m and n are both even or both odd numbers and therefore n m and n + m are in every case even numbers and that one of the two numbers p l and p + l + 1 has to be an even number and the other one then an odd number and that both possibilities are realized. The condition (2.5) is easy to check in this table. However, it is not a minimal procedure which provides all basic nonequivalent quadruples ( a , b , c | d ) in a systematic way as this is possible in the case of the usual (2D)-Pythagorean triples. Therefore, one cannot be sure to have overlooked a possible quadruple ( a , b , c | d ) up to a certain maximal value d. A parametrization which provides only genuine quadruples follows from the 4-square identity which is generally applicable but does not immediately lead to a “best” ordering.

5. A Possible Generalization of 3D-Pythagorean Quadruples ( a , b , c | d ) to Cubics and Quartics of Quadruples

As in the case of Pythagorean triples, there are different possibilities for generalization of the 3D-Pythagorean quadruples ( a , b , c | d ) . One such possibility is to look for integer positive solutions ( a , b , c , d ) to the equation

a n + b n + c n = d n , ( n > 2 ) . (4.1)

This is in analogy to the search for integer positive solutions of Equation (1.3) with the statement of the Last Fermat’s problem finally proved. However, different from the nonexistence of such solutions in the case of Last Fermat’s problem it is easy to show by examples that such solutions for (4.1) exist. Three examples for n = 3 in (4.1) are

( 3,4,5 6 ) , ( 1,6,8 9 ) , ( 3,10,18 19 ) . (4.2)

It is very remarkable that the first such quadruple of cubics ( 3,4,5 6 ) (e.g., Beiler [6] , p. 152) is in beautiful analogy to the first Pythagorean triple ( 3,4 | 5 )

3 2 + 4 2 = 5 2 , 3 3 + 4 3 + 5 3 = 6 3 . (4.3)

However, if one expects that this could be continued to quintuples of quartics ( a , b , c , d e ) and so on then this is wrong as the following Table 2 shows.

For n = 4 in (4.1) we could not find an example and here arises the problem of giving proof of whether or not this is possible. For n 5 we did not make investigations.

6. Generalization of 3D-Pythagorean Quadruples ( a , b , c | d ) by Dimension to 4D-Pythagorean Quintuples ( a , b , c , d | e )

In this Section we consider the generalization of 3D-Pythagorean quadruples

Table 2. Generalization of (4.3) by “Degree n = Dimension N” leading to irrationals.

( a , b , c | d ) by dimension to 4D-Pythagorean quintuples ( a , b , c , d | e ) which are integer solutions ( a , b , c , d , e ) of the Diophantine equation

a 2 + b 2 + c 2 + d 2 = e 2 . (5.1)

This case is also interesting, in particular, because there exists a 4-square identity (e.g., Stillwell [4] , Chapter 20.4, Conway and Smith [8] , Chapter 6.10) derived from the algebra of quaternions. In Appendix we give a widely coordinate-invariant derivation of this 4-square identity. The problem is whether or not this leads to a parametrization of all possible 4D-Pythagorean quintuples ( a , b , c , d | e ) . We will show that it leads to a parametrization of all possible 4D-Pythagorean quintuples ( a , b , c , d | e ) which, however, is not unique and may possess irrational parameters.

We analyze case (5.1) in analogy to case (1.5) where we are interested in finding the basic quintuples without a common divisor. If e = 2 p is an even number then we have 3 possible cases for ( a , b , c , d ) . The first case is then that ( a = 2 k , b = 2 l , c = 2 m , d = 2 n ) are all even numbers. Then ( a , b , c , d | e ) possesses the common divisor 2 and this case can be excluded from the basic cases. The second case is that ( a = 2 k + 1 , b = 2 l + 1 , c = 2 m , d = 2 n ) that means that two of the numbers ( a , b , c , d ) are odd and two are even numbers from which follows

a 2 + b 2 + c 2 + d 2 = 4 ( k 2 + l 2 + m 2 + n 2 + k + l ) + 2 = 4 p 2 = e 2 . (5.2)

The right-hand side is divisible by 4 but the left-hand side is not divisible by 4 and this case can be also excluded.

There remains the case ( a = 2 k + 1 , b = 2 l + 1 , c = 2 m + 1 , d = 2 n + 1 ) that all numbers ( a , b , c , d ) are odd numbers from which follows

a 2 + b 2 + c 2 + d 2 = 4 ( k 2 + l 2 + m 2 + n 2 + k + l + m + n + 1 ) = 4 p 2 = e 2 . (5.3)

Both sides are here divisible by 4 and this is the only case for an even number e = 2 p . The first initial examples (6.1) of this case in Section 7 suggest that the possible numbers p are furthermore restricted to p = 2 q + 1 or e = 2 ( 2 q + 1 ) with q = 0 , 1 , 2 , as possible candidates. The proof can be made by representing (5.3) in the following way. The number p cannot be an even number p = 2 q since then the content in braces in

a 2 + b 2 + c 2 + d 2 = 4 { 2 ( k ( k + 1 ) 2 + l ( l + 1 ) 2 + m ( m + 1 ) 2 + n ( n + 1 ) 2 sum of 4 integers ) + 1 } = 4 { 4 q 2 } = e 2 , (5.4)

is an odd number on the left-hand side and an even number 4 q 2 on the right-hand side. Therefore p has to be an odd number p = 2 q + 1 for which we find from (5.3)

a 2 + b 2 + c 2 + d 2 = 4 { 2 ( k ( k + 1 ) 2 + l ( l + 1 ) 2 + m ( m + 1 ) 2 + n ( n + 1 ) 2 ) + 1 } = 4 ( 2 q + 1 ) 2 = 4 { 4 q ( q + 1 ) + 1 } = e 2 . (5.5)

From this we find the necessary equality

k ( k + 1 ) 2 + l ( l + 1 ) 2 + m ( m + 1 ) 2 + n ( n + 1 ) 2 = 2 q ( q + 1 ) 2 , (5.6)

with q ( q + 1 ) 2 = 0,1,3,6,10,15, as possible values. The combinations of ( k , l , m , n ) which satisfy (5.6) for one of the possible q are then 4D-Pythagorean quintuples.

We now consider the case e = 2 p + 1 where e is an odd number. Then there remains only the case ( a = 2 k + 1 , b = 2 l , c = 2 m , d = 2 n )

a 2 + b 2 + c 2 + d 2 = 4 ( k 2 + l 2 + m 2 + n 2 + k ) + 1 = 4 ( p 2 + p ) + 1 = e 2 , (5.7)

and the remainder by division of both sides is the same and therefore this case is possible. The other case with 3 odd numbers and 1 even number ( a = 2 k + 1 , b = 2 l + 1 , c = 2 m + 1 , d = 2 n ) is impossible since the remainder by division of both sides by 4 is unequal.

Thus with respect to even and odd numbers we find for basic 4D-Pythagorean quintuples the two possible cases ( a , b , c , d | e ) = ( 2 k + 1,2 l + 1,2 m + 1,2 n + 1 | 2 ( 2 q + 1 ) ) ,

( a , b , c , d | e ) = ( 2 k + 1,2 l ,2 m ,2 n | 2 p + 1 ) , (5.8)

under which one has to find the cases which in addition satisfy the equality (5.1).

In contrast to basic 3D-Pythagorean quadruples where only the odd case d = 2 p + 1 is possible for basic 4D-Pythagorean quintuples both the even case e = 2 p and the odd case e = 2 p + 1 are possible.

7. Basic 4D-Pythagorean Quintuples ( a , b , c , d | e ) up to e 2 < 5 0 0

An arbitrary of the 24 permutation of the quadruple of numbers ( a , b , c , d ) leads to equivalent quadruples. We make here an ordering of these quadruples with increasing e and for equal e we order the quadruples ( a , b , c , d ) by a b c d .

By computer we found the following basic 4D-Pythagorean quintuples with even e = 2 p = 2 ( 2 q + 1 )

( 1,1,1,1 | 2 ) , ( 1,1,3,5 | 6 ) , ( 1,1,7,7 | 10 ) , ( 1,3,3,9 | 10 ) , ( 1,5,5,7 | 10 ) , ( 1,1,5,13 | 14 ) , ( 1,5,7,11 | 14 ) , ( 3,3,3,13 | 14 ) , ( 3,5,9,9 | 14 ) , ( 5,5,5,11 | 14 ) , ( 1,3,5,17 | 18 ) , ( 1,7,7,15 | 18 ) , ( 1,9,11,11 | 18 ) , ( 5,5,7,15 | 18 ) , ( 5,7,9,13 | 18 ) , ( 1,1,11,19 | 22 ) , ( 1,5,13,17 | 22 ) , ( 3,5,15,15 | 22 ) , ( 3,9,13,15 | 22 ) , ( 5,7,7,19 | 22 ) , ( 5,7,11,17 | 22 ) , ( 5,11,13,13 | 22 ) , (6.1)

and with odd e = 2 p + 1

( 1,2,2,4 | 5 ) , ( 1,4,4,4 | 7 ) , ( 2,2,4,5 | 7 ) , ( 2,2,3,8 | 9 ) , ( 2,4,5,6 | 9 ) , ( 1,2,4,10 | 11 ) , ( 2,2,7,8 | 11 ) , ( 4,4,5,8 | 11 ) , ( 1,2,8,10 | 13 ) , ( 2,4,7,10 | 13 ) , ( 4,4,4,11 | 13 ) , ( 4,5,8,8 | 13 ) , ( 4,6,6,9 | 13 ) , ( 1,4,8,12 | 15 ) , ( 2,3,4,14 | 15 ) , ( 2,4,6,13 | 15 ) ,

( 2,6,8,11 | 15 ) , ( 3,4,10,10, | 15 ) , ( 4,4,7,12 | 15 ) , ( 4,8,8,9 | 15 ) , ( 5,6,8,10 | 15 ) , ( 1,4,4,16 | 17 ) , ( 2,2,5,16 | 17 ) , ( 2,4,10,13 | 17 ) , ( 2,5,8,14 | 17 ) , ( 2,8,10,11 | 17 ) , ( 3,6,10,12 | 17 ) , ( 5,8,10,10 | 17 ) , ( 1,2,10,16 | 19 ) , ( 1,8,10,14 | 19 ) , ( 2,2,8,17 | 19 ) , ( 3,8,12,12 | 19 ) ,

( 4,7,10,14 | 19 ) , ( 6,6,8,15 | 19 ) , ( 6,9,10,12 | 19 ) , ( 8,8,8,13 | 19 ) , ( 1,2,6,20 | 21 ) , ( 1,4,10,18 | 21 ) , ( 1,10,12,14 | 21 ) , ( 2,2,12,17 | 21 ) , ( 2,4,14,15 | 21 ) , ( 2,7,8,18 | 21 ) , ( 2,9,10,16 | 21 ) , ( 3,4,4,20 | 21 ) , ( 4,5,12,16 | 21 ) , ( 4,6,10,17 | 21 ) , ( 4,10,10,15 | 21 ) , ( 6,7,10,16 | 21 ) , ( 8,8,12,13 | 21 ) , ( 8,9,10,14 | 21 ) , (6.2)

up to e 2 < 500 , ( e 22 ). This filtering by computer is not a method which provides only the basic 4D-Pythagorean quintuples with minimal expenditure.

8. Can the 4-Square Identity Provide a Parametrization of the 4D-Pythagorean Quintuples?

Relation (5.1) contains 5 integer parameters ( a , b , c , d , e ) with 1 constraint and the 4-square identity in the specialized form (A.14) contains 4 independent parameters and on the right-hand side of last relation we have 4 squared numbers. Therefore one may pose the problem whether or not the parameters ( r 0 , r ) can provide a parametrization of the integers ( a , b , c , d , e ) . For this purpose we make the proposition

( a , b , c , d | e ) = ( r 0 2 r 2 , 2 r 0 r 1 , 2 r 0 r 2 , 2 r 0 r 3 | r 0 2 + r 2 ) , (7.1)

From this follows

r 0 2 = e + a 2 , r 2 = r 1 2 + r 2 2 + r 3 2 = e a 2 , 2 r 0 = 2 ( e + a ) , r 1 = b 2 r 0 , r 2 = c 2 r 0 , r 3 = d 2 r 0 , (7.2)

or, equivalently

( r 0 , r 1 , r 2 , r 3 ) = 1 2 ( e + a ) ( e + a , b , c , d ) , (7.3)

and we may check again

r 2 = r 1 2 + r 2 2 + r 3 2 = b 2 + c 2 + d 2 2 ( e + a ) = e 2 a 2 2 ( e + a ) = e a 2 , r 0 2 + r 2 = e , r 0 2 r 2 = a . (7.4)

plus possible permutations of ( a , b , c , d ) where we used (5.1). Thus we have parameterized the integers ( a , b , c , d | e ) by the parameters ( r 0 , r 1 , r 2 , r 3 ) which become proportional to a quadruple of integers ( e + a , b , c , d ) multiplied by a mostly common irrational number 1 2 ( e + a ) . Furthermore, this parametrization is, in general, not unique since we can order the parameters ( a , b , c , d ) by permutations in 4! = 24 ways (if all ( a , b , c , d ) are different, in other cases fewer ones) and obtain then the same number of different parameterizations of a considered 4D-Pythagorean quintuple. This is a consequence that the relation (7.1) between the two kinds of parameterizations is not linear but quadratical. However, given a parametrization ( r 0 , r 1 , r 3 , r 3 ) of the form (7.3) the reconstruction of ( a , b , c , d | e ) is also not unique since an integer f can be split in different way into a sum f = e + a of two different integers e and a.

We give four examples of the parametrization of ( a , b , c , d | e ) by ( r 0 , r 1 , r 3 , r 3 ) , the first two from (6.1)

( 1,1,1,1 | 2 ) : ( r 0 , r 1 , r 2 , r 3 ) = 1 6 ( 3,1,1,1 ) ,

{ ( 1,3,5,17 | 18 ) : ( r 0 , r 1 , r 2 , r 3 ) = 1 38 ( 19,3,5,17 ) ( 3,1,5,17 | 18 ) : ( r 0 , r 1 , r 2 , r 3 ) = 1 42 ( 21,1,5,17 ) ( 5,1,3,17 | 18 ) : ( r 0 , r 1 , r 2 , r 3 ) = 1 46 ( 23,1,3,17 ) ( 17,1,3,5 | 18 ) : ( r 0 , r 1 , r 2 , r 3 ) = 1 70 ( 35,1,3,5 ) , (7.5)

and the second two from (6.2)

{ ( 1,2,2,4 | 5 ) : ( r 0 , r 1 , r 2 , r 3 ) = 1 12 ( 6,2,2,4 ) = 1 3 ( 3,1,1,2 ) , ( 2,1,2,4 | 5 ) : ( r 0 , r 1 , r 2 , r 3 ) = 1 14 ( 7,1,2,4 ) , ( 4,1,2,2 | 5 ) ) : ( r 0 , r 1 , r 2 , r 3 ) = 1 18 ( 9,1,2,2 ) = 1 3 2 ( 9,1,2,2 ) ,

{ ( 2,4,5,6 | 9 ) : ( r 0 , r 1 , r 2 , r 3 ) = 1 22 ( 11,4,5,6 ) , ( 4,2,5,6 | 9 ) : ( r 0 , r 1 , r 2 , r 3 ) = 1 26 ( 13,2,5,6 ) , ( 5,2,4,6 | 9 ) : ( r 0 , r 1 , r 2 , r 3 ) = 1 28 ( 14,2,4,6 ) = 1 7 ( 7,1,2,3 ) , ( 6,2,4,5 | 9 ) : ( r 0 , r 1 , r 2 , r 3 ) = 1 30 ( 15,2,4,5 ) . (7.6)

Although possible, such parametrizations by ( r 0 , r ) seem to be not favorable.

One may give also ( r 0 , r 1 , r 2 , r 3 ) as integers and can then determine ( a , b , c , d | e ) according to (7.1) and obtains integer values for ( a , b , c , d , e ) which satisfy Equation (5.1). However, they are in most cases not basic quintuples as the following examples show

( r 0 , r 1 , r 2 , r 3 ) = ( 2,1,1,1 ) : ( 1,4,4,4 | 7 ) , ( r 0 , r 1 , r 2 , r 3 ) = ( 3,1,1,1 ) : ( 6,6,6,6 | 12 ) = 6 ( 1,1,1,1 | 2 ) , ( r 0 , r 1 , r 2 , r 3 ) = ( 3,1,1,2 ) : ( 3,6,6,12 | 15 ) = 3 ( 1,2,2,4 | 5 ) , ( r 0 , r 1 , r 2 , r 3 ) = ( 4,1,1,1 ) : ( 13,8,8,8 | 19 ) ,

( r 0 , r 1 , r 2 , r 3 ) = ( 4,1,1,2 ) : ( 10,8,8,16 | 22 ) = 2 ( 5,4,4,8 | 11 ) , ( r 0 , r 1 , r 2 , r 3 ) = ( 4,1,2,2 ) : ( 7,8,16,16 | 25 ) , ( r 0 , r 1 , r 2 , r 3 ) = ( 4,1,2,3 ) : ( 2,8,16,24 | 30 ) = 2 ( 1,4,8,12 | 15 ) , ( r 0 , r 1 , r 2 , r 3 ) = ( 4,2,2,2 ) : ( 4,16,16,16 | 28 ) = 4 ( 1,4,4,4 | 7 ) . (7.7)

This procedure does not provide all basic quintuples ( a , b , c , d | e ) in a systematically ordered way and, furthermore, it provides not only basic quintuples. In addition, this parametrization is only a modification of that in (7.1) and (7.2).

It is obvious from (A.16) that the considered results of this Section can be generalized to ND-Pythagorean (N + 1)D-tuples. A parametrization of the 3D-Pythagorean quadruples is achieved if we set r 3 = 0 in formulae (7.1) - (7.3) but also with problem that it does not only provide basic quadruples.

9. Conclusions

We first investigated the three-dimensional generalization of Pythagorean numbers concerning the possibilities of integer solutions ( a , b , c | d ) of the Diophantine equation a 2 + b 2 + c 2 = d 2 with d the spatial diagonal of a cuboid and called them 3D-Pythagorean quadruples. The basic solutions to the problem which means that the numbers ( a , b , c , d ) should not possess a common divisor were given in ordered form up to d 2 < 1000 and a general parametrization of such numbers was derived. Then we extended the problem to the four-dimensional generalization of 3D-Pythagorean quadruples to 4D-Pythagorean quintuples that means basic integer solutions ( a , b , c , d | e ) of the equation a 2 + b 2 + c 2 + d 2 = e 2 which are the analogues in a four-dimensional Euclidean space and gave them up to e 2 < 500 .

Every new result raises new problems and a few of them were formulated. As it is well known the Number Theory creates strange problems and conjectures from which some are very difficult to prove or to disprove. Many of them can be also ordered into the realm of Recreation Mathematics.

Appendix

Coordinate-invariant derivation of the 4-square identity from the algebra of real quaternions:

We derive in this Appendix the 4-square identity from the algebra of quaternions.

Quaternions r form a closed algebra of numbers discovered by W. R. Hamilton which are linear combinations of 4 basic numbers 1, i , j , k of the form (e.g., Stillwell [4] , Conway and Smith [8] , Gürlebeck and Sprössig [9] , Koecher and Remmert [10] included in the collective book [11] and many others)

r = 1 r 0 + i r 1 + j r 2 + k r 3 ( r 0 , r ) , r = ( r 1 , r 2 , r 3 ) , (A.1)

where the basic numbers satisfy the following multiplication rules

i 2 = j 2 = k 2 = 1 , j k = k j = i , k i = i k = j , i j = j i = k , (A.2)

from which follows

i j k = j k i = k i j = i k j = j i k = k j i = 1. (A.3)

To make the following derivations widely coordinate-invariant that maybe helps in a deeper understanding we use the representation (A.1) of a quaternion r = ( r 0 , r ) by a scalar part r 0 and a vectorial part r with 3 components.

The product of two quaternions r = ( r 0 , r ) and s = ( s 0 , s ) can be defined as follows

r s = ( r 0 , r ) ( s 0 , s ) = ( r 0 s 0 r s , s 0 r + r 0 s + [ r , s ] ) , (A.4)

where

r s = s r = r 1 s 1 + r 2 s 2 + r 3 s 3 , (A.5)

means the symmetric scalar product and

[ r , s ] = [ s , r ] = ( r 2 s 3 r 3 s 2 , r 3 s 1 r 1 s 3 , r 1 s 2 r 2 s 1 ) , (A.6)

the antisymmetric vector product of r and s in components with respect to an orthogonal basis. The product of quaternions is associative but, in general, noncommutative.

The quaternion

r ¯ = ( r 0 , r ) ¯ ( r 0 , r ) , (A.7)

is called the conjugate quaternion to r = ( r 0 , r ) . Its product with r is

r r ¯ = ( r 0 , r ) ( r 0 , r ) = ( r 0 2 + r 2 , 0 ) = r ¯ r , r 1 = r ¯ r 0 2 + r 2 = 1 r 0 2 + r 2 ( r 0 , r ) , r 1 r = r r 1 = ( 1, 0 ) , (A.8)

and it is proportional to the identical quaternion ( 1, 0 ) and r 1 r ¯ r 0 2 + r 2 is the reciprocal quaternion to r. The nonnegative number

| r | r 0 2 + r 2 , (A.9)

is the modulus or norm of a quaternion. For the conjugate quaternion r ¯ s ¯ to the product r s one finds the relation

r ¯ s ¯ = ( r 0 s 0 r s , s 0 r r 0 s [ r , s ] ) = ( s 0 , s ) ( r 0 , r ) = s ¯ r ¯ . (A.10)

From this follows

r s s ¯ r ¯ = ( r ( s s ¯ ) r ¯ ) = ( r 0 , r ¯ ) ( s 0 2 + s 2 , 0 ) = ( r 0 2 + r 2 , 0 ) ( s 0 2 + s 2 , 0 ) = ( ( r 0 2 + r 2 ) ( s 0 2 + s 2 ) , 0 ) ,

r s s ¯ r ¯ = ( r s ) ( r ¯ s ¯ ) = ( r 0 s 0 r s , s 0 r + r 0 s + [ r , s ] ) ( r 0 s 0 r s , s 0 r r 0 s [ r , s ] ) = ( ( r 0 s 0 r s ) 2 + ( s 0 r + r 0 s + [ r , s ] ) 2 , 0 ) . (A.11)

Thus by comparison of both expressions for r s s ¯ r ¯ in (A.11) we find the (4-square) identity

( r 0 2 + r 2 ) ( s 0 2 + s 2 ) = ( r 0 s 0 r s ) 2 + ( s 0 r + r 0 s + [ r , s ] ) 2 squared modulus of 3D-vector , (A.12)

or the right-hand side written in components with respect to an orthogonal basis of the vectors r and s ( [4] [8] )

( r 0 s 0 r s ) 2 = ( r 0 s 0 r 1 s 1 r 2 s 2 r 3 s 3 ) 2 ,

( s 0 r + r 0 s + [ r , s ] ) 2 = + ( s 0 r 1 + r 0 s 1 + r 2 s 3 r 3 s 2 ) 2 + ( s 0 r 2 + r 0 s 2 + r 3 s 1 r 1 s 3 ) 2 + ( s 0 r 3 + r 0 s 3 + r 1 s 2 r 2 s 1 ) 2 . (A.13)

The right-hand side of (A.12) is the sum of 4 squared integers but the left-hand side is only in special cases a squared integer. The right-hand side remains unchanged if one makes an even permutation of the 3 indices ( 1,2,3 ) . Many special cases of (A.13) can be considered.

In the first special case of r = s or ( r 0 = s 0 , r = s ) from (A.12) follows the relation

( r 0 2 + r 2 ) 2 = ( r 0 2 r 2 ) 2 + ( 2 r 0 r ) 2 , (A.14)

or written in orthogonal components ( r 1 , r 2 , r 3 ) of the vector r ,

( r 0 2 + r 2 ) 2 = ( r 0 2 + r 1 2 + r 2 2 + r 3 2 ) 2 , ( r 0 2 r 2 ) 2 = ( r 0 2 r 1 2 r 2 2 r 3 2 ) 2 ,

( 2 r 0 r ) 2 = ( 2 r 0 r 1 ) 2 + ( 2 r 0 r 2 ) 2 + ( 2 r 0 r 3 ) 2 . (A.15)

The left-hand side of (A.14) is a squared integer and the right-hand side is the sum of 4 squared integers and this identity possesses 4 independent parameters.

Relation (A.14) can immediately be generalized to the N-dimensional case by substituting the 3D-vector r by an ND-vector r = ( r 1 , , r N ) where instead of (A.14) we have then the identity

( r 0 2 + r 2 ) 2 = ( r 0 2 + k = 1 N r k 2 ) 2 , ( r 0 2 r 2 ) 2 = ( r 0 2 k = 1 N r k 2 ) 2 , ( 2 r 0 r ) 2 = k = 1 N ( 2 r 0 r k ) 2 . (A.16)

It contains N + 1 independent parameters ( r 0 , r 1 , , r N ) .

In the second special case when r 0 2 + r 2 or s 0 2 + s 2 are squared integers they provide already separately cases for 4D-Pythagorean quintuples. If both are squared integers then (A.12) together with (A.13) provides a parametrization for 4D-Pythagorean quintuples, however, with 8 parameters. In these cases it can be true that for some of the numbers ( a , b , c , d ) result negative integers which, however, squared become positive squares and satisfy relation (A.12). Such a case of ( r 0 , r 1 , r 2 , r 3 | r 0 2 + r 2 ) and ( s 0 , s 1 , s 2 , s 3 | s 0 2 + s 2 ) is ( 1,1,1,1 | 2 ) and ( 6,5,4,2 | 9 ) with resulting ( 5,9,13,7 | 18 ) . One of the numbers ( a , b , c , d ) can even become zero as it is the case, for example, for ( 1,1,1,1 | 2 ) and ( 5,3,1,1 | 6 ) from which results ( 0,8,4,8 | 12 ) which is equivalent to the basic 3D-Pythagorean quadruple ( 2,1,2 | 3 ) .

Conflicts of Interest

The authors declare no conflicts of interest regarding the publication of this paper.

References

[1] Stillwell, J. (1998) Numbers and Geometry. Springer-Verlag, New York.
https://doi.org/10.1007/978-1-4612-0687-3
[2] Stillwell, J. (2003) Elements of Number Theory. Springer-Verlag, New York.
https://doi.org/10.1007/978-0-387-21735-2
[3] Rademacher, H. and Toeplitz, O. (2023) The Enjoyment of Math. Princeton University Press, Princeton.
[4] Stillwell, J. (2002) Mathematics and Its History. Springer-Verlag, New York.
https://doi.org/10.1007/978-1-4684-9281-1
[5] Pickover, C.A. (2009) The Mαth βook. Sterling, New York.
[6] Beiler, A.H. (1966) Recreations in the Theory of Numbers. Dover Publications, New York.
[7] Singh, S. (1997) Fermat’s Last Theorem. GB Gardners Books, Eastbourne, UK.
[8] Conway, J.H. and Smith, D.A. (2003) On Quaternions and Octonions: Their Geometry, Arithmetic, and Symmetry. CRC Press, New York.
https://doi.org/10.1201/9781439864180
[9] Gürlebeck, K. and Sprössig, W. (1997) Quaternionic and Clifford Calculus for Physicists and Engineers. John Wiley & Sons, New York.
[10] Koecher, M. and Remmert, R. (1991) Hamilton’s Quaternions. In: Ebbinghaus, H.D., Ed., Numbers, Springer-Verlag, New York.
https://doi.org/10.1007/978-1-4612-1005-4_10
[11] Ebbinghaus, H.D., et al. (1991) Numbers. Springer-Verlag, New York.

Copyright © 2024 by authors and Scientific Research Publishing Inc.

Creative Commons License

This work and the related PDF file are licensed under a Creative Commons Attribution 4.0 International License.