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.

A078616 a(n) = Sum_{k=0..n} A010815(k).

Original entry on oeis.org

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

Views

Author

Benoit Cloitre, Dec 10 2002

Keywords

Comments

To construct the sequence: a(0)=1, a(1)=0, then (2*1+1) (-1)'s followed by 2 0's, followed by (2*2+1) 1's, followed by 3 0's, followed by (2*3+1) (-1)'s, etc.
From George Beck, May 05 2017: (Start)
a(n) = (Number of ones in the distinct partitions of n with an odd number of parts) - (number of ones in the distinct partitions of n with an even number of parts) (conjectured).
The partial sums give A246575. (End) [corrected by Ilya Gutkovskiy, Aug 18 2018]

Crossrefs

Programs

  • PARI
    a(n)=polcoeff(eta(x)/(1-x)+O(x^n),n)

Formula

For m > 0, a(k)=0 if A000326(m) <= k < A000326(m) + m; a(k)=(-1)^m if A000326(m) + m <= k < A000326(m+1).
G.f.: eta(x)/(1-x). - Benoit Cloitre, Jan 31 2004
G.f.: exp(-Sum_{k>=1} (sigma_1(k) - 1)*x^k/k). - Ilya Gutkovskiy, Aug 18 2018