login
This site is supported by donations to The OEIS Foundation.
Logo

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A112347 Kronecker symbol (-1,n) except a(0)=0. 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, 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; internal format)
OFFSET

0,1

FORMULA

Multiplicative with a(2^e) = 1, a(p^e) = (-1)^(e(p-1)/2) if p>2.

a(2n)=a(n), a(4n+1)=1, a(4n+3)=-1. a(-n)=-a(n).

PROG

(PARI) a(n)=if(n, kronecker(-1, n))

CROSSREFS

Cf. A034947(n)=a(n) if n nonzero.

Sequence in context: A070238 A062157 A103131 * A057427 A178334 A185016

Adjacent sequences:  A112344 A112345 A112346 * A112348 A112349 A112350

KEYWORD

sign,mult

AUTHOR

Michael Somos, Sep 12 2005

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 13 08:12 EST 2012. Contains 205451 sequences.