document.write( "Question 863255: Hi I have a problem with formula for series. \r
\n" ); document.write( "\n" ); document.write( "The 1st 5 numbers are: 5, 10, 17, 26, 37.
\n" ); document.write( "As you can see differences have differences themselves. I know the sequence would be quadratic because I worked it out: n^2+2n+2
\n" ); document.write( "Next part of the question is how many blocks is it needed for 21 patterns.
\n" ); document.write( "Formula for series with constant difference is there. But the difference is changing so I don't know what to do, or what to google.
\n" ); document.write( "

Algebra.Com's Answer #520280 by rothauserc(4718)\"\" \"About 
You can put this solution on YOUR website!
quadratic series is n^2 + 2n + 2 as you discovered
\n" ); document.write( "to find the sum of the first 21 patterns, we need to break this apart
\n" ); document.write( "(sum)n^2 + (sum)2n + (sum)2, all from 1 to 21
\n" ); document.write( "we know the sum for the power series n^2 is
\n" ); document.write( "(n(n+1)(2n+1))/6
\n" ); document.write( "the sum for 2n is the sum of even integers
\n" ); document.write( "n(x1+xn)/2
\n" ); document.write( "the sum of 21 \"2\"'s is
\n" ); document.write( "21*2
\n" ); document.write( "now we can put it all together
\n" ); document.write( "(21*22*43)/6 + 21*(2+42)/2 + 42 = 3815
\n" ); document.write( "you need 3815 blocks
\n" ); document.write( "
\n" ); document.write( "
\n" );