Addition with greatest common factor