Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A034947
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A034947 Jacobi (or Kronecker) symbol (-1/n). +0
3
1, 1, -1, 1, 1, -1, -1, 1, 1, 1, -1, -1, 1, -1, -1, 1, 1, 1, -1, 1, 1, -1, -1, -1, 1, 1, -1, -1, 1, -1, -1, 1, 1, 1, -1, 1, 1, -1, -1, 1, 1, 1, -1, -1, 1, -1, -1, -1, 1, 1, -1, 1, 1, -1, -1, -1, 1, 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

1,1

COMMENT

Also the regular paper-folding sequence.

Comment from Jeremy Gardiner (jeremy.gardiner(AT)btinternet.com), Nov 08, 2004: It appears that, replacing +1 with 0 and -1 with 1, we obtain A038189. Alternatively, replacing -1 with 0 we obtain (allowing for offset) A014577.

Partial sums = A005811 starting (1, 2, 1, 2, 3, 2, 1, 2, 3,...). - Gary W. Adamson (qntmpkt(AT)yahoo.com), Jul 23 2008

REFERENCES

J.-P. Allouche and J. Shallit, Automatic Sequences, Cambridge Univ. Press, 2003, p. 155.

H. Cohen, Course in Computational Number Theory, p. 28.

LINKS

Joerg Arndt, Fxtbook

Eric Weisstein's World of Mathematics, Kronecker Symbol

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). a(n)=2*A014577(n-1)-1.

a(prime(n)) = A070750(n) for n > 1 - T. D. Noe (noe(AT)sspectra.com), Nov 08 2004

MAPLE

with(numtheory): A034947 := n->jacobi(-1, n);

MATHEMATICA

Needs["NumberTheory`"]; Table[KroneckerSymbol[ -1, n], {n, 0, 100}]

PROGRAM

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

CROSSREFS

Cf. A005811.

Sequence in context: A108784 A010555 A020985 this_sequence A097807 A014077 A165326

Adjacent sequences: A034944 A034945 A034946 this_sequence A034948 A034949 A034950

KEYWORD

sign,nice,easy,mult

AUTHOR

N. J. A. Sloane (njas(AT)research.att.com).

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 November 25 20:09 EST 2009. Contains 167514 sequences.


AT&T Labs Research