OFFSET
1,1
MAPLE
a:= 1:
b:= 2:
p:= 2:
Res:= NULL:
for n from 2 to 10^6 do
c:= a+b;
b:= a;
a:= c;
p:= nextprime(p);
if a mod p = 0 then
Res:= Res, n;
fi
od:
Res; # Robert Israel, Oct 30 2019
PROG
(Magma) [n: n in [1..100000] | IsZero(Lucas(n) mod NthPrime(n))];
CROSSREFS
KEYWORD
nonn,more
AUTHOR
Juri-Stepan Gerasimov, Oct 30 2019
EXTENSIONS
a(8) from Robert Israel, Oct 30 2019
a(9)-a(10) from Daniel Suteu, Nov 07 2019
STATUS
approved