avatÄre á¹£oá¸aÅ›ame
paÅ›yan brahma-druho ná¹›pÄn
triḥ-sapta-kṛtvaḥ kupito
niḥ-ká¹£atrÄm akaron mahÄ«m
Trih-sapta-krtvah means twenty-one times (3x7). Krtvah is used as a suffix after numerals to indicate counting of repeated actions. Also numerals with the suffix suc such as trih indicate repeated actions. (Panini 5.4.17-18)