Source: http://www.jaicompris.com/lycee/math/suite/arithmetique/suite-arithmetique-exercice.pdf