According to the AKS primality test:
$$(x-1)^p - (x^p-1)$$
If all coefficients (which can be found in Pascal's triangle) are divisible by p then p is prime.
If we sum these coefficients we get:
$2$ for $p = 2$;
$6$ for $p = 3$;
$14$ for $p = 4$;
$30$ for $p = 5$
$\ldots$
If all the coefficients are divisible by p, then the sum of all those coefficients must also be divisible by p
$sum = 2^p - 2$
So if $(2^p - 2) / p$ is a natural number, can we conclude that $p$ is definitely prime?
Please correct me if I made any obvious mistake