document.write( "Question 1173561: Suppose apples are in the shape of a pyramid. On the top layer, there is 1 apple. On the second layer, there are 1+2 apples. On the third layer, there is 1+2+3 apples. On the fourth layer, there 1+2+3+4 apples. If there are N number of layers, how many apples are there in total? \n" ); document.write( "
Algebra.Com's Answer #798822 by greenestamps(13200)\"\" \"About 
You can put this solution on YOUR website!


\n" ); document.write( "The number of apples in layer k is

\n" ); document.write( "1+2+3+...+(k-1)+k

\n" ); document.write( "This sum is equal to

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

\n" ); document.write( "That expression is equal to

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

\n" ); document.write( "So the sum we are looking for is

\n" ); document.write( "C(2,2)+C(3,2)+C(4,2)+...+C(N,2)+C(N+1,2)

\n" ); document.write( "Using the hockey stick identity for Pascal's Triangle, this sum is equal to

\n" ); document.write( "\"C%28N%2B2%2C3%29+=+%28%28N%2B2%29%28N%2B1%29%28N%29%29%2F3%21\"

\n" ); document.write( "Do an internet search if you aren't familiar with the hockey stick identity....

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