document.write( "Question 340070: What is the equation for this sequence?\r
\n" ); document.write( "\n" ); document.write( "1, 4, 9, 17, 29,...\r
\n" ); document.write( "\n" ); document.write( "I tried n(n-1) + n where n is the nth term, and that only works for the first three terms.
\n" ); document.write( "

Algebra.Com's Answer #243725 by Edwin McCravy(20056)\"\" \"About 
You can put this solution on YOUR website!
1, 4, 9, 17, 29,...
\n" ); document.write( "
\r\n" );
document.write( "We make a difference table and see how many differences\r\n" );
document.write( "it takes before the differences are all the same:\r\n" );
document.write( "\r\n" );
document.write( "1     4     9    17    29   <--- original sequence\r\n" );
document.write( "   3     5     8    12      <--- sequence of 1st differences \r\n" );
document.write( "      2     3     4         <--- sequence of 2nd differences\r\n" );
document.write( "         1     1            <--- sequence of 3rd differences\r\n" );
document.write( "\r\n" );
document.write( "Since the 3rd difference are all the same, a 3rd degree equation\r\n" );
document.write( "will work. Let the 3rd degree equation be\r\n" );
document.write( "\r\n" );
document.write( "\"a%5Bn%5D+=+An%5E3+%2B+Bn%5E2+%2B+Cn+%2B+D\" \r\n" );
document.write( "\r\n" );
document.write( "We substitute the first 4 terms into that.\r\n" );
document.write( "\r\n" );
document.write( "\"a%5B1%5D+=+A%281%29%5E3+%2B+B%281%29%5E2+%2B+C%281%29+%2B+D\"\r\n" );
document.write( "\"a%5B2%5D+=+A%282%29%5E3+%2B+B%282%29%5E2+%2B+C%282%29+%2B+D\"\r\n" );
document.write( "\"a%5B3%5D+=+A%283%29%5E3+%2B+B%283%29%5E2+%2B+C%283%29+%2B+D\"\r\n" );
document.write( "\"a%5B4%5D+=+A%284%29%5E3+%2B+B%284%29%5E2+%2B+C%284%29+%2B+D\"\r\n" );
document.write( "\r\n" );
document.write( "\"1+=+A+%2B+B+%2B+C+%2B+D\"\r\n" );
document.write( "\"4+=+8A+%2B+4B+%2B+2C+%2B+D\"\r\n" );
document.write( "\"9+=+27A+%2B+9B+%2B+3C+%2B+D\"\r\n" );
document.write( "\"17+=+64A+%2B+16B+%2B+4C+%2B+D\"\r\n" );
document.write( "\r\n" );
document.write( "or\r\n" );
document.write( "\r\n" );
document.write( "\"A+%2B+B+%2B+C+%2B+D=1\"\r\n" );
document.write( "\"8A+%2B+4B+%2B+2C+%2B+D=4\"\r\n" );
document.write( "\"27A+%2B+9B+%2B+3C+%2B+D=9\"\r\n" );
document.write( "\"64A+%2B+16B+%2B+4C+%2B+D=17\"\r\n" );
document.write( "\r\n" );
document.write( "Do you know how to solve that system?  If not\r\n" );
document.write( "post again asking how. The solutions are\r\n" );
document.write( "\r\n" );
document.write( "A = \"1%2F6\", B = 0, C = \"11%2F6\", D = -1\r\n" );
document.write( "\r\n" );
document.write( "So the equation is\r\n" );
document.write( "\r\n" );
document.write( "\"a%5Bn%5D=expr%281%2F6%29n%5E3%2B+expr%2811%2F6%29n+-1\"\r\n" );
document.write( "\r\n" );
document.write( "or we could get a common denominator and write it\r\n" );
document.write( "\r\n" );
document.write( "\"a%5Bn%5D=%28n%5E3%2B11n-6%29%2F6\"\r\n" );
document.write( "\r\n" );
document.write( "Edwin
\n" ); document.write( "
\n" );