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

A165573
Legendre symbol (n,257).
4
0, 1, 1, -1, 1, -1, -1, -1, 1, 1, -1, 1, -1, 1, -1, 1, 1, 1, 1, -1, -1, 1, 1, 1, -1, 1, 1, -1, -1, 1, 1, 1, 1, -1, 1, 1, 1, -1, -1, -1, -1, -1, 1, -1, 1, -1, 1, -1, -1, 1, 1, -1, 1, -1, -1, -1, -1, 1, 1, 1, 1, 1, 1, -1, 1, -1, -1, 1, 1, -1, 1, -1, 1, 1, -1, -1, -1, -1, -1, 1, -1, 1
OFFSET
0,1
COMMENTS
257 is the 3rd Fermat prime, A019434(3).
LINKS
PROG
(PARI) a(n) = kronecker(n, 257); \\ Michel Marcus, Mar 12 2017
CROSSREFS
Partial sums: A165575.
Sequence in context: A165591 A165471 A165481 * A057428 A165574 A165581
KEYWORD
sign,mult
AUTHOR
Antti Karttunen, Sep 22 2009
STATUS
approved