Loop to check that every divisor divides 2 ^ D - 2
for i in d : NEW_LINE INDENT x = ( 2 ** i - 2 ) / i NEW_LINE if int ( x ) != x : NEW_LINE INDENT return False NEW_LINE DEDENT DEDENT return True NEW_LINE