OFFSET
1,2
EXAMPLE
2, 34 and 55 are in the sequence because L(2/34) = L(34/55) = 1 where L(a/b) is the Legendre symbol of a and b, which is defined to be 1 if a is a quadratic residue (mod b) and -1 if a is a quadratic non-residue (mod b).
MAPLE
with(combinat, fibonacci):k:=1:pr0:=fibonacci(k):for n from k+1 to 100 do:pr:=fibonacci(n):if
quadres(pr0, pr)=1then pr0:=pr:printf(`%d, `, pr):else fi:od:
PROG
(PARI) print1(k=1); for(n=3, 100, t=fibonacci(n); if(issquare(Mod(k, t)), print1(", "k=t))) \\ Charles R Greathouse IV, Jan 09 2013
CROSSREFS
KEYWORD
nonn
AUTHOR
Michel Lagneau, Dec 09 2010
EXTENSIONS
Definition corrected by Michel Lagneau
STATUS
approved