Since integers can be represented as some 6 * k + y where y >= 0 , we can eliminate all integers that can be expressed in this form
if ( n % 2 == 0 or n % 3 == 0 ) : NEW_LINE INDENT return False NEW_LINE DEDENT