By the way, I have submitted maths homework that had me continue it up to layer 25. The exercise didn’t explicitly state we should use the binomial formula, so why work smart when you can work hard?
(To be fair I just used WolframAlpha to get the values. Had to write down all terms still and do some calculations.)
Just use the damn Pascal’s triangle!
1 = 1 * 1 = (a+b)^0 1 1 = 1a + 1b = (a+b)^1 1 2 1 = 1a^2 + 2ab + 1b^2 = (a+b)^2 1 3 3 1 = 1a^3 + 3(a^2)b + 3a(b^2) + 1b^3 = (a+b)^3
By the way, I have submitted maths homework that had me continue it up to layer 25. The exercise didn’t explicitly state we should use the binomial formula, so why work smart when you can work hard?
(To be fair I just used WolframAlpha to get the values. Had to write down all terms still and do some calculations.)