document.write( "Question 900304: A customer walks into a bakery, where there is a try and brownies. The customer says I’ll take half the brownies in the try, plus half a brownie. After his order if fulfilled, a second customer walks in and says, I’ll take half the brownies in the try, plus half a brownie, after second customer order is fulfilled a third customer walks in and says, I’ll take half the brownies in the tray, plus half a brownie after third customer have been through there are no brownies remaining and the try is empty. How many brownies were in the tray on day one, just before the first customer came in \n" ); document.write( "
Algebra.Com's Answer #545875 by josmiceli(19441)\"\" \"About 
You can put this solution on YOUR website!
Let \"+n+\" = the number of brownies in the tray
\n" ); document.write( "at the start
\n" ); document.write( "------------------
\n" ); document.write( "The 1st customer takes
\n" ); document.write( "\"+n%2F2+%2B+1%2F2+\" brownies
\n" ); document.write( "That means there are
\n" ); document.write( "\"+n+-+%28+n%2F2+%2B+1%2F2+%29+\"
\n" ); document.write( "\"+n%2F2+-+1%2F2+\"
\n" ); document.write( "brownies left
\n" ); document.write( "------------------
\n" ); document.write( "The 2nd customer takes
\n" ); document.write( "\"+%28+1%2F2%29%2A%28+n%2F2+-+1%2F2+%29+%2B+1%2F2+\"
\n" ); document.write( "\"+n%2F4+-+1%2F4+%2B+1%2F2+\"
\n" ); document.write( "\"+n%2F4+%2B+1%2F4+\"
\n" ); document.write( "That means there are
\n" ); document.write( "\"+%28+n%2F2+-+1%2F2+%29+-+%28+n%2F4+%2B+1%2F4+%29+\"
\n" ); document.write( "\"+n%2F2+-+1%2F2+-+n%2F4+-+1%2F4+\"
\n" ); document.write( "\"+n%2F4+-+3%2F4+\"
\n" ); document.write( "brownies left
\n" ); document.write( "------------------
\n" ); document.write( "The 3rd customer takes
\n" ); document.write( "\"+%281%2F2%29%2A%28+n%2F4+-+3%2F4+%29+%2B+1%2F2+\"
\n" ); document.write( "\"+n%2F8+-+3%2F8+%2B+4%2F8+\"
\n" ); document.write( "\"+n%2F8+%2B+1%2F8+\"
\n" ); document.write( "That means there are
\n" ); document.write( "\"+%28+n%2F4+-+3%2F4+%29+-+%28+n%2F8+%2B+1%2F8+%29+\"
\n" ); document.write( "\"+n%2F4+-+6%2F8+-+n%2F8+-+1%2F8+\"
\n" ); document.write( "\"+n%2F8+-+7%2F8+\"
\n" ); document.write( "brownies left
\n" ); document.write( "-----------------
\n" ); document.write( "You are told also that
\n" ); document.write( "\"+n%2F8+-+7%2F8+=+0+\"
\n" ); document.write( "\"+n%2F8+=+7%2F8+\"
\n" ); document.write( "\"+n+=+7+\"
\n" ); document.write( "---------------
\n" ); document.write( "There were 7 brownies before 1st customer came in
\n" ); document.write( "check:
\n" ); document.write( "1st customer took
\n" ); document.write( "\"+7%2F2+%2B+1%2F2+=+4+\"
\n" ); document.write( "There were
\n" ); document.write( "\"+7+-+4+=+3+\" left
\n" ); document.write( "-----------------
\n" ); document.write( "The 2nd customer took
\n" ); document.write( "\"+3%2F2+%2B+1%2F2+=+2+\"
\n" ); document.write( "There were
\n" ); document.write( "\"+3+-+2+=+1+\" left
\n" ); document.write( "------------------
\n" ); document.write( "The 3rd customer took
\n" ); document.write( "\"+1%2F2+%2B+1%2F2+=+1+\"
\n" ); document.write( "There were
\n" ); document.write( "\"+1+-+1+=+0+\" left
\n" ); document.write( "OK\r
\n" ); document.write( "\n" ); document.write( " \r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );