ternately

In a ternate manner; so as to form groups of three.