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.

A331003 a(n) is the imaginary part of f(n) (as defined in A330779).

Original entry on oeis.org

0, 1, 1, -1, -1, 2, 2, -2, -2, 2, 2, -2, -2, 3, 3, -3, -3, 2, 2, -4, -4, 3, 3, -3, -3, 4, 4, -3, -3, 4, 4, -4, -4, 4, 4, -5, -5, 3, 3, -5, -5, 5, 5, -6, -6, 3, 3, -6, -6, 4, 4, -5, -5, 5, 5, -6, -6, 6, 6, -7, -7, 3, 3, -7, -7, 5, 5, -6, -6, 5, 5, -6, -6, 5, 5
Offset: 0

Views

Author

Rémy Sigrist, Jan 05 2020

Keywords

Crossrefs

Cf. A330779.

Programs

  • PARI
    See Links section.

Formula

a(2*k+2) = a(2*k+1) for any k >= 0.
a(2*k+1) = a(2*k) + A330779(2*k+1) * (-1)^k for any k >= 0.