I was revisiting some old research, and re-discovered a way of computing triggers , part of which relied on an LCM search.
genA := (?genA asInteger).
genB := (?genB asInteger).
genC := (?genC asInteger).
numtrigs := (genA lcm: genB) lcm: genC.
Wondered what would be a better way to do this, so the variables can be changed live in the VCS?