OFFSET
1,1
COMMENTS
Max Alekseyev has proved (cf. link) that a(n)=0 if n is a multiple of 4 or 5; for all other n, a prime a(n) with the required property seems to exist.
LINKS
Max Alekseyev, Re: Primes p = nk-1 dividing Fibonacci( k ), SeqFan mailing list, Nov. 2009.
PROG
(PARI) A168172(n) = n%4 && n%5 && forstep(p=n-1, 1e9, n, isprime(p) || next; fibonacci((p+1)/n)%p || return(p))
CROSSREFS
KEYWORD
nonn
AUTHOR
M. F. Hasler, Nov 28 2009
STATUS
approved