Nearly k-distance sets
We say that a set of points S⊂Rd is an ε-nearly k-distance set if there exist 1≤t1≤…≤tk, such that the distance between any two distinct points in S falls into [t1,t1+ε]∪…∪[tk,tk+ε]. In this paper, we study the quantity Mk(d)=limε→0max{∣S∣ : S is an ε-nearly k-distance set in Rd} and its relation to the classical quantity mk(d): the size of the largest k-distance set in Rd. We obtain that Mk(d)=mk(d) for k=2,3, as well as for any fixed k, provided that d is sufficiently large. The last result answers a question, proposed by Erdős, Makai and Pach. We also address a closely related Turán-type problem, studied by Erdős, Makai, Pach, and Spencer in the 80's: given n points in Rd, how many pairs of them form a distance that belongs to [t1,t1+1]∪…∪[tk,tk+1], where t1,…,tk are fixed and any two points in the set are at distance at least 1 apart? We establish the connection between this quantity and a quantity closely related to Mk(d−1), as well as obtain an exact answer for the same ranges k,d as above.