document.write( "Question 983064: How many terms are there in the A.P. -7,-4,-1,2...., 101? \n" ); document.write( "
Algebra.Com's Answer #603869 by htmentor(1343)\"\" \"About 
You can put this solution on YOUR website!
The n-th term of an arithmetic progression can be written a_n = a_1 + (n-1)d,
\n" ); document.write( "where a_1 = the first term and d = the common difference.
\n" ); document.write( "In this case a_1 = -7, and d = 3
\n" ); document.write( "For the last term in the sequence we can write 101 = -7 + 3(n-1)
\n" ); document.write( "Solve for n:
\n" ); document.write( "101 = 3n - 10
\n" ); document.write( "n = 111/3 = 37
\n" ); document.write( "So there are 37 terms in the sequence.
\n" ); document.write( "
\n" );