Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
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