Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A112347
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A112347 Kronecker symbol (-1,n) except a(0)=0. +0
1
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; listen)
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).

PROGRAM

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

CROSSREFS

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

Sequence in context: A057427 A057428 A062157 this_sequence A134824 A000007 A014041

Adjacent sequences: A112344 A112345 A112346 this_sequence A112348 A112349 A112350

KEYWORD

sign,mult

AUTHOR

Michael Somos, Sep 12 2005

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified December 6 22:55 EST 2009. Contains 170429 sequences.


AT&T Labs Research