document.write( "Question 571989: IN A PILE OF LOGS, EACH LAYER CONTAINS ONE MORE LOG THAN THE LAYER ABOVE,IN THE TOP LAYER CONTAINS JUST ONE LOG. IF THERE ARE 105 LOGS IN THE PILE, HOW MANY LAYERS ARE THERE? \n" ); document.write( "
Algebra.Com's Answer #368267 by htmentor(1343)\"\" \"About 
You can put this solution on YOUR website!
IN A PILE OF LOGS, EACH LAYER CONTAINS ONE MORE LOG THAN THE LAYER ABOVE,IN THE TOP LAYER CONTAINS JUST ONE LOG. IF THERE ARE 105 LOGS IN THE PILE, HOW MANY LAYERS ARE THERE?
\n" ); document.write( "======================
\n" ); document.write( "This is an arithmetic sequence: 1,2,3,4... [counting down from the top of the pile]
\n" ); document.write( "The nth term of an arithmetic sequence is
\n" ); document.write( "a(n) = a(1) + (n-1)d where a(1) = the 1st term, d = the common difference
\n" ); document.write( "In this case a(n) = 1 + (n-1) = n
\n" ); document.write( "The sum of the 1st n terms of the sequence is S(n) = (n/2)(a(1) + a(n)) = 105
\n" ); document.write( "So S(n) = (n/2)(1+n) = 105
\n" ); document.write( "Solve for n:
\n" ); document.write( "n^2 + n - 210 = 0
\n" ); document.write( "Factor:
\n" ); document.write( "(n-14)(n+15) = 0
\n" ); document.write( "Take the positive solution, n=14
\n" ); document.write( "So there are 14 layers
\n" ); document.write( "
\n" ); document.write( "
\n" );