%I #18 Apr 12 2020 08:42:19
%S 0,1,1,-1,1,-1,-1,-1,1,1,-1,-1,-1,1,-1,1,1,0,1,1,-1,1,-1,-1,-1,1,1,-1,
%T -1,-1,1,-1,1,1,0,1,1,-1,1,-1,-1,-1,1,1,-1,-1,-1,1,-1,1,1,0,1,1,-1,1,
%U -1,-1,-1,1,1,-1,-1,-1,1,-1,1,1,0,1,1,-1,1,-1,-1,-1,1,1,-1,-1,-1
%N Legendre symbol (n,17).
%D G. H. Hardy and E. M. Wright, An Introduction to the Theory of Numbers. 3rd ed., Oxford Univ. Press, 1954, p. 68.
%H <a href="/index/Rec#order_16">Index entries for linear recurrences with constant coefficients</a>, signature (-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1).
%t Table[JacobiSymbol[n, 17], {n, 0, 80}] (* _Jean-François Alcover_, May 17 2017 *)
%o (PARI) A011584(n) = kronecker(n,17) ;
%o for(n=0,20,print1(A011584(n)",") ); /* _R. J. Mathar_, Feb 25 2012 */
%K sign,mult
%O 0,1
%A _N. J. A. Sloane_
|