document.write( "Question 1210224: Find the number of sequences containing three terms, such that
\n" ); document.write( "* The second term is equal to the sum of the first term plus one.\r
\n" ); document.write( "\n" ); document.write( "* The third term is equal to twice the second term.
\n" ); document.write( "* Each term is an integer in \{0, 1, 2, \dots, 100\}.
\n" ); document.write( "
\n" ); document.write( "

Algebra.Com's Answer #851693 by greenestamps(13200)\"\" \"About 
You can put this solution on YOUR website!


\n" ); document.write( "According to the definition of the sequence, each sequence is of the form

\n" ); document.write( "n, n+1, 2n+2

\n" ); document.write( "The numbers that can be used are the integers from 0 to 100, inclusive. So the \"last\" sequence is the one in which 2n+2 is equal to 100.

\n" ); document.write( "2n+2 = 100
\n" ); document.write( "2n = 98
\n" ); document.write( "n = 49

\n" ); document.write( "The \"first\" sequence is clearly the one in which n is 0.

\n" ); document.write( "So the sequences that satisfy the conditions of the problem are those where n is from 0 to 49, inclusive, which means 50 such sequences.

\n" ); document.write( "ANSWER: 50

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