Given two integers n≥1 and q≥2, let A={(a1,…,an):ai∈{0,…,q−1},i=1,…,n}. If a=(a1,…,an) and b=(b1,…,bn) are two elements of A, let δ(a,b)=#{i:ai=bi}. Let further t be a non-negative integer and B a non-empty subset of A such that δ(a,b)≥2t+1, whenever a and b are distinct elements of B. Prove that the two statements below are equivalent:
a) For any a∈A, there is a unique b∈B, such that δ(a,b)≤t;
b) ∣B∣⋅k=0∑t(kn)(q−1)k=qn