login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A078616 a(n) = Sum_{k=0..n} A010815(k). 7
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 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,1
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]
LINKS
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
PROG
(PARI) a(n)=polcoeff(eta(x)/(1-x)+O(x^n), n)
CROSSREFS
Sequence in context: A175479 A307243 A120530 * A267800 A322980 A267053
KEYWORD
sign
AUTHOR
Benoit Cloitre, Dec 10 2002
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 24 02:41 EDT 2024. Contains 371917 sequences. (Running on oeis4.)