Edge Rewrite
// HTMLRewriter · presentation

This page was redesigned at the edge.

Cloudflare fetched the original article and streamed it through HTMLRewriter to apply an entirely new visual system without rebuilding the source page.

// request.cf · coarse context

A page that knows where it met you.

Only coarse request metadata is shown. This demo does not display or persist visitor IP addresses.

Country
US
Cloudflare location
CMH
Connection
HTTP/2
Language
Not provided

Ray ID: a225a5325c4dd287

Jump to content

Perfect ruler

From Wikipedia, the free encyclopedia

A perfect ruler of length is a ruler with integer markings , for which there exists an integer such that any positive integer is uniquely expressed as the difference for some . This is referred to as an -perfect ruler.

An optimal perfect ruler is one of the smallest length for fixed values of and .

Example

[edit]

A 4-perfect ruler of length is given by . To verify this, we need to show that every positive integer is uniquely expressed as the difference of two markings:

See also

[edit]

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