In mathematics, an Euler brick, named after Leonhard Euler, is a cuboid whose edges and face diagonals all have integer lengths. A primitive Euler brick is an Euler brick whose edge lengths are relatively prime.
Alternatively stated, an Euler brick is a solution to the following system of Diophantine equations:
Given an Euler brick with edges (a, b, c), the triple (bc, ac, ab) constitutes an Euler brick as well.
The smallest Euler brick, discovered by Paul Halcke in 1719, has edges and face diagonals 125, 244, and 267.
Some other small solutions, given as edges (a, b, c) — face diagonals (d, e, f), are below:
- (85, 132, 720) — (157, 725, 732);
- (88, 234, 480) — (250, 488, 534);
- (140, 480, 693) — (500, 707, 843);
- (160, 231, 792) — (281, 808, 825);
- (240, 252, 275) — (348, 365, 373).
Perfect cuboid 
|Does a perfect cuboid exist?|
A perfect cuboid (also called a perfect box) is an Euler brick whose space diagonal also has integer length.
In other words, the following equation is added to the system of Diophantine equations defining an Euler brick:
As of November 2012[update], no example of a perfect cuboid had been found and no one has proven that none exist. Exhaustive computer searches show that, if a perfect cuboid exists, one of its edges must be greater than 3·1012. Furthermore, its smallest edge must be longer than 1010.
Some facts are known about properties that must be satisfied by a primitive perfect cuboid, if one exists, based on modular arithmetic:
- One edge, two face diagonals and the body diagonal must be odd, one edge and the remaining face diagonal must be divisible by 4, and the remaining edge must be divisible by 16
- 2 edges must have length divisible by 3 and at least 1 of those edges must have length divisible by 9
- 1 edge must have length divisible by 5.
- 1 edge must have length divisible by 7.
- 1 edge must have length divisible by 11.
- 1 edge must have length divisible by 19.
- 1 edge or space diagonal must be divisible by 13.
- 1 edge, face diagonal or space diagonal must be divisible by 17.
- 1 edge, face diagonal or space diagonal must be divisible by 29.
- 1 edge, face diagonal or space diagonal must be divisible by 37.
Solutions have been found where the space diagonal and two of the three face diagonals are integers, such as:
Solutions are also known where all four diagonals but only two of the three edges are integers, such as:
Perfect parallelepiped 
A perfect parallelepiped is a parallelepiped with integer-length edges, face diagonals, and body diagonals, but not necessarily with all right angles; a perfect cuboid is a special case of a perfect parallelepiped. In 2009, a perfect parallelepiped was shown to exist, answering an open question of Richard Guy. Solutions with only a single oblique angle have been found.
- Weisstein, Eric W., "Euler Brick", MathWorld.
- Durango Bill. The “Integer Brick” Problem
- Weisstein, Eric W., "Perfect Cuboid", MathWorld.
- Randall Rathbun, Perfect Cuboid search to 1e10 completed - none found. NMBRTHRY maillist, November 28, 2010.
- Sawyer, Jorge F.; Reiter, Clifford A. (2011). "Perfect parallelepipeds exist". Mathematics of Computation 80: 1037–1040. arXiv:0907.0220..
- Leech, John (1977). "The Rational Cuboid Revisited". American Mathematical Monthly 84 (7): 518–533. doi:10.2307/2320014. JSTOR 2320014.
- Guy, Richard K. (2004). Unsolved Problems in Number Theory. Springer-Verlag. pp. 275–283. ISBN 0-387-20860-7.
- Roberts, Tim (2010). "Some constraints on the existence of a perfect cuboid". Australian Mathematical Society Gazette 37: 29–31. ISSN 1326-2297.