
Informatique théorique
Travail demandé:
Qu’arrive-t-il quand on exécute un programme qui
vérifie le grand théorème de Fermat ?
Réponse:
Rappel de l’hypothèse de Fermat :
Pour n entier, n ≥ 3, il n’existe
pas d’entiers positifs a, b, c tels
que :
an + bn = cn
Programme en C++ :
Afin de constater...