slightly off topic, but:
given number X translate to triggers 1-4 in binary
TR 1 NZ AND X 1
TR 2 NZ AND X 2
TR 3 NZ AND X 4
TR 4 NZ AND X 8
basically does a bitwise AND with the binary position (power of 2) and checks if this is zero or not
on topic:
for number X, looking at step Y (16 bit)
TR 1 NZ AND X LSH 1 Y
that’ll do it. just increase Y for the step position, X is the “sequence” of 16 bits.
so yes, TT can do all this-- with one line. math is cool yeah?