OFFSET
1,1
LINKS
Harry J. Smith, Table of n, a(n) for n = 1..1000
FORMULA
Presumably this consists of 2 together with the primes congruent to +-1 mod 5.
MATHEMATICA
lst={}; Do[p=Prime[n]; If[Mod[(Fibonacci[p]-1), p]==0, AppendTo[lst, p]], {n, 6!}]; lst (* Vladimir Joseph Stephan Orlovsky, Apr 03 2009 *)
Select[Prime[Range[150]], Divisible[Fibonacci[#]-1, #]&] (* Harvey P. Dale, Sep 24 2022 *)
PROG
(PARI) forprime(p=2, 700, if((fibonacci(p)-1)%p==0, print1(p, ", ")))
(PARI) { n=0; for (m=1, 10^9, p=prime(m); if ((fibonacci(p) - 1)%p==0, write("b064739.txt", n++, " ", p); if (n==1000, break)) ) } \\ Harry J. Smith, Sep 24 2009
CROSSREFS
KEYWORD
nonn
AUTHOR
Shane Findley and N. J. A. Sloane, Oct 17 2001
EXTENSIONS
More terms from Klaus Brockhaus, Oct 18 2001
STATUS
approved