OFFSET
1,1
COMMENTS
If n is a prime, not 5, then Fibonacci(n) == Legendre(n,5) (mod n) (see for example G. H. Hardy and E. M. Wright, Theory of Numbers).
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..500
Masataka Yorinaga, On a congruencial property of Fibonacci numbers (numerical experiments), Math. J. Okayama Univ. 19 (1976/77), no. 1, 5-10.
Masataka Yorinaga, On a congruencial property of Fibonacci numbers (considerations and remarks), Math. J. Okayama Univ. 19 (1976/77), no. 1, 11-17.
MATHEMATICA
Select[ Range[ 2, 100000 ], ! PrimeQ[ # ] && Mod[ #, 5 ] != 0 && Mod[ Fibonacci[ # ] - JacobiSymbol[ #, 5 ], # ] == 0 & ]
CROSSREFS
KEYWORD
nonn,nice
AUTHOR
EXTENSIONS
Yorinaga gives table up to 707000
More terms from Eric Rowland, Apr 29 2004
Definition corrected by Eric Rowland, Feb 24 2006
STATUS
approved
