По формуле разности квадратов
(6−1)⋅(6+1)⋅(6^2+1)⋅(6^4+1)⋅(6^8+1)−6^16+22=
=(6^2−1)⋅(6^2+1)⋅(6^4+1)⋅(6^8+1)−6^16+22=
=(6^4−1)⋅(6^4+1)⋅(6^8+1)−6^16+22=
=(6^8−1)⋅(6^8+1)−6^16+22=
=(6^16−1)−6^16+22=
=-1+22=21
По формуле разности квадратов
(6−1)⋅(6+1)⋅(6^2+1)⋅(6^4+1)⋅(6^8+1)−6^16+22=
=(6^2−1)⋅(6^2+1)⋅(6^4+1)⋅(6^8+1)−6^16+22=
=(6^4−1)⋅(6^4+1)⋅(6^8+1)−6^16+22=
=(6^8−1)⋅(6^8+1)−6^16+22=
=(6^16−1)−6^16+22=
=-1+22=21