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.

A226915 Fourth column of A226518.

Original entry on oeis.org

-1, 1, 1, 1, 1, -1, 3, -1, 1, 1, 1, -1, 3, -1, 1, 1, -1, 3, 3, 1, 1, 1, 3, -1, 1, 1, 1, 1, 1, 1, 1, -1, -1, 1, 1, -1, 3, -1, 1, 1, 3, 3, -1, 1, -1, 1, 1, 1, 1, 3, 3, 1, 1, 3, -1, 1, 1, 1, -1, -1, -1, 3, 3, -1, -1, 3, 1, 1, 1, 3, 1, 1, -1, 3, -1, 1, 1, 3, 1, 1, 3, 3, 1, 1, 1, 3, -1, 1, 1, 3, 1, 1, -1, 3, -1, 1
Offset: 3

Views

Author

N. J. A. Sloane, Jun 22 2013

Keywords

Crossrefs

Cf. A226518.

Formula

a(n) = 1 + Legendre(2,p) + Legendre(3,p) where p = prime(n).