indeclinable adverb, with rūpena (instrumental singular of rūpa 'form, way, manner') in a compound or quasi-compound form meaning 'in what way, how' — here used adverbially to introduce a modal or interrogative sense
Analysis. kathaṁ (interrogative/relative adverb 'how') + rūpena (instrumental of rūpa 'form, manner', literally 'by what form/way') — a formulaic pairing emphasizing the manner or mode of something; common in questions and rhetorical expressions in the canon.
Etymology. kathaṁ is an old interrogative adverb from Indo-European *kwo- ('who, what'), akin to Latin quī ('who') and English who; rūpa- (form, appearance, feature) descends from the same root as English 'rug' and German 'Rücken' (back — the outward visible aspect), and represents the concrete image of 'what you see', hence 'manner' or 'form'.
Meanings from the Digital Pāḷi Dictionary; morphology and etymology by Claude.
Lite mode — plain HTML for e-readers and old browsers. Full version