Integer factorisations of 2 #
A nonnegative (resp. nonpositive) integer whose product with another integer is 2 is 1 or 2
(resp. -1 or -2), and the cofactor is the other one.
Main results #
Int.eq_one_and_eq_two_or_of_mul_eq_two: the two ordered factorisations of2by a nonnegative first factor.Int.eq_neg_one_and_eq_neg_two_or_of_mul_eq_two: the same for a nonpositive first factor.