factorisation generation code operation simples