Legendre symbol in the Fibonacci primality test

97 Views Asked by At

The Legendre symbol $\left(\dfrac{5}{p}\right)$ is used in the Fibonacci primality test. I understand its significance, but why did 5 show up and not some other prime? Is it because $p$ is written in base-10 or is it due to some property of Fibonacci/Lucas numbers?