Due to math content, this page has special requirements (including JavaScript) for full functionality.
With your current viewing scenario, it is not appearing and behaving as it is supposed to!
Please visit Dr. Carol J.V. Fisher's Homepage to learn what this site has to offer.
Watch the "Welcome" video to get started—hope to see you back here soon!

Dr. Carol J.V. Fisher's Homepage

For this exercise, you need INTERNET EXPLORER 6.0 and above, with MathPlayer installed.

INTRODUCTION TO RECURSION AND SEQUENCES

Jump right to the exercises!

DEFINITION:   sequence; notation for sequences
A sequence is an ordered list of numbers.
Each number in the sequence is called a term.
The  nth  term can be denoted as either  un  (subscript notation) or  u(n)  (function notation).

EXAMPLE:
The first five terms of the sequence defined by   u(n)= n2    are:
u(1)= 12 =1
u(2)= 22 =4
u(3)= 32 =9
u(4)= 42 =16
u(5)= 52 =25

EXAMPLE:
The 27th term of the sequence defined by   un =n+3   is:
u27 =27+3=30

DEFINITION:   recursion
Recursion is a process in which each step of a pattern is dependent on the step or steps that came before it.

DEFINITION:   recursive formula
A recursive formula must specify:
  • one (or more) starting terms
  • a recursive rule that defines the  nth  term in relation to previous term(s)

EXAMPLES:

The recursive rule
  u1 =2 ;
  un =u n-1 +3  for   n2
generates the sequence
2, 5, 8, 11, 14, …
Thought process: Start with the number 2. To find any other term, take the previous term and add 3.

The recursive rule
   w1 =1,   w2 =1 
   wn =w n-1 + w n-2   for   n3
generates the sequence
1, 1, 2, 3, 5, 8, 13, …
Thought process: Start with the numbers 1 and 1. To find any other term, take the previous two terms and add them together.

Some sequences can be defined both recursively and non-recursively.
For example, the sequence   3, 5, 7, 9, 11, …   can be defined in either of the following ways:
as a recursive sequence:
  u1 =3 ;
  un =u n-1 +2  for   n2
as a nonrecursive sequence:
  un=2n + 1  for   n1


On this exercise, you will not key in your answer.
However, you can check to see if your answer is correct.

Click on "new problem" to get started!
Want to practice a particular problem type?

Solve:





   (press the "BACK" key to return to this page after printing)