1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
| #! python3
# coding: utf-8
from termcolor import cprint
from math import sqrt, gcd
from timeit import timeit
def phi_euler(n):
"""
Calcul de l'indicatrice d'Euler par différences
Méthode de yoshi le 24-10-2013 18:18:22
Sur http://www.bibmath.net/forums/viewtopic.php?id=6336
Dans le message n° 10
"""
def diviseurs(n): |
...