algebraic-group factorisation algorithms