ArticleslgStudy

mathematics

Pisano period

Pisano period is a mathematics topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Pisano period rather than just read about it. In short: In number theory, the nth Pisano period, written as π(n), is the period with which the sequence of Fibonacci numbers taken modulo n repeats. Pisano periods are named after Leonardo Pisano, better known as Fibonacci.

Pisano period — main illustration
Pisano period — illustration

Key takeaways

  • Pisano period belongs to mathematics; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Pisano period to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Pisano period from memory before moving on to harder problems.

Reference excerpt

In number theory, the nth Pisano period, written as π(n), is the period with which the sequence of Fibonacci numbers taken modulo n repeats. Pisano periods are named after Leonardo Pisano, better known as Fibonacci. The existence of periodic functions in Fibonacci numbers was noted by Joseph Louis Lagrange in 1774.

Definition The Fibonacci numbers are the numbers in the integer sequence:

0, 1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144, 233, 377, 610, 987, 1597, 2584, 4181, 6765, 10946, 17711, 28657, 46368, ... (sequence A000045 in the OEIS) defined by the recurrence relation

F 0 = 0 {\displaystyle F_{0}=0}

F 1 = 1 {\displaystyle F_{1}=1}

F i = F i − 1 + F i − 2 . {\displaystyle F_{i}=F_{i-1}+F_{i-2}.}

For any integer n, the sequence of Fibonacci numbers Fi taken modulo n is periodic. The Pisano period, denoted π(n), is the length of the period of this sequence. For example, the sequence of Fibonacci numbers modulo 3 begins:

0, 1, 1, 2, 0, 2, 2, 1, 0, 1, 1, 2, 0, 2, 2, 1, 0, 1, 1, 2, 0, 2, 2, 1, 0, ... (sequence A082115 in the OEIS) This sequence has period 8, so π(3) = 8.

Properties

Parity With the exception of π(2) = 3, the Pisano period π(n) is always even. This follows by observing that π(n) is equal to the order of the Fibonacci matrix

Q = [ 1 1 1 0 ] {\displaystyle \mathbf {Q} ={\begin{bmatrix}1&1\\1&0\end{bmatrix}}}

in the general linear group GL 2 ( Z n ) {\displaystyle {\text{GL}}_{2}(\mathbb {Z} _{n})} of invertible 2 by 2 matrices in the finite ring Z n {\displaystyle \mathbb {Z} _{n}} of integers modulo n. Since Q has determinant −1, the determinant of Qπ(n) is (−1)π(n), which is equal to 1 when either n ≤ 2 or π(n) is even.

Pisano periods of composite numbers If m and n are coprime, then π(mn) is the least common multiple of π(m) and π(n). This follows from Chinese remainder theorem. Thus the Pisano periods of composite numbers can be computed by looking at the Pisano periods of prime powers q = pk, for k ≥ 1. If p is prime, π(pk) divides pk–1 π(p). It is unknown if

π ( p k ) = p k − 1 π ( p ) {\displaystyle \pi (p^{k})=p^{k-1}\pi (p)}

for every prime p and integer k > 1. Any prime p providing a counterexample would necessarily be a Wall–Sun–Sun prime, and conversely every Wall–Sun–Sun prime p gives a counterexample (set k = 2). For p = 2 and 5, the exact values of the Pisano periods are known. The periods of powers of these prime powers are as follows:

If n = 2k, then π ( n ) = 3 ⋅ 2 k − 1 = 3 n 2 {\displaystyle \pi (n)=3\cdot 2^{k-1}={\frac {3n}{2}}}

if n = 5k, then π ( n ) = 4 ⋅ 5 k = 4 n {\displaystyle \pi (n)=4\cdot 5^{k}=4n}

From these it follows that if n = 2 k 5k then π(n) = 6n.

Pisano periods of prime numbers

If prime p is different from 2 and 5, then π(p) is a divisor of p2 − 1. This follows from the modulo p analogue of Binet's formula, which implies that π(p) is the multiplicative order of a root of x2 − x − 1 modulo p. Every p other than 2 and 5 lie in the residue classes p ≡ ± 1 ( m o d 10 ) {\displaystyle p\equiv \pm 1\ (\mathrm {mod} \ 10)} or p ≡ ± 3 ( m o d 10 ) {\displaystyle p\equiv \pm 3\ (\mathrm {mod} \ 10)} .

… excerpt ends here. Continue reading the full article.

Illustrations

Pisano period: Plot of the first 10,000 Pisano periods.
Plot of the first 10,000 Pisano periods.
Pisano period: For n = 3, this is a visualization of the Pisano period in the two-dimensional state space of the recurrence relation. The axes could also have been called "previous" and "current." The journey begins at (previous, current) = (0, 1) with red color, and then progresses through the colors of the rainbow eventually reaching (1, 0) and then returning to (0, 1). We see π(3) = 8.
For n = 3, this is a visualization of the Pisano period in the two-dimensional state space of the recurrence relation. The axes could also have been called "previous" and "current." The journey begins at (previous, current) = (0, 1) with red color, and then progresses through the colors of the rainbow eventually reaching (1, 0) and then returning to (0, 1). We see π(3) = 8.
Pisano period: State space visualization of the Pisano period for n = 5
State space visualization of the Pisano period for n = 5
Pisano period: State space visualization of the Pisano period for n = 10
State space visualization of the Pisano period for n = 10

Worked examples

Example 1 — a first encounter with Pisano period

Start with the simplest possible case. Write down what Pisano period claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In mathematics, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Pisano period before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Pisano period ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Pisano period

In research
Pisano period appears in mathematics research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Pisano period in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Pisano period is common in secondary-school and first-year university syllabi. It links to neighbouring topics Fibonacci numbers, Modular arithmetic, so understanding it makes those chapters shorter.
In everyday life
Look for Pisano period outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Pisano period” →

Affiliate

Preply — study more efficiently by working with a personal tutor. 50% off.

How to study Pisano period in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Pisano period means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Pisano period out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Pisano period in simple terms?

In number theory, the nth Pisano period, written as π(n), is the period with which the sequence of Fibonacci numbers taken modulo n repeats. Pisano periods are named after Leonardo Pisano, better known as Fibonacci.

Why does Pisano period matter?

Because it connects several mathematics ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Pisano period?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Pisano period.

Tags

  • Fibonacci numbers
  • Modular arithmetic

Keep exploring