The 2nd, 4th and 8th term of an AP are the consecutive term of a GP.
If the sum of the 3rd and 4th term of the AP is 20. Find the sum of the
first four terms of the AP.
∀ a, n ∈ N : ∣a−n∣=1 pour a, n ≥3
a^m ≡1modn (∗)
posons : m=n−1 (∗′)
subtituons cette valeur dans (∗).
on a: a^(n−1) ≡1modn. Mais n n′est pas forcement premier.
Test de primalite
∀ n ∈ N, n ≥3.
(n−2)^(n−1) ≡1modn ⇒ n est premier.