Keywords:
Sidon sets, Congruence, Algorithm, Additive number theory
Abstract
Let n and k be integers. A set A⊂Z/nZ is k-free if for all x in A, kx∉A. We determine the maximal cardinality of such a set when k and n are coprime. We also study several particular cases and we propose an efficient algorithm for solving the general case. We finally give the asymptotic behaviour of the minimal size of a k-free set in [1,n] which is maximal for inclusion.