OFFSET
1,1
COMMENTS
LINKS
Chai Wah Wu, Table of n, a(n) for n = 1..10000
EXAMPLE
PROG
(PARI) lista(nn) = for(n=1, nn, my(p = prime(n)); if (lift(prod(i=1, n, Mod(fibonacci(i), p))) == 0, print1(n, ", ")));
(Python)
from sympy import prime
A271327_list = []
for n in range(1, 10**3):
p, a, b = prime(n), 1, 1
for i in range(n):
if not a:
A271327_list.append(n)
break
a, b = b, (a + b) % p # Chai Wah Wu, Apr 08 2016
CROSSREFS
KEYWORD
nonn
AUTHOR
Altug Alkan, Apr 04 2016
STATUS
approved