The first few terms of this AP are: \n" );
document.write( "a=1, a+d=5, a+2d=9, a+3d=13, ... \n" );
document.write( "or, just: 1, 5, 9, 13, ...\r \n" );
document.write( "\n" );
document.write( "The Sum of the first n terms is given by: \n" );
document.write( " \n" );
document.write( "So substituting a=1, d=4 and n=14 gives: \n" );
document.write( " \r \n" );
document.write( "\n" );
document.write( " |
\n" );
document.write( "