cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A089509 a(n) = Kronecker(7/n).

Original entry on oeis.org

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
Offset: 1

Views

Author

Benoit Cloitre, Jan 03 2004

Keywords

Crossrefs

Programs

  • Magma
    [KroneckerSymbol(7,n): n in [1..100]]; // Vincenzo Librandi, Aug 16 2016
  • Mathematica
    Table[KroneckerSymbol[7, n], {n, 100}] (* Vincenzo Librandi, Aug 16 2016 *)
  • PARI
    a(n)=kronecker(7,n)
    

Formula

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

Extensions

Keyword:mult added by Andrew Howroyd, Jul 23 2018