- Source: Sparse ruler
A sparse ruler is a ruler in which some of the distance marks may be missing. More abstractly, a sparse ruler of length
L
{\displaystyle L}
with
m
{\displaystyle m}
marks is a sequence of integers
a
1
,
a
2
,
.
.
.
,
a
m
{\displaystyle a_{1},a_{2},...,a_{m}}
where
0
=
a
1
<
a
2
<
.
.
.
<
a
m
=
L
{\displaystyle 0=a_{1}
. The marks
a
1
{\displaystyle a_{1}}
and
a
m
{\displaystyle a_{m}}
correspond to the ends of the ruler. In order to measure the distance
K
{\displaystyle K}
, with
0
≤
K
≤
L
{\displaystyle 0\leq K\leq L}
there must be marks
a
i
{\displaystyle a_{i}}
and
a
j
{\displaystyle a_{j}}
such that
a
j
−
a
i
=
K
{\displaystyle a_{j}-a_{i}=K}
.
A complete sparse ruler allows one to measure any integer distance up to its full length. A complete sparse ruler is called minimal if there is no complete sparse ruler of length
L
{\displaystyle L}
with
m
−
1
{\displaystyle m-1}
marks. In other words, if any of the marks is removed one can no longer measure all of the distances, even if the marks could be rearranged. A complete sparse ruler is called maximal if there is no complete sparse ruler of greater length with
m
{\displaystyle m}
marks. Complete minimal rulers of length 135 and 136 require one more mark than those of lengths 124-134, 137 and 138. A sparse ruler is called optimal if it is both minimal and maximal.
Since the number of distinct pairs of marks is
m
(
m
−
1
)
/
2
{\displaystyle m(m-1)/2}
, this is an upper bound on the length
L
{\displaystyle L}
of any maximal sparse ruler with
m
{\displaystyle m}
marks. This upper bound can be achieved only for 2, 3 or 4 marks. For larger numbers of marks, the difference between the optimal length and the bound grows gradually, and unevenly.
For example, for 6 marks the upper bound is 15, but the maximal length is 13. There are 3 different configurations of sparse rulers of length 13 with 6 marks. One is {0, 1, 2, 6, 10, 13}. To measure a length of 7, say, with this ruler one would take the distance between the marks at 6 and 13.
A Golomb ruler is a sparse ruler that requires all of the differences
a
j
−
a
i
{\displaystyle a_{j}-a_{i}}
be distinct. In general, a Golomb ruler with
m
{\displaystyle m}
marks will be considerably longer than an optimal sparse ruler with
m
{\displaystyle m}
marks, since
m
(
m
−
1
)
/
2
{\displaystyle m(m-1)/2}
is a lower bound for the length of a Golomb ruler. A long Golomb ruler will have gaps, that is, it will have distances which it cannot measure. For example, the optimal Golomb ruler {0, 1, 4, 10, 12, 17} has length 17, but cannot measure lengths of 14 or 15.
Wichmann rulers
Many optimal rulers are of the form
W
(
r
,
s
)
=
1
r
,
r
+
1
,
(
2
r
+
1
)
r
,
(
4
r
+
3
)
s
,
(
2
r
+
2
)
(
r
+
1
)
,
1
r
,
{\displaystyle W(r,s)=1^{r},r+1,(2r+1)^{r},(4r+3)^{s},(2r+2)^{(r+1)},1^{r},}
where
a
b
{\displaystyle a^{b}}
represents
b
{\displaystyle b}
segments of length
a
{\displaystyle a}
. Thus, if
r
=
1
{\displaystyle r=1}
and
s
=
2
{\displaystyle s=2}
, then
W
(
1
,
2
)
{\displaystyle W(1,2)}
has (in order):
1 segment of length 1,
1 segment of length 2,
1 segment of length 3,
2 segments of length 7,
2 segments of length 4,
1 segment of length 1.
A minor variant is
w
(
r
,
s
)
=
1
r
,
r
+
1
,
(
2
r
+
1
)
(
r
+
1
)
,
(
4
r
+
3
)
s
,
(
2
r
+
2
)
r
,
1
r
,
{\displaystyle w(r,s)=1^{r},r+1,(2r+1)^{(r+1)},(4r+3)^{s},(2r+2)^{r},1^{r},}
, with a length one less than
W
(
r
,
s
)
{\displaystyle W(r,s)}
.
W
(
1
,
2
)
{\displaystyle W(1,2)}
gives the ruler {0, 1, 3, 6, 13, 20, 24, 28, 29}, while
w
(
1
,
2
)
{\displaystyle w(1,2)}
gives {0, 1, 3, 6, 9, 16, 23, 27, 28}. The length of a Wichmann ruler is
4
r
(
r
+
s
+
2
)
+
3
(
s
+
1
)
{\displaystyle 4r(r+s+2)+3(s+1)}
and the number of marks is
4
r
+
s
+
3
{\displaystyle 4r+s+3}
. Note that not all Wichmann rulers are optimal and not all optimal rulers can be generated this way. None of the optimal rulers of length 1, 13, 17, 23 and 58 follow this pattern. That sequence ends with 58 if the Optimal Ruler Conjecture of Peter Luschny is correct. The conjecture is known to be true to length 213.
Asymptotics
For every
n
{\displaystyle n}
let
l
(
n
)
{\displaystyle l(n)}
be the smallest number of marks for a ruler of length
n
{\displaystyle n}
. For example,
l
(
6
)
=
4
{\displaystyle l(6)=4}
. The asymptotic of the function
l
(
n
)
{\displaystyle l(n)}
was studied by Erdos, Gal (1948) and continued by Leech (1956) who proved that the limit
lim
n
→
∞
l
(
n
)
2
/
n
{\displaystyle \lim _{n\to \infty }{l(n)^{2}}/n}
exists and is lower and upper bounded by
2
+
4
3
π
=
2.424...
<
2.434...
=
max
0
<
θ
<
2
π
2
(
1
−
sin
(
θ
)
θ
)
≤
lim
n
→
∞
l
(
n
)
2
n
≤
375
112
=
3.348...
{\displaystyle 2+{\tfrac {4}{3\pi }}=2.424...<2.434...=\max _{0<\theta <2\pi }2(1-{\tfrac {\sin(\theta )}{\theta }})\leq \lim _{n\to \infty }{\frac {l(n)^{2}}{n}}\leq {\frac {375}{112}}=3.348...}
Much better upper bounds exist for
n
{\displaystyle n}
-perfect rulers. Those are subsets
A
{\displaystyle A}
of
N
{\displaystyle \mathbb {N} }
such that each positive number
k
≤
n
{\displaystyle k\leq n}
can be written as a difference
k
=
a
−
b
{\displaystyle k=a-b}
for some
a
,
b
∈
A
{\displaystyle a,b\in A}
. For every number
n
{\displaystyle n}
let
k
(
n
)
{\displaystyle k(n)}
be the smallest cardinality of an
n
{\displaystyle n}
-perfect ruler. It is clear that
k
(
n
)
≤
l
(
n
)
{\displaystyle k(n)\leq l(n)}
. The asymptotics of the sequence
k
(
n
)
{\displaystyle k(n)}
was studied by Redei, Renyi (1949) and then by Leech (1956) and Golay (1972). Due to their efforts the following upper and lower bounds were obtained:
max
0
<
θ
<
2
π
2
(
1
−
sin
(
θ
)
θ
)
≤
lim
n
→
∞
k
(
n
)
2
n
=
inf
n
∈
N
k
(
n
)
2
n
≤
128
2
6166
=
2.6571...
<
8
3
.
{\displaystyle \max _{0<\theta <2\pi }2(1-{\tfrac {\sin(\theta )}{\theta }})\leq \lim _{n\to \infty }{\frac {k(n)^{2}}{n}}=\inf _{n\in \mathbb {N} }{\frac {k(n)^{2}}{n}}\leq {\frac {128^{2}}{6166}}=2.6571...<{\frac {8}{3}}.}
Define the excess as
E
(
n
)
=
l
(
n
)
−
⌈
3
n
+
9
4
⌋
{\displaystyle E(n)=l(n)-\lceil {\sqrt {3n+{\tfrac {9}{4}}}}\rfloor }
. In 2020, Pegg proved by construction that
E
(
n
)
{\displaystyle E(n)}
≤ 1 for all lengths
n
{\displaystyle n}
. If the Optimal Ruler Conjecture is true, then
E
(
n
)
=
0
|
1
{\displaystyle E(n)=0|1}
for all
n
{\displaystyle n}
, leading to the ″dark mills″ pattern when arranged in columns, OEIS A326499. All of the windows in the dark mills pattern are Wichmann rulers. None of the best known sparse rulers
n
>
213
{\displaystyle n>213}
are proven minimal as of Sep 2020. Many of the current best known
E
=
1
{\displaystyle E=1}
constructions for
n
>
213
{\displaystyle n>213}
are believed to non-minimal, especially the "cloud" values.
Examples
The following are examples of minimal sparse rulers. Optimal rulers are highlighted. When there are too many to list, not all are included. Mirror images are not shown.
Incomplete sparse rulers
A few incomplete rulers can fully measure up to a longer distance than an optimal sparse ruler with the same number of marks.
{
0
,
2
,
7
,
14
,
15
,
18
,
24
}
{\displaystyle \{0,2,7,14,15,18,24\}}
,
{
0
,
2
,
7
,
13
,
16
,
17
,
25
}
{\displaystyle \{0,2,7,13,16,17,25\}}
,
{
0
,
5
,
7
,
13
,
16
,
17
,
31
}
{\displaystyle \{0,5,7,13,16,17,31\}}
, and
{
0
,
6
,
10
,
15
,
17
,
18
,
31
}
{\displaystyle \{0,6,10,15,17,18,31\}}
can each measure up to 18, while an optimal sparse ruler with 7 marks can measure only up to 17. The table below lists these rulers, up to rulers with 13 marks. Mirror images are not shown. Rulers that can fully measure up to a longer distance than any shorter ruler with the same number of marks are highlighted.
See also
Gauge block
Golomb ruler
Perfect ruler
References
http://www.luschny.de/math/rulers/prulers.html
http://oeis.org/wiki/User:Peter_Luschny/PerfectRulers
http://www.iwriteiam.nl/Ha_sparse_rulers.html
http://www.maa.org/editorial/mathgames/mathgames_11_15_04.html
http://www.contestcen.com/scale.htm
http://members.cox.net/wnmyers/sparse_rulers.txt
Kata Kunci Pencarian:
- Sparse ruler
- Golomb ruler
- Perfect ruler
- Graceful labeling
- List of monarchs of Korea
- RZA
- Šindel sequence
- List of heads of state of Finland
- Maya monarchs
- Avantibai