On Λ(p)-subsets of squares