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.

A226162 a(n) = Kronecker Symbol (-5/n), n >= 0.

Original entry on oeis.org

0, 1, -1, 1, 1, 0, -1, 1, -1, 1, 0, -1, 1, -1, -1, 0, 1, -1, -1, -1, 0, 1, 1, 1, -1, 0, 1, 1, 1, 1, 0, -1, -1, -1, 1, 0, 1, -1, 1, -1, 0, 1, -1, 1, -1, 0, -1, 1, 1, 1, 0, -1, -1, -1, -1, 0, -1, -1, -1, -1, 0, 1, 1, 1, 1, 0, 1, 1, -1, 1, 0, -1, -1, -1, 1, 0, -1, -1, 1, -1, 0, 1, -1, 1, 1, 0, -1, 1, 1, 1
Offset: 0

Views

Author

Wolfdieter Lang, May 29 2013

Keywords

Comments

The number of -1's among the four terms following the 0 at a(5*k), for k >= 0, is 1, 2, 3, 3, 1, 0, 3, 2, 2, 1, 4, 4, 0, 1, 3, 3, 1, 1, 3, 4, ...
See the Weisstein link, where it is stated that the period length is 0.
In general, the sequence {(k/n)} is not periodic if and only if k == 3 (mod 4). - Jianing Song, Dec 30 2018

Crossrefs

Cf. A035183 (inverse Moebius transform).
Sequences related to Kronecker symbols that do not form a Dirichlet character: this sequence {(-5/n)}, A034947 {(-1/n)}, A091338 {(3/n)}, A089509 {(7/n)}.
Cf. A080891 (5/n), A100047.

Programs

  • Maple
    0, seq(numtheory:-jacobi(-5, n), n=1..89); # Peter Luschny, Dec 30 2018
  • Mathematica
    Table[KroneckerSymbol[-5, n],{n,0,89}]
  • PARI
    a(n)=kronecker(-5,n); \\ Andrew Howroyd, Jul 23 2018

Formula

Completely multiplicative with a(2) = -1, a(5) = 0, a(p) = 1 if p == 1, 3, 7, 9 (mod 20), a(p) = -1 if p == 11, 13, 17, 19 (mod 20). - Jianing Song, Dec 30 2018

Extensions

Keyword:mult added by Andrew Howroyd, Jul 23 2018