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!)
A089509 a(n) = Kronecker(7/n). 6
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; text; internal format)
OFFSET
1,1
LINKS
Jean-Paul Allouche, Leo Goldmakher, Mock characters and the Kronecker symbol, arXiv:1608.03957 [math.NT], 2016.
FORMULA
if n==0 (mod 7) a(n)=0; for p in=A003632 a(p)=-1; for p in A038878 a(p)=+1
MATHEMATICA
Table[KroneckerSymbol[7, n], {n, 100}] (* Vincenzo Librandi, Aug 16 2016 *)
PROG
(PARI) a(n)=kronecker(7, n)
(Magma) [KroneckerSymbol(7, n): n in [1..100]]; // Vincenzo Librandi, Aug 16 2016
CROSSREFS
Sequence in context: A152904 A249133 A118102 * A157972 A124897 A071035
KEYWORD
sign,mult
AUTHOR
Benoit Cloitre, Jan 03 2004
EXTENSIONS
Keyword:mult added by Andrew Howroyd, Jul 23 2018
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 July 26 13:14 EDT 2024. Contains 374635 sequences. (Running on oeis4.)