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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A089509 a(n)=Kronecker(7/n). 1
1, 1, 1, 1, -1, 1, 0, 1, 1, -1, -1, 1, -1, 0, -1, 1, -1, 1, 1, -1, 0, -1, -1, 1, 1, -1, 1, 0, 1, -1, 1, 1, -1, -1, 0, 1, 1, 1, -1, -1, -1, 0, -1, -1, -1, -1, 1, 1, 0, 1, -1, -1, 1, 1, 1, 0, 1, 1, 1, -1, -1, 1, 0, 1, 1, -1, -1, -1, -1, 0, -1, 1, -1, 1, 1, 1, 0, -1, -1, -1, 1, -1, 1, 0, 1, -1, 1, -1, -1, -1, 0, -1, 1, 1, -1, 1, -1, 0, -1, 1, -1, -1, 1, -1, 0, 1 (list; graph; refs; listen; history; internal format)
OFFSET

1,1

FORMULA

if n==0 (mod 7) a(n)=0; for p in=A003632 a(p)=-1; for p in A038878 a(p)=+1

PROG

(PARI) a(n)=kronecker(7, n)

CROSSREFS

Cf. A091338, A080891.

Sequence in context: A152904 A071033 A118102 * A157972 A124897 A071035

Adjacent sequences:  A089506 A089507 A089508 * A089510 A089511 A089512

KEYWORD

sign

AUTHOR

Benoit Cloitre (benoit7848c(AT)orange.fr), Jan 03 2004

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 16 07:32 EST 2012. Contains 205874 sequences.