document.write( "Question 847871: What is the formula for this sequence:
\n" ); document.write( " 21, 45, 77, 117, 165 ?
\n" ); document.write( "
\n" ); document.write( "

Algebra.Com's Answer #510715 by swincher4391(1107)\"\" \"About 
You can put this solution on YOUR website!
Let's look at some things. What is the difference between these numbers?\r
\n" ); document.write( "\n" ); document.write( "45 -21 = 24\r
\n" ); document.write( "\n" ); document.write( "77-45 = 32\r
\n" ); document.write( "\n" ); document.write( "117 - 77 = 40...\r
\n" ); document.write( "\n" ); document.write( "etc. It seems as though our difference is increasing by 8 each time.\r
\n" ); document.write( "\n" ); document.write( "By knowing that the 2nd difference is 8, we know that the function is of the form 4n^2 + something. In general, an^2 has second difference 2a.\r
\n" ); document.write( "\n" ); document.write( "We also realize that the difference between a_0 and a_1 is 16.\r
\n" ); document.write( "\n" ); document.write( "So a_0 = 5.\r
\n" ); document.write( "\n" ); document.write( "So we have 4n^2 + b*n + 5\r
\n" ); document.write( "\n" ); document.write( "This should be enough to figure out what b is.\r
\n" ); document.write( "\n" ); document.write( "Take a_2 for instance.\r
\n" ); document.write( "\n" ); document.write( "4(2)^2 + b*2 + 5 = 45\r
\n" ); document.write( "\n" ); document.write( "16 + 2b + 5 = 45\r
\n" ); document.write( "\n" ); document.write( "2b = 24\r
\n" ); document.write( "\n" ); document.write( "b = 12\r
\n" ); document.write( "\n" ); document.write( "So our entire function a_n = 4n^2 + 12n + 5\r
\n" ); document.write( "\n" ); document.write( "We check our answer:\r
\n" ); document.write( "\n" ); document.write( "a(1) = 4 + 12 + 5 = 21\r
\n" ); document.write( "\n" ); document.write( "a(2) = 4*4 + 24 + 5 = 45\r
\n" ); document.write( "\n" ); document.write( "a(3) = 4*9 + 36 + 5 = 77\r
\n" ); document.write( "\n" ); document.write( "a(4) = 4*16 + 48 + 5 = 117\r
\n" ); document.write( "\n" ); document.write( "a(5) = 4*25 + 60 + 5 = 165\r
\n" ); document.write( "\n" ); document.write( "Just for fun a(10) = 4*100 + 12*10 + 5 = 525. Simple.
\n" ); document.write( "
\n" ); document.write( "
\n" );