Using the Difference Method to Find an Equation to Establish the Number of Squares in a 3D Version of the Pattern
Using the Difference Method to Find an Equation to Establish the Number of Squares in a 3D Version of the PatternPos.in seq. 0 1 2 3 4 5 No.of squar. -1 1 7 25 63 129 1st differ. 2 6 18 38 66 2nd differ. 4 12 20 28 36 3rd differ. 8 8 8 8 So therefore we get the equation;anƒ + bn2 + cn + dWe already know the values of 'n' (position in sequence) in the equation so now we have to find out the values of a, b, c, and d.If n = 0 then d = -1 and if n = 1 then d = 1I can now get rid of d from the equation to make it easier to find the rest of the values. I will will take n = 2 to do this in the following way:1st calculation _ 8a + 4b + 2c + da + b + c +d 7a + 3b + c D will always be added to each side of the equation.2nd8a + 4b + 2c = 8 = 4a + 2b + c = 42 So then n = 2 8a + 4b + 2c = 8 = 4a + 2b + c = 4n = 3 27a + 9b + 3c = 26n = 4 64a + 16b +4c