\n" );
document.write( "Hi, \n" );
document.write( "Re: finding the nth term in a series\r \n" );
document.write( "\n" );
document.write( "Aritmetic Series \n" );
document.write( " where d is the difference in terms\r \n" );
document.write( "\n" );
document.write( "Geometric Series \n" );
document.write( " Where r is the ratio between terms