(x+1)(x^2+1)(x^4+1)(x^8+1)(x^16+1)(x^32+1)
=[(x-1)(x+1)(x^2+1)(x^4+1)(x^8+1)(x^16+1)(x^32+1)]/(x-1)
=[(x^2-1))(x^2+1)(x^4+1)(x^8+1)(x^16+1)(x^32+1)]/(x-1)
=[(x^4-1)(x^4+1)(x^8+1)(x^16+1)(x^32+1)]/(x-1)
=[(x^8-1)(x^8+1)(x^16+1)(x^32+1)]/(x-1)
=[(x^16-1)(x^16+1)(x^32+1)]/(x-1)
=[(x^32-1)(x^32+1)]/(x-1)
=(x^64-1)/(x-1)