adjective, locative singular masculine (paṭhamasmiṁ = paṭhama + -smiṁ)
Analysis. Simple word; the locative ending -smiṁ marks location or reference point: 'in the first', 'on the first occasion'.
Etymology. From PIE *per- 'forward, through' (related to Sanskrit prathama, Greek prôtos 'first', Latin primus 'first'). The concrete sense is 'foremost' — that which comes first along a path.
Meanings from the Digital Pāḷi Dictionary; morphology and etymology by Claude.
Lite mode — plain HTML for e-readers and old browsers. Full version