if remainder is present is original array return 1 , else return 0
if remainder in original_array : NEW_LINE INDENT return 1 NEW_LINE DEDENT return 0 NEW_LINE Arr = [ 2 , 3 , 4 , 8 , 5 , 7 ] NEW_LINE N = len ( Arr ) NEW_LINE