Source: http://mathematiques.tips/wp-content/uploads/2017/01/2_Reductions.pdf