OFFSET
1,1
LINKS
Giovanni Resta, Table of n, a(n) for n = 1..1000
MATHEMATICA
Select[Range[50000], ! Mod[Fibonacci[ # ] + 1, # ] == 0 && Mod[Fibonacci[ # + 1], # ] == 0 &]
Select[Range[122000], Divisible[{Fibonacci[#+1], Fibonacci[#]+1}, #]=={True, False}&] (* Harvey P. Dale, Apr 16 2019 *)
PROG
(PARI) fibmod(n, m)=(Mod([0, 1; 1, 1], m)^n*[0; 1])[1, 1]
is(n)=fibmod(n+1, n)==0 && fibmod(n, n)!=-1 \\ Charles R Greathouse IV, Nov 04 2016
CROSSREFS
KEYWORD
nonn
AUTHOR
Eric Rowland, May 01 2004
STATUS
approved