login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A165476 Legendre symbol (n,131071). 2
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, -1, 1, -1, 1 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,1
COMMENTS
131071 is the 6th Mersenne prime, A000668(6).
See row 12251 in triangle A226520, A000040(12251) = 131071. - Reinhard Zumkeller, Feb 02 2014
LINKS
Wikipedia, Legendre symbol.
MATHEMATICA
a[n_] := JacobiSymbol[n, 2^17 - 1];
Table[a[n], {n, 0, 100}] (* Jean-François Alcover, Jan 13 2023 *)
PROG
(Haskell)
a165476 = flip legendreSymbol 131071
-- Where the function legendreSymbol is defined in A097343.
-- Reinhard Zumkeller, Feb 02 2014
CROSSREFS
Partial sums: A165477.
Cf. A097343.
Sequence in context: A165581 A165586 A134824 * A165596 A226523 A070238
KEYWORD
sign,mult
AUTHOR
Antti Karttunen, Sep 21 2009
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified March 29 01:36 EDT 2024. Contains 371264 sequences. (Running on oeis4.)