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.

A333809 G.f.: Sum_{k>=1} (-1)^(k + 1) * x^(k*(k + 1)) / (1 - x^k).

Original entry on oeis.org

0, 1, 1, 1, 1, 0, 1, 0, 1, 0, 1, 1, 1, 0, 2, 0, 1, 1, 1, -1, 2, 0, 1, 0, 1, 0, 2, -1, 1, 2, 1, -1, 2, 0, 2, 0, 1, 0, 2, 0, 1, 0, 1, -1, 3, 0, 1, -1, 1, 1, 2, -1, 1, 0, 2, 0, 2, 0, 1, 0, 1, 0, 3, -1, 2, 0, 1, -1, 2, 2, 1, -2, 1, 0, 3, -1, 2, 0, 1, -1, 2, 0, 1, 0, 2, 0, 2, -2, 1, 2
Offset: 1

Views

Author

Ilya Gutkovskiy, Apr 05 2020

Keywords

Comments

Number of odd divisors of n that are < sqrt(n) minus number of even divisors of n that are < sqrt(n).

Crossrefs

Programs

  • Mathematica
    nmax = 90; CoefficientList[Series[Sum[(-1)^(k + 1) x^(k (k + 1))/(1 - x^k), {k, 1, nmax}], {x, 0, nmax}], x] // Rest