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!)
A165581 Legendre symbol (n,524287). 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 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,1
COMMENTS
524287 is the 7th Mersenne prime, A000668(7) = 2^19 - 1.
Periodic with period 524287. - Charles R Greathouse IV, Aug 06 2012
LINKS
PROG
(PARI) a(n)=kronecker(n, 524287) \\ Charles R Greathouse IV, Aug 06 2012
CROSSREFS
Partial sums: A165582.
Sequence in context: A165573 A057428 A165574 * A165586 A134824 A165476
KEYWORD
sign,mult,easy
AUTHOR
Antti Karttunen, Sep 22 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 April 25 05:49 EDT 2024. Contains 371964 sequences. (Running on oeis4.)