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.

A305633 Expansion of Sum_{r not a perfect power} x^r/(1 + x^r).

Original entry on oeis.org

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

Views

Author

Gus Wiseman, Jun 07 2018

Keywords

Crossrefs

Programs

  • Mathematica
    nn=100;
    wadQ[n_]:=n>1&&GCD@@FactorInteger[n][[All,2]]==1;
    ser=Sum[x^p/(1+x^p),{p,Select[Range[nn],wadQ]}];
    Table[SeriesCoefficient[ser,{x,0,n}],{n,nn}]