Source: https://mathsdoriangcarlus.files.wordpress.com/2020/01/cpi_c1_stat_exos_correct.pdf