Difference between revisions of "Sequence"

From Wiki @ Karl Jones dot com
Jump to: navigation, search
(Description)
(See also)
 
(2 intermediate revisions by the same user not shown)
Line 22: Line 22:
  
 
* [[Element (mathematics)]]
 
* [[Element (mathematics)]]
 +
* [[HR (program)]] -a [[computer program]] that automatically forms [[Theory|mathematical theories]] by searching for [[Sequence|sequences of numbers]].
 +
* [[Linked list]]
 
* [[Mathematics]]
 
* [[Mathematics]]
 
* [[Natural number]]
 
* [[Natural number]]
Line 32: Line 34:
  
 
* [https://en.wikipedia.org/wiki/Sequence Sequence] @ Wikipedia
 
* [https://en.wikipedia.org/wiki/Sequence Sequence] @ Wikipedia
 +
 +
[[Category:Mathematics]]

Latest revision as of 12:26, 3 September 2016

In mathematics, a sequence is an ordered collection of objects in which repetitions are allowed.

Description

Like a set, it contains members (also called elements, or terms).

The number of elements (possibly infinite) is called the length of the sequence.

Unlike a set, order matters, and exactly the same elements can appear multiple times at different positions in the sequence.

Formally, a sequence can be defined as a function whose domain is a countable totally ordered set, such as the natural numbers.

For example, (M, A, R, Y) is a sequence of letters with the letter 'M' first and 'Y' last. This sequence differs from (A, R, M, Y). Also, the sequence (1, 1, 2, 3, 5, 8), which contains the number 1 at two different positions, is a valid sequence.

Sequences can be finite, as in these examples, or infinite, such as the sequence of all even positive integers (2, 4, 6,...).

Computing and computer science

In computing and computer science, finite sequences are sometimes called strings, words or lists, the different names commonly corresponding to different ways to represent them into computer memory; infinite sequences are also called streams. The empty sequence ( ) is included in most notions of sequence, but may be excluded depending on the context.

See also

External links