document.write( "Question 260663: A sequence begins with 1, 4, 7, … Another sequence begins with
\n" ); document.write( "99, 95, 91, … At which position is the positive difference between
\n" ); document.write( "the respective terms of the two sequences the minimum?
\n" ); document.write( "
\n" ); document.write( "

Algebra.Com's Answer #192015 by jsmallt9(3759)\"\" \"About 
You can put this solution on YOUR website!
Both of these sequences are arithmetic sequences. The general formula for the terms of an arithmetic sequence is:
\n" ); document.write( "\"a%5Bn%5D+=+a%5B1%5D+%2B+%28n-1%29d\"
\n" ); document.write( "For the first sequence, since the first term, \"a%5B1%5D\", is 1 and the common difference, d, is 3 we get:
\n" ); document.write( "\"a%5Bn%5D+=+1+%2B+%28n-1%293\"
\n" ); document.write( "For the second sequence we get:
\n" ); document.write( "\"a%5Bn%5D+=+99+%2B+%28n-1%29%28-4%29\"
\n" ); document.write( "The positive difference in these terms, which we'll call D, is:
\n" ); document.write( "\"D+=+abs%28%281+%2B+%28n-1%293%29+-+%2899+%2B+%28n-1%29%28-4%29%29%29\"
\n" ); document.write( "(Note how we use absolute value to ensure a positive difference.) Simplifying this we get:
\n" ); document.write( "\"D+=+abs%28%281+%2B+3n-3%29+-+%2899+%2B+-4n+%2B+4%29%29\"
\n" ); document.write( "\"D+=+abs%28%283n-2%29+-+%28103+%2B+-4n%29%29\"
\n" ); document.write( "\"D+=+abs%287n+-+105%29\"
\n" ); document.write( "So the question is: What value of n makes 7n - 105 closest to zero? After a little effort we find that if n = 15, then 7n - 105 is zero! In other words, the 15th term of both sequences is the same!\r
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );