SSC CGL 21 Jul 2023 Shift 3 — Question 51 (Algebra)

Easy2023
Simplify the following expression. [(1+p)(1+p2)(1+p4)(1+p8)(1+p16)(1−p)−1][(1+p)(1+p^2)(1+p^4)(1+p^8)(1+p^{16})(1-p)-1]