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”).

A177051
A subsequence of the Fibonacci sequence such that a(n) is a quadratic residue mod a(n+1).
0
1, 2, 34, 55, 89, 233, 377, 1597, 17711, 28657, 121393, 317811, 1346269, 3524578, 5702887, 24157817, 39088169, 63245986, 433494437, 2971215073, 53316291173, 591286729879, 956722026041, 2504730781961, 4052739537881, 17167680177565, 308061521170129, 5527939700884757, 61305790721611591, 99194853094755497, 1779979416004714189
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
Sequence in context: A211001 A124208 A077310 * A067130 A349496 A337397
KEYWORD
nonn
AUTHOR
Michel Lagneau, Dec 09 2010
EXTENSIONS
Definition corrected by Michel Lagneau
STATUS
approved