document.write( "Question 629158: Imagine that you have a set of integers e.g. {1, 2, 3, 4, 5, 6}.
\n" ); document.write( "In how many ways can we form groups of size 1,2,...6, by taking into account that we only can group consecative numbers (and of course single).\r
\n" ); document.write( "\n" ); document.write( "For example, some examples are:
\n" ); document.write( "1) {1} {2} {3} {4} {5} {6} (6 groups)
\n" ); document.write( "2) {1,2} {3,4} {5,6} (3 groups)
\n" ); document.write( "3) {1} {2,3} {4,5} {6} (4 groups)
\n" ); document.write( "4) {1,2,3,4,5,6} (1 group)
\n" ); document.write( "and so on.....
\n" ); document.write( "

Algebra.Com's Answer #396061 by Edwin McCravy(20056)\"\" \"About 
You can put this solution on YOUR website!

\n" ); document.write( "Think of this string:\r
\n" ); document.write( "\n" ); document.write( " A1B2C3D4E5F6G\r
\n" ); document.write( "\n" ); document.write( "We must choose a left bracket \"{\" to go where the A is. That's 1 way.\r
\n" ); document.write( "\n" ); document.write( "We may either choose \"} {\" or a comma \",\" to go where the B is. That's 2 ways.\r
\n" ); document.write( "\n" ); document.write( "We may either choose \"} {\" or a comma \",\" to go where the C is. That's 2 ways.\r
\n" ); document.write( "\n" ); document.write( "We may either choose \"} {\" or a comma \",\" to go where the D is. That's 2 ways.\r
\n" ); document.write( "\n" ); document.write( "We may either choose \"} {\" or a comma \",\" to go where the E is. That's 2 ways.\r
\n" ); document.write( "\n" ); document.write( "We may either choose \"} {\" or a comma \",\" to go where the F is. That's 2 ways.\r
\n" ); document.write( "\n" ); document.write( "We must choose a right bracket \"}\" to go where the G is. That's 1 way.\r
\n" ); document.write( "\n" ); document.write( "Answer: 1󫎾󫎾󫎽 = 32 ways.\r
\n" ); document.write( "\n" ); document.write( "Edwin\r
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "
\n" );