Source: https://mathadoc.sesamath.net/Documents/college/5eme/5priorit/F1priorit.PDF