جَاءَ ثَلَاثَةُ طُلَّابٍ says that 3 students came; ثَلَاثَةُ is an ordinary number here.
دَخَلَ الطُّلَّابُ ثُلَاثَ means that the students entered 3 at a time; ثُلَاثَ is the transformed distributive adjective.
A similar number meaning does not make both forms grammatically identical.