Theorem 4 (Frankl-Wilson Theorem). Assuming that:

  • p is prime

  • λ1,,λs (sr)

  • λir(modp) for each i

  • AX(r) such that for all distinct x,yA have |xy|λi(modp) for some i

Then |A|ns.