exp = (1 + x)^30 + (1 - x)^30;
Factor[exp]
(*2 (1 + x^2) (1 + 14 x^2 + x^4) (1 + 44 x^2 + 166 x^4 + 44 x^6 +
x^8) (1 + 376 x^2 + 4380 x^4 + 15944 x^6 + 24134 x^8 +
15944 x^10 + 4380 x^12 + 376 x^14 + x^16)*)
FullSimplify[%]
(*returns above factorized expression*)
Expand[%]//FullSimplify
(*returns above factorized expression*)
Any ideas how to instruct Mathematica to get the original exp
expression? Thanks!