ثَلَاثَةٌ ordinarily expresses a count of three, while ثُلَاثَ expresses distribution in groups of three.
جَاءَ ثَلَاثَةُ طُلَّابٍ
Translation: Three students came. This states the number.
دَخَلَ الطُّلَّابُ ثُلَاثَ
Translation: The students entered in threes. This describes their distribution.
The distinction helps explain why distributive forms are considered in the discussion of ʿadl.