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

A011617
Legendre symbol (n,173).
0
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
OFFSET
0,1
REFERENCES
G. H. Hardy and E. M. Wright, An Introduction to the Theory of Numbers. 3rd ed., Oxford Univ. Press, 1954, p. 68.
FORMULA
Recurrence relation is a(n) = -a(n-1) - a(n-2) - ... - a(n-171) - a(n-172) for n >= 172. - Charles R Greathouse IV, Oct 01 2019
PROG
(PARI) a(n)=kronecker(n, 173) \\ Charles R Greathouse IV, Oct 01 2019
CROSSREFS
Sequence in context: A011614 A011615 A011616 * A011618 A011619 A011620
KEYWORD
sign,mult,easy
AUTHOR
STATUS
approved