document.write( "Question 1020460: Your help will be appreciated thanks!
\n" ); document.write( "Let a(1)=5. Define a(n) to be (a(n-1))/2 if a(n-1) is even, 3a(n-1)+1 if a(n-1) is odd for all other natural numbers n. What is the fourth term of the sequence?
\n" ); document.write( "

Algebra.Com's Answer #636348 by ikleyn(52817)\"\" \"About 
You can put this solution on YOUR website!
.
\n" ); document.write( "Your help will be appreciated thanks!
\n" ); document.write( "Let a(1)=5. Define a(n) to be (a(n-1))/2 if a(n-1) is even, 3a(n-1)+1 if a(n-1) is odd for all other natural numbers n.
\n" ); document.write( "What is the fourth term of the sequence?
\n" ); document.write( "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "
\r\n" );
document.write( "Let us calculate the second term. Since \"a%5B1%5D\"=5 is odd, \"a%5B2%5D\" = \"3%2Aa%5B1%5D%2B1\" = 3*5+1= 16.\r\n" );
document.write( "\r\n" );
document.write( "Now calculate the third term. Since \"a%5B2%5D\"=16 is even, \"a%5B3%5D\" = \"a%5B2%5D%2F2\" = \"16%2F2\" = 8.\r\n" );
document.write( "\r\n" );
document.write( "Next calculate the fourth term. Since \"a%5B3%5D\"=8 is even, \"a%5B4%5D\" = \"a%5B3%5D%2F2\" = \"8%2F2\" = 4.\r\n" );
document.write( "

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