"sarūpāṇām eka-śeṣa eka-vibhaktau"
rāmaś ca rāmaś ca rāmaś ca rāmā itivat
sa-rūpāṇām—of words of the same form; eka-śeṣaḥ—only the last; eka-vibhaktau—in the same case; ukta-arthānām—of the previously spoken meanings; aprayogaḥ—nonapplication; rāmaḥ ca—and Rāma; rāmaḥ ca—and Rāma; rāmaḥ ca—and Rāma; rāmāḥ itivat—in this way, by one rāma, many rāmas are indicated.
" 'Of words having the same form and case termination, the last one is the only one retained. For example, the word rāmaḥ is used to stand for rāmaś ca, rāmaś ca, rāmaś ca, etc.'
This is a quotation from Pāṇini's sūtras (1.2.64).
Link to this page: https://prabhupadabooks.com/cc/madhya/24/151