(a + b)2 = a2 + 2ab + b2
(a − b)2 = a2 − 2ab + b2
(a + b)3 = a3 + 3a2b + 3b2a + b3
(a − b)3 = a3 − 3a2b + 3b2a − b3
(a + b)n = C0nan + C1nan−1b + ... + Cknan−kbk + Cnnbn , coefficients Ckn = n! / [k!(n − k)!]
a2 + b2 - not expands
a2 − b2 = (a − b)(a + b)
a3 + b3 = (a + b)(a2 − ab + b2)
a3 − b3 = (a − b)(a2 + ab + b2)