Some factorizations of 2ⁿ±1 and related results