Lagranges theorem completed