This simple page will let you explore the sequence that is given by the following simple rule:

- If the previous number is even, then the next number is half the previous number
- If the previous number is odd, then the next number is one more than triple the previous number

In math-ese, this translates into:

*a*=_{n + 1}*a*/2, if_{n}*a*is even_{n}*a*= 3_{n + 1}*a*+ 1, if_{n}*a*is odd_{n}

The rules above give very different sequences if we use different starting numbers. Try some of the following starting numbers:

- 3
- 7
- 15

Try it out!