if not divisible by any number between 2 and k - 1 but divisible by k
if ( num % k == 0 ) : NEW_LINE INDENT return 1 NEW_LINE DEDENT else : NEW_LINE INDENT return 0 NEW_LINE DEDENT else : NEW_LINE return 0 NEW_LINE