\r\n" );
document.write( "What is the equation to find the 21th number of the sequence: 4, 6, 10, 16, ...\r\n" );
document.write( "******************************************************************************\r\n" );
document.write( "What is the equation to find the 21th number of the sequence: 4, 6, 10, 16, ...\r\n" );
document.write( "The 2nd DIFFERENCES (2) are the same, so we have a QUADRATIC sequence. We then use \r\n" );
document.write( "the quadratic form of an equation to find the required equation. \r\n" );
document.write( "QUADRATIC equation form:
\r\n" );
document.write( "We can use any 3 points. 1st point is 4, so coordinate point is (x1, y1) = (1, 4)\r\n" );
document.write( " 2nd point is 6, so coordinate point is (x2, y2) = (2, 6)\r\n" );
document.write( " 3rd point is 10, so coordinate point is (x3, y3) = (3, 10)\r\n" );
document.write( "\r\n" );
document.write( " (1, 4) (2, 6) (3, 10)\r\n" );
document.write( "
\r\n" );
document.write( " 4 = A + B + C ---- eq (i) 6 = 4A + 2B + C ---- eq (ii) 10 = 9A + 3B + C ---- eq (iii) \r\n" );
document.write( "\r\n" );
document.write( " 4 = A + B + C --- eq (i)\r\n" );
document.write( " 6 = 4A + 2B + C --- eq (ii)\r\n" );
document.write( " 10 = 9A + 3B + C --- eq (iii) \r\n" );
document.write( " 2 = 3A + B ------ Subtracting eq (i) from eq (ii) ---- eq (iv)\r\n" );
document.write( " 4 = 5A + B ----- Subtracting eq (ii) from eq (iii) --- eq (v)\r\n" );
document.write( " 2 = 2A ----- Subtracting eq (iv) from eq (v)\r\n" );
document.write( "
\r\n" );
document.write( "\r\n" );
document.write( " 2 = 3(1) = B ------ Substituting 1 for A in eq (iv)\r\n" );
document.write( "2 - 3 = B\r\n" );
document.write( " - 1 = B\r\n" );
document.write( "\r\n" );
document.write( " 4 = 1 + - 1 + C ---- Substituting 1 for A, and - 1 for B, in eq (i)\r\n" );
document.write( " 4 = C\r\n" );
document.write( "\r\n" );
document.write( "With A being 1, B being - 1, and C being 4, the equation for this sequence is:\r\n" );
document.write( "
=
\r\n" );
document.write( "\r\n" );
document.write( "So, the 21st term in this sequence, or 
\n" );
document.write( "