In number theory, the Padovan sequence is the sequence of integers P(n) defined[1] by the initial values
P(0)=P(1)=P(2)=1,
and the recurrence relation
P(n)=P(n-2)+P(n-3).
The first few values of P(n) are
1, 1, 1, 2, 2, 3, 4, 5, 7, 9, 12, 16, 21, 28, 37, 49, 65, 86, 114, 151, 200, 265, ...
A Padovan prime is a Padovan number that is prime. The first Padovan primes are:
2, 3, 5, 7, 37, 151, 3329, 23833, 13091204281, 3093215881333057, 1363005552434666078217421284621279933627102780881053358473, 1558877695141608507751098941899265975115403618621811951868598809164180630185566719, ... .
The Padovan sequence is named after Richard Padovan who attributed its discovery to Dutch architect Hans van der Laan in his 1994 essay Dom. Hans van der Laan : Modern Primitive.[2] The sequence was described by Ian Stewart in his Scientific American column Mathematical Recreations in June 1996.[3] He also writes about it in one of his books, "Math Hysteria: Fun Games With Mathematics".[4]
The above definition is the one given by Ian Stewart and by MathWorld. Other sources may start the sequence at a different place, in which case some of the identities in this article must be adjusted with appropriate offsets.
In the spiral, each triangle shares a side with two others giving a visual proof that the Padovan sequence also satisfies the recurrence relation
P(n)=P(n-1)+P(n-5)
Starting from this, the defining recurrence and other recurrences as they are discovered,one can create an infinite number of further recurrences by repeatedly replacing
P(m)
P(m-2)+P(m-3)
The Perrin sequence satisfies the same recurrence relations as the Padovan sequence, although it has different initial values.
The Perrin sequence can be obtained from the Padovan sequence by the following formula:
Perrin(n)=P(n+1)+P(n-10).
As with any sequence defined by a recurrence relation, Padovan numbers P(m) for m<0 can be defined by rewriting the recurrence relation as
P(m)=P(m+3)-P(m+1),
Starting with m = −1 and working backwards, we extend P(m) to negative indices:
P−20 | P−19 | P−18 | P−17 | P−16 | P−15 | P−14 | P−13 | P−12 | P−11 | P−10 | P−9 | P−8 | P−7 | P−6 | P−5 | P−4 | P−3 | P−2 | P−1 | P0 | P1 | P2 |
7 | −7 | 4 | 0 | −3 | 4 | −3 | 1 | 1 | −2 | 2 | −1 | 0 | 1 | −1 | 1 | 0 | 0 | 1 | 0 | 1 | 1 | 1 |
The sum of the first n terms in the Padovan sequence is 2 less than P(n + 5), i.e.
n | |
\sum | |
m=0 |
P(m)=P(n+5)-2.
Sums of alternate terms, sums of every third term and sums of every fifth term are also related to other terms in the sequence:
n | |
\sum | |
m=0 |
P(2m)=P(2n+3)-1
n | |
\sum | |
m=0 |
P(2m+1)=P(2n+4)-1
n | |
\sum | |
m=0 |
P(3m)=P(3n+2)
n | |
\sum | |
m=0 |
P(3m+1)=P(3n+3)-1
n | |
\sum | |
m=0 |
P(3m+2)=P(3n+4)-1
n | |
\sum | |
m=0 |
P(5m)=P(5n+1).
Sums involving products of terms in the Padovan sequence satisfy the following identities:
n | |
\sum | |
m=0 |
P(m)2=P(n+2)2-P(n-1)2-P(n-3)2
n | |
\sum | |
m=0 |
P(m)2P(m+1)=P(n)P(n+1)P(n+2)
n | |
\sum | |
m=0 |
P(m)P(m+2)=P(n+2)P(n+3)-1.
The Padovan sequence also satisfies the identity
P(n)2-P(n+1)P(n-1)=P(-n-7).
The Padovan sequence is related to sums of binomial coefficients by the following identity:
P(k-2)=\sum2m+n=k{m\choosen}=
\lfloork/2\rfloor | |
\sum | |
m=\lceilk/3\rceil |
{m\choosek-2m}.
For example, for k = 12, the values for the pair (m, n) with 2m + n = 12 which give non-zero binomial coefficients are (6, 0), (5, 2) and (4, 4), and:
{6\choose0}+{5\choose2}+{4\choose4}=1+10+1=12=P(10).
The Padovan sequence numbers can be written in terms of powers of the roots of the equation[1]
x3-x-1=0.
This equation has 3 roots; one real root p (known as the plastic ratio) and two complex conjugate roots q and r.[5] Given these three roots, the Padovan sequence can be expressed by a formula involving p, q and r :
P(n)=apn+bqn+crn
where a, b and c are constants.[1]
Since the absolute values of the complex roots q and r are both less than 1 (and hence p is a Pisot–Vijayaraghavan number), the powers of these roots approach 0 for large n, and
P(n)-apn
For all
n\ge0
p5 | |
2p+3 |
pn
p5 | |
2p+3 |
The ratio of successive terms in the Padovan sequence approaches p, which has a value of approximately 1.324718. This constant bears the same relationship to the Padovan sequence and the Perrin sequence as the golden ratio does to the Fibonacci sequence.
2 + 2 + 2 + 2 ; 2 + 3 + 3 ; 3 + 2 + 3 ; 3 + 3 + 2
4 ; 1 + 3 ; 3 + 1 ; 1 + 1 + 1 + 1
6 ; 3 + 3 ; 1 + 4 + 1 ; 1 + 1 + 1 + 1 + 1 + 1
11 ; 5 + 3 + 3 ; 3 + 5 + 3 ; 3 + 3 + 5
8 + 2 ; 2 + 8 ; 5 + 5 ; 2 + 2 + 2 + 2 + 2
The generating function of the Padovan sequence is
G(P(n);x)= | x+x2 |
1-x2-x3 |
.
This can be used to prove identities involving products of the Padovan sequence with geometric terms, such as:
infty | |
\sum | |
n=0 |
P(n) | |
2n |
=
12 | |
5 |
.
infty | |
\sum | |
n=0 |
P(n) | |
\alphan |
=
\alpha2(\alpha+1) | |
\alpha3-\alpha-1 |
.
In a similar way to the Fibonacci numbers that can be generalized to a set of polynomialscalled the Fibonacci polynomials, the Padovan sequence numbers can be generalized toyield the Padovan polynomials.
If we define the following simple grammar:
variables : A B C
constants : none
start : A
rules : (A → B), (B → C), (C → AB)
then this Lindenmayer system or L-system produces the following sequence of strings:
n = 0 : A
n = 1 : B
n = 2 : C
n = 3 : AB
n = 4 : BC
n = 5 : CAB
n = 6 : ABBC
n = 7 : BCCAB
n = 8 : CABABBC
and if we count the length of each string, we obtain the Padovan numbers:
1, 1, 1, 2, 2, 3, 4, 5, ...
Also, if you count the number of As, Bs and Cs in each string, then for the nthstring, you have P(n − 5) As, P(n − 3) Bs and P(n − 4) Cs. The count of BB pairsand CC pairs are also Padovan numbers.
See main article: Padovan cuboid spiral. A spiral can be formed based on connecting the corners of a set of 3-dimensional cuboids.This is the Padovan cuboid spiral. Successive sides of this spiral have lengths that arethe Padovan numbers multiplied by the square root of 2.
Erv Wilson in his paper The Scales of Mt. Meru[6] observed certain diagonals in Pascal's triangle (see diagram) and drew them on paper in 1993. The Padovan numbers were discovered in 1994. Paul Barry (2004) observed that these diagonals generate the Padovan sequence by summing the diagonal numbers.[7]