Perfect ruler

From The Right Wiki
Jump to navigationJump to search

A perfect ruler of length is a ruler with integer markings a1=0<a2<<an=, for which there exists an integer m such that any positive integer km is uniquely expressed as the difference k=aiaj for some i,j. This is referred to as an m-perfect ruler. An optimal perfect ruler is one of the smallest length for fixed values of m and n.

Example

A 4-perfect ruler of length 7 is given by (a1,a2,a3,a4)=(0,1,3,7). To verify this, we need to show that every positive integer k4 is uniquely expressed as the difference of two markings:

1=10
2=31
3=30
4=73

See also

This article incorporates material from perfect ruler on PlanetMath, which is licensed under the Creative Commons Attribution/Share-Alike License.