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.
LINKS
Paolo Xausa, Table of n, a(n) for n = 0..10000
FORMULA
Recurrence relation is a(n) = -a(n-1) - a(n-2) - .... - a(n-165) - a(n-166) for n >= 166. - Charles R Greathouse IV, Oct 01 2019
a(n) == n^83 (mod 167). - Jianing Song, Jun 12 2026
MATHEMATICA
JacobiSymbol[Range[0, 100], 167] (* Paolo Xausa, Nov 10 2025 *)
PROG
(PARI) a(n)=kronecker(n, 167) \\ Charles R Greathouse IV, Oct 01 2019
CROSSREFS
KEYWORD
sign,mult,easy,changed
AUTHOR
STATUS
approved
