11
$\begingroup$

We are given $n$ coins, some of which are "real" and weigh $1$ and some of which are "fake" and weigh $0$. We have one "spring scale" which can weigh any subset of the coins. A classic question asks what the minimum number of weighings is that will separate the real coins from the fake ones. This question is essentially identical to Number of vectors so that no two subset sums are equal and the optimal number of weighings is known to be asymptotic to

$$\frac{2n}{\log_2{n}}.$$

The linked question contains a reference to Bshouty where further details and an interesting historical account can be found. The original paper of Erdős and R\'enyi discussing this coin weighing problem is also available.

For a fixed $n$, a (non-adaptive) solution to this coin weighing problem can be written as a $(0,1)$-matrix, with each column corresponding to a coin and each row corresponding to a single weighing. The number of rows is then the number of weighings. In order for such a matrix to solve the problem, it must not contain any non-zero $n$-dimensional $(-1,0,1)$-vector in its kernel. Clearly, the identity matrix, for example, always satisfies this property and is a trivial solution for any $n$.

In my setting, I would like to solve the same coin weighing problem but I need any solution matrix to be (partial) ciculant. For example, consider $n=4$ and the following partial ciculant solution.

\begin{pmatrix} 0&1&1&1\\ 1&0&1&1\\ 1&1&0&1 \end{pmatrix}

This tells us that it is possible to solve the problem with $3$ weighings when $n=4$ and in fact this is optimal.

For this new circulant variant of the coin weighing problem I don't know anything except for particular small values of $n$ where I have manually computed the answer. However, these results are not particularly revealing except to tell us that the optimal number of weighings is not identical to the general case. For example, the problem can be solved in $7$ weighings for $12$ coins in the general case but you need $8$ weighings for the circulant case.

We know of course that an asymptotic lower bound is still $2n/\log_2{n}$. But an upper bound seems much less clear. As a first question:

Is the optimal number of weighings sublinear in $n$?

If this is true, then it would very interesting to know if the asymptotics differ from the general case.

Is the optimal number of weighings still $O(n/\log_2{n})$?

This question is related to the second part of Two conjectures about zero inner products and dissociated sets and can be seen as a variant of Conjecture 2.


A helpful answer was given with respect to a sparse version of this problem. However, I am really interested in the general non-sparse version where a solution matrix is guaranteed always to be able to separate the real and the fake coins.


Added 25 June 2015

Before addressing the questions above, is it possible to answer the following potentially easier question?

Does there exist a number of coins $n$ such that the optimal number of weighings is less than $n/2$?

$\endgroup$
2
  • 1
    $\begingroup$ When you say "partial circulant," do you require the rows to be the first $m$ rows of a circulant matrix, as assumed in cstheory.stackexchange.com/questions/27330/… or just any $m$ rows? $\endgroup$ May 31, 2015 at 3:38
  • $\begingroup$ @DouglasZare Thank you for pointing out the ambiguity. I meant that the rows should be the first $m$ rows of a circulant matrix. Having said that, I think pretty much any related question that imposes some restriction on the solution matrices is currently open and in my view, interesting. $\endgroup$
    – Simd
    May 31, 2015 at 6:59

1 Answer 1

3
$\begingroup$

Here's a rather indirect suggestion, using ideas from compressed sensing. Let $\Phi$ be your weighing matrix. Denote by $v$ your vector of coin weights and by $u$ the all ones vector. Observe that $\Phi(u-v) = \Phi u - \Phi v$. I'll assume in the remainder of this answer that either $v$ or $u-v$ is sparse (e.g. that either the number of the real coins or the number of the fake coins is less than $n^{1-\epsilon}$ for some positive $\epsilon$).

Compressed sensing (in a broad sense) was invented to efficiently recover sparse signals. Typical results in this area say that if a vector $x$ has length $N$ and $k$ non-zero entries, and if $\Phi$ is constructed appropriately, then $O(k \log N)$ measurements suffice to recovery $x$. The construction here very often involves taking the matrix entries independently from a probability distribution.

Now, you want to use a sub-matrix of a binary circulant matrix. Results of Rauhut-Romberg-Tropp ("Restricted Isometries for Partial Random Circulant Matrices") deal with circulant matrices. Calderbank and others have considered compressed sensing with binary matrices. To my knowledge no-one has tried to combine both properties. But my guess would be that some sort of similar recovery result would hold asymptotically for a random sub-matrix of a random circulant binary matrix. My guess would be that you'd get Big-O of the vector sparsity times some power of $\log N$. If I wanted to run simulations, I'd probably start with rows from the core of a Paley Hadamard matrix.

If you really care about the case that the numbers of real and fake coins are roughly equal, I'd suggest having a look at the literature on weighing matrices. There has been some study of circulant weighing matrices, though the literature has focussed on square matrices for the most part. See e.g. de Launey and Flannery's "Algebraic Design Theory" and the references therein. Best of luck!

$\endgroup$
5
  • $\begingroup$ Thank you for this and the references. Unfortunately it is exactly the non-sparse case I am interested in. More specifically, I am interested in solution matrices that work in all cases. $\endgroup$
    – Simd
    Jun 1, 2015 at 16:26
  • $\begingroup$ I just looked up weighing matrices but I don't see the connection to this problem yet. Could you expand on that please? $\endgroup$
    – Simd
    Jun 3, 2015 at 18:46
  • $\begingroup$ @Anush did you look it up on wikipedia, weighing matrices? $\endgroup$
    – vzn
    Jun 29, 2015 at 17:36
  • $\begingroup$ not an expert in this but looking further. this paper "Münchhausen Matrices" / Brand also studies a variant of the coin weighing problem and says p3 there are different "weighing matrices" going back to a definition at least to 1946 [14] for "Hotellings weighing problem". is the wikipedia entry referring to the latter? $\endgroup$
    – vzn
    Jun 29, 2015 at 21:38
  • $\begingroup$ @vzn This seems to be about balance scales which is a very different problem as far I know. $\endgroup$
    – Simd
    Jul 2, 2015 at 21:14

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.