OFFSET
1,1
COMMENTS
Numbers n such that Fibonacci(n) mod n = Fibonacci(n) mod (n-1) = Fibonacci(n) mod (n+1) = 0.
Subsequence of A023172.
LINKS
Chai Wah Wu, Table of n, a(n) for n = 1..200
PROG
(Python)
prpr, prev = 0, 1
for n in range(2, 100000):
prpr, prev = prev, prpr+prev
if n%2: continue
if (prev % n, prev % (n-1), prev % (n+1)) == (0, 0, 0):
print(n, end=", ")
CROSSREFS
KEYWORD
nonn
AUTHOR
Alex Ratushnyak, May 03 2013
STATUS
approved