Sequence

In mathematics, a sequence is an enumerated collection of objects in which repetitions are allowed and order matters. 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, the same elements can appear multiple times at different positions in a sequence, and unlike a set, the order does matter. Formally, a sequence can be defined as a function whose domain is either the set of the natural numbers (for infinite sequences), or the set of the first n natural numbers (for a sequence of finite length n). Sequences are one type of indexed families as an indexed family is defined as a function which domain is called the index set, and the elements of the index set are the indices for the elements of the function image.
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, ...).
The position of an element in a sequence is its rank or index; it is the natural number for which the element is the image. The first element has index 0 or 1, depending on the context or a specific convention. In mathematical analysis, a sequence is often denoted by letters in the form of




a

n




{\displaystyle a_{n}}
,




b

n




{\displaystyle b_{n}}
and




c

n




{\displaystyle c_{n}}
, where the subscript n refers to the nth element of the sequence; for example, the nth element of the Fibonacci sequence



F


{\displaystyle F}
is generally denoted as




F

n




{\displaystyle F_{n}}
.

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 in computer memory; infinite sequences are called streams. The empty sequence ( ) is included in most notions of sequence, but may be excluded depending on the context.

View More On Wikipedia.org
  • 1620

    Greg Bernhardt

    A PF Singularity From USA
    • Messages
      19,443
    • Media
      227
    • Reaction score
      10,021
    • Points
      1,237
  • 2

    Euler2718

    A PF Molecule
    • Messages
      90
    • Reaction score
      3
    • Points
      61
  • 2

    CGandC

    A PF Molecule
    • Messages
      326
    • Reaction score
      34
    • Points
      73
  • 1

    DaniV

    A PF Atom From Israel
    • Messages
      34
    • Reaction score
      3
    • Points
      37
  • 1

    ellaingeborg

    A PF Electron
    • Messages
      4
    • Reaction score
      0
    • Points
      11
  • 1

    diredragon

    A PF Molecule
    • Messages
      323
    • Reaction score
      15
    • Points
      67
  • 1

    Gwozdzilla

    A PF Electron
    • Messages
      81
    • Reaction score
      0
    • Points
      11
  • 1

    nomadreid

    A PF Mountain From Israel
    • Messages
      1,670
    • Reaction score
      204
    • Points
      212
  • 1

    Amad27

    A PF Electron
    • Messages
      412
    • Reaction score
      1
    • Points
      16
  • 1

    ironman

    A PF Quark
    • Messages
      17
    • Reaction score
      0
    • Points
      1
  • 1

    timnswede

    A PF Electron
    • Messages
      101
    • Reaction score
      0
    • Points
      16
  • 1

    NihalRi

    A PF Atom From Atlanta
    • Messages
      134
    • Reaction score
      12
    • Points
      26
  • 1

    acurate

    A PF Quark
    • Messages
      17
    • Reaction score
      1
    • Points
      1
  • 1

    Matejxx1

    A PF Molecule 26 From jesenice
    • Messages
      72
    • Reaction score
      1
    • Points
      60
  • 1

    whitejac

    A PF Atom
    • Messages
      169
    • Reaction score
      0
    • Points
      36
  • 1

    beamthegreat

    A PF Molecule
    • Messages
      116
    • Reaction score
      7
    • Points
      63
  • 1

    Delta2

    A PF Asteroid 50 From Athens,Greece
    • Messages
      6,002
    • Reaction score
      2,625
    • Points
      407
  • 1

    Ling Min Hao

    A PF Quark
    • Messages
      22
    • Reaction score
      0
    • Points
      1
  • 1

    doktorwho

    A PF Electron
    • Messages
      181
    • Reaction score
      6
    • Points
      17
  • 1

    transmini

    A PF Electron
    • Messages
      81
    • Reaction score
      1
    • Points
      15
  • Back
    Top