OFFSET
1,2
PROG
(PARI) a(n)=if(n<0, 0, s=1; while(fibonacci(s)%prime(n)<prime(n)-1, s++); s)
CROSSREFS
KEYWORD
nonn
AUTHOR
Benoit Cloitre, Sep 08 2002
STATUS
approved