\(S=\left(2+2^2\right)+\left(2^3+2^4\right)+...+\left(2^{95}+2^{96}\right)\\ S=\left(1+2\right)\left(2+2^3+...+2^{95}\right)\\ S=3\left(2+2^3+...+2^{95}\right)⋮3\left(1\right)\\ S=\left(2+2^2\right)+2^3\left(1+2^2+...+2^{93}\right)\\ S=8+8\left(1+2^2+...+2^{93}\right)⋮8\left(2\right)\\ \left(1\right)\left(2\right)\Rightarrow S⋮24\)