In mathematics, a periodic sequence (sometimes called a cycle or orbit) is a sequence for which the same terms are repeated over and over:
a1, a2, ..., ap, a1, a2, ..., ap, a1, a2, ..., ap, ...
The number p of repeated terms is called the period (period).
A (purely) periodic sequence (with period p), or a p-periodic sequence, is a sequence a1, a2, a3, ... satisfying
an+p = anfor all values of n.[1] [2] If a sequence is regarded as a function whose domain is the set of natural numbers, then a periodic sequence is simply a special type of periodic function. The smallest p for which a periodic sequence is p-periodic is called its least period or exact period.
Every constant function is 1-periodic.
The sequence
1,2,1,2,1,2...
The sequence of digits in the decimal expansion of 1/7 is periodic with period 6:
1 | |
7 |
=0.142857142857142857\ldots
More generally, the sequence of digits in the decimal expansion of any rational number is eventually periodic (see below).[3]
The sequence of powers of -1 is periodic with period two:
-1,1,-1,1,-1,1,\ldots
More generally, the sequence of powers of any root of unity is periodic. The same holds true for the powers of any element of finite order in a group.
A periodic point for a function is a point whose orbit
x,f(x),f(f(x)),f3(x),f4(x),\ldots
is a periodic sequence. Here,
fn(x)
kp+m | |
\sum | |
n=1 |
an=
p | |
k*\sum | |
n=1 |
an+
m | |
\sum | |
n=1 |
an
Partial Products
kp+m | |
\prod | |
n=1 |
an=
p | |
({\prod | |
n=1 |
an
Periodic 0, 1 sequences
Any periodic sequence can be constructed by element-wise addition, subtraction, multiplication and division of periodic sequences consisting of zeros and ones. Periodic zero and one sequences can be expressed as sums of trigonometric functions:
0 | |
\sum | |
k=0 |
\cos\left(2\pi
nk | |
1 |
\right)/1=1,1,1,1,1,1,1,1,1, …
1 | |
\sum | |
k=0 |
\cos\left(2\pi
nk | |
2 |
\right)/2=1,0,1,0,1,0,1,0,1,0, …
2 | |
\sum | |
k=0 |
\cos\left(2\pi
nk | |
3 |
\right)/3=1,0,0,1,0,0,1,0,0,1,0,0,1,0,0, …
…
N-1 | |
\sum | |
k=0 |
\cos\left(2\pi
nk | |
N |
\right)/N=1,0,0,0, … ,1, … sequencewithperiodN
One standard approach for proving these identities is to apply De Moivre's formula to the corresponding root of unity. Such sequences are foundational in the study of number theory.
A sequence is eventually periodic or ultimately periodic if it can be made periodic by dropping some finite number of terms from the beginning. Equivalently, the last condition can be stated as
ak+r=ak
1 / 56 = 0 . 0 1 7 8 5 7 1 4 2 8 5 7 1 4 2 8 5 7 1 4 2 ...
A sequence is asymptotically periodic if its terms approach those of a periodic sequence. That is, the sequence x1, x2, x3, ... is asymptotically periodic if there exists a periodic sequence a1, a2, a3, ... for which
\limn → inftyxn-an=0.
For example, the sequence
1 / 3, 2 / 3, 1 / 4, 3 / 4, 1 / 5, 4 / 5, ...
is asymptotically periodic, since its terms approach those of the periodic sequence 0, 1, 0, 1, 0, 1, ....