It is not known whether there are infinitely many Fibonacci primes. With the indexing starting with F1 = F2 = 1, the first 37 indices n for which Fn is prime are (sequence A001605 in the OEIS):
Except for the case n = 4, all Fibonacci primes have a prime index, because if adividesb, then also divides (but not every prime index results in a Fibonacci prime). That is to say, the Fibonacci sequence is a divisibility sequence.
Fp is prime for 8 of the first 10 primes p; the exceptions are F2 = 1 and F19 = 4181 = 37 × 113. However, Fibonacci primes appear to become rarer as the index increases. Fp is prime for only 26 of the 1229 primes p smaller than 10,000.[3] The number of prime factors in the Fibonacci numbers with prime index are:
As of September 2023[update], the largest known certain Fibonacci prime is F201107, with 42029 digits. It was proved prime by Maia Karpovich in September 2023.[4] The largest known probable Fibonacci prime is F10367321. It was found by Ryan Propper in July 2024.[2]
It was proved by Nick MacKinnon that the only Fibonacci numbers that are also twin primes are 3, 5, and 13.[5]
Divisibility of Fibonacci numbers
A prime divides if and only ifp is congruent to ±1 modulo 5, and p divides if and only if it is congruent to ±2 modulo 5. (For p = 5, F5 = 5 so 5 divides F5)
Fibonacci numbers that have a prime index p do not share any common divisors greater than 1 with the preceding Fibonacci numbers, due to the identity:[6]
For n ≥ 3, Fn divides Fm if and only if n divides m.[7]
If we suppose that m is a prime number p, and n is less than p, then it is clear that Fp cannot share any common divisors with the preceding Fibonacci numbers.
This means that Fp will always have characteristic factors or be a prime characteristic factor itself. The number of distinct prime factors of each Fibonacci number can be put into simple terms.
Fnk is a multiple of Fk for all values of n and k such that n ≥ 1 and k ≥ 1.[8] It's safe to say that Fnk will have "at least" the same number of distinct prime factors as Fk. All Fp will have no factors of Fk, but "at least" one new characteristic prime from Carmichael's theorem.
Carmichael's Theorem applies to all Fibonacci numbers except four special cases: and If we look at the prime factors of a Fibonacci number, there will be at least one of them that has never before appeared as a factor in any earlier Fibonacci number. Let πn be the number of distinct prime factors of Fn. (sequence A022307 in the OEIS)
The first step in finding the characteristic quotient of any Fn is to divide out the prime factors of all earlier Fibonacci numbers Fk for which k | n.[9]
The exact quotients left over are prime factors that have not yet appeared.
If p and q are both primes, then all factors of Fpq are characteristic, except for those of Fp and Fq.
Therefore:
The number of distinct prime factors of the Fibonacci numbers with a prime index is directly relevant to the counting function. (sequence A080345 in the OEIS)
p
2
3
5
7
11
13
17
19
23
29
31
37
41
43
47
53
59
61
67
71
73
79
83
89
97
πp
0
1
1
1
1
1
1
2
1
1
2
3
2
1
1
2
2
2
3
2
2
2
1
2
4
Rank of apparition
For a prime p, the smallest index u > 0 such that Fu is divisible by p is called the rank of apparition (sometimes called Fibonacci entry point) of p and denoted a(p). The rank of apparition a(p) is defined for every prime p.[10] The rank of apparition divides the Pisano period π(p) and allows to determine all Fibonacci numbers divisible by p.[11]
For the divisibility of Fibonacci numbers by powers of a prime, and
It is known that for p ≠ 2, 5, a(p) is a divisor of:[12]
For every prime p that is not a Wall–Sun–Sun prime, as illustrated in the table below:
p
2
3
5
7
11
13
17
19
23
29
31
37
41
43
47
53
59
61
a(p)
3
4
5
8
10
7
9
18
24
14
30
19
20
44
16
27
58
15
a(p2)
6
12
25
56
110
91
153
342
552
406
930
703
820
1892
752
1431
3422
915
The existence of Wall–Sun–Sun primes is conjectural.
Fibonacci primitive part
Because , we can divide any Fibonacci number by the least common multiple of all where . The result is called the primitive part of . The primitive parts of the Fibonacci numbers are
Any primes that divide and not any of the s are called primitive prime factors of . The product of the primitive prime factors of the Fibonacci numbers are
For a prime p, p is in this sequence if and only if is a Fibonacci prime, and 2p is in this sequence if and only if is a Lucas prime (where is the th Lucas number). Moreover, 2n is in this sequence if and only if is a Lucas prime.
It is conjectured that all the prime factors of are primitive when is a prime number.[13]
Fibonacci numbers in prime-like sequences
Although it is not known whether there are infinitely primes in the Fibonacci sequence, Melfi proved that there are infinitely many primes[14] among practical numbers, a prime-like sequence.