\r\n" );
document.write( "\r\n" );
document.write( "As you observed, the nth term is the sum of the first n squares. \r\n" );
document.write( "\r\n" );
document.write( "1 = 1² \r\n" );
document.write( "\r\n" );
document.write( "5 = 1²+2² \r\n" );
document.write( "\r\n" );
document.write( "14 = 1²+2²+3² \r\n" );
document.write( "\r\n" );
document.write( "30 = 1²+2²+3²+4²\r\n" );
document.write( "\r\n" );
document.write( "So the nth term is 1²+2²+3²+...+n²\r\n" );
document.write( "\r\n" );
document.write( "That should be related to the sum 1+2+3+...+n\r\n" );
document.write( "\r\n" );
document.write( "1+2+3+...+n is the sum of an arithmetic series with a1=1 and d=1\r\n" );
document.write( "\r\n" );
document.write( "Using the formula for the sum of the an arithmetic series to n terms:\r\n" );
document.write( "\r\n" );
document.write( "1+2+3+...+n =
or
\r\n" );
document.write( "\r\n" );
document.write( "Let's divide each term of our sequence by the sum of the \r\n" );
document.write( "first n natural numbers, and see if we get a recognizable\r\n" );
document.write( "pattern:\r\n" );
document.write( "\r\n" );
document.write( "1/(1) = 1\r\n" );
document.write( "\r\n" );
document.write( "5/(1+2) = 5/3\r\n" );
document.write( "\r\n" );
document.write( "14/(1+2+3) = 14/6 = 7/3\r\n" );
document.write( "\r\n" );
document.write( "30/(1+2+3+4) = 30/10 = 3\r\n" );
document.write( "\r\n" );
document.write( "Now if we write 1 as 3/3 and 3 and 9/3 we do have a \r\n" );
document.write( "recognizable pattern\r\n" );
document.write( "\r\n" );
document.write( "3/3, 5/3, 7/3, 9/3, ...\r\n" );
document.write( "\r\n" );
document.write( "The numerators go 3,5,7,9,... each of which is 1 more than 2,4,6,8,...\r\n" );
document.write( "which has nth term 2n\r\n" );
document.write( "\r\n" );
document.write( "So 3,5,7,9, has nth term 2n+1\r\n" );
document.write( "\r\n" );
document.write( "So 3/3, 5/3, 7/3, 9/3 has nth term (2n+1)/3\r\n" );
document.write( "\r\n" );
document.write( "Since we got that sequence by DIVIDING our sequence by the sums of the \r\n" );
document.write( "first n natural numbers, the nth term of our sequence is gotten by \r\n" );
document.write( "MULTIPLYING those two nth terms. So the nth ordered pair is given\r\n" );
document.write( "by the equation:\r\n" );
document.write( " \r\n" );
document.write( "

\r\n" );
document.write( "\r\n" );
document.write( "or\r\n" );
document.write( "\r\n" );
document.write( "

\r\n" );
document.write( "\r\n" );
document.write( "Edwin
\n" );
document.write( "