Tutorial 6 - Assignment Sequence
Tutorial 6 - Assignment Sequence
Definition
- A sequence is a list of numbers
(or other things) that changes
according to some sort of pattern.
Concept
A sequence is an arrangement of any objects or a set of numbers in a particular order
followed by some rule. If a1, a2, a3, a4,……… etc. denote the terms of a sequence, then
1,2,3,4,…..denotes the position of the term.
A sequence can be defined based on the number of terms i.e. either finite sequence or infinite
sequence.
Example :
- Finite sequence: 1,2,3,4,5
- Infinite sequence: 1,2,3,4,……
There are finite sequences that just stop after a certain number of times.
Like this :
-
And there are infinite sequences that keep on going forever and ever.
Like:
-
Types of Sequence
Some of the most common examples of sequences are:
Arithmetic Sequences
Geometric Sequences
Harmonic Sequences
Fibonacci Numbers
Arithmetic Sequences
A sequence in which every term is created by adding or subtracting a definite number to the
preceding number is an arithmetic sequence.
Geometric Sequences
A sequence in which every term is obtained by multiplying or dividing a definite number
with the preceding number is known as a geometric sequence.
Sequences Harmonic
A series of numbers is said to be in harmonic sequence if the reciprocals of all the elements
of the sequence form an arithmetic sequence.
Fibonacci Numbers
Fibonacci numbers form an interesting sequence of numbers in which each element is
obtained by adding two preceding elements and the sequence starts with 0 and 1. Sequence is
defined as, F0 = 0 and F1 = 1 and Fn = Fn-1 + Fn-2
EXAMPLE
With numbers, we usually assign each spot with a special symbol:
Can you figure out what the next term will be? Maybe you saw the pattern right
away... and maybe you didn't
This one's not so simple... There IS a pattern, but it's a bit buried.
Let's list the differences between the terms and see if that helps.
We're adding 2 each time down here, so just continue with this pattern and work
your way back up:
We won't be working with these buried guys in later sections, but, they're kind of
interesting, so I wanted to show them to you.
FORMULA
Check it out:
and so on...
The thing about the last two formulas is that you can just jump in and find ANY
term of the sequence!
So,
let n = 3:
let n = 4:
let n = 5:
let n = 6:
and so on..
EXAMPLE
and
let n = 2:
let n = 3:
let n = 4:
let n = 5: