It is easy to find 3n such planes. For example, planes x=i,y=i or z=i (i=1,2,…,n) cover the set S but none of them contains the origin. Another such collection consists of all planes x+y+z=k for k=1,2,…,3n. We show that 3n is the smallest possible number. Lemma 1. Consider a nonzero polynomial P(x1,…,xk) in k variables. Suppose that P vanishes at all points (x1,…,xk) such that x1,…,xk∈{0,1,…,n} and x1+⋯+xk>0, while P(0,0,…,0)=0. Then degP≥kn. Proof. We use induction on k. The base case k=0 is clear since P=0. Denote for clarity y=xk. Let R(x1,…,xk−1,y) be the residue of P modulo Q(y)=y(y−1)…(y−n). Polynomial Q(y) vanishes at each y=0,1,…,n, hence P(x1,…,xk−1,y)=R(x1,…,xk−1,y) for all x1,…,xk−1,y∈{0,1,…,n}. Therefore, R also satisfies the condition of the Lemma; moreover, degyR≤n. Clearly, degR≤degP, so it suffices to prove that degR≥nk. Now, expand polynomial R in the powers of y : R(x1,…,xk−1,y)=Rn(x1,…,xk−1)yn+Rn−1(x1,…,xk−1)yn−1+⋯+R0(x1,…,xk−1) We show that polynomial Rn(x1,…,xk−1) satisfies the condition of the induction hypothesis. Consider the polynomial T(y)=R(0,…,0,y) of degree ≤n. This polynomial has n roots y=1,…,n; on the other hand, T(y)≡0 since T(0)=0. Hence degT=n, and its leading coefficient is Rn(0,0,…,0)=0. In particular, in the case k=1 we obtain that coefficient Rn is nonzero. Similarly, take any numbers a1,…,ak−1∈{0,1,…,n} with a1+⋯+ak−1>0. Substituting xi=ai into R(x1,…,xk−1,y), we get a polynomial in y which vanishes at all points y=0,…,n and has degree ≤n. Therefore, this polynomial is null, hence Ri(a1,…,ak−1)=0 for all i=0,1,…,n. In particular, Rn(a1,…,ak−1)=0. Thus, the polynomial Rn(x1,…,xk−1) satisfies the condition of the induction hypothesis. So, we have degRn≥(k−1)n and degP≥degR≥degRn+n≥kn. Now we can finish the solution. Suppose that there are N planes covering all the points of S but not containing the origin. Let their equations be aix+biy+ciz+di=0. Consider the polynomial P(x,y,z)=i=1∏N(aix+biy+ciz+di) It has total degree N. This polynomial has the property that P(x0,y0,z0)=0 for any (x0,y0,z0)∈S, while P(0,0,0)=0. Hence by Lemma 1 we get N=degP≥3n, as desired. Comment 1. There are many other collections of 3n planes covering the set S but not covering the origin.