login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A221018
Number n such that Fibonacci(n) is divisible by n, n + 1 and n - 1.
9
108, 2688, 3528, 4968, 6480, 15288, 18048, 20808, 21000, 25308, 35448, 47520, 62928, 68208, 81648, 82008, 97608, 103968, 108288, 116928, 137088, 139968, 151848, 162288, 196560, 197568, 200928, 235008, 238728, 253368, 278208, 363888, 379008, 400248, 444528, 449568, 457608
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
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