login
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