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!)
A325939 Expansion of Sum_{k>=1} x^(2*k) / (1 + x^k). 4
0, 1, -1, 2, -1, 1, -1, 3, -2, 1, -1, 3, -1, 1, -3, 4, -1, 1, -1, 3, -3, 1, -1, 5, -2, 1, -3, 3, -1, 1, -1, 5, -3, 1, -3, 4, -1, 1, -3, 5, -1, 1, -1, 3, -5, 1, -1, 7, -2, 1, -3, 3, -1, 1, -3, 5, -3, 1, -1, 5, -1, 1, -5, 6, -3, 1, -1, 3, -3, 1, -1, 7, -1, 1, -5, 3, -3, 1, -1, 7 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,4
COMMENTS
Number of even divisors of n minus number of odd strong divisors of n (i.e. odd divisors > 1).
LINKS
FORMULA
G.f.: Sum_{k>=2} (-1)^k * x^k / (1 - x^k).
a(n) = Sum_{d|n, d>1} (-1)^d.
a(n) = 1 - A048272(n).
MATHEMATICA
nmax = 80; CoefficientList[Series[Sum[x^(2 k)/(1 + x^k), {k, 1, nmax}], {x, 0, nmax}], x] // Rest
Table[DivisorSum[n, (-1)^# &, # > 1 &], {n, 1, 80}]
PROG
(PARI) A325939(n) = sumdiv(n, d, if(1==d, 0, ((-1)^d))); \\ Antti Karttunen, Sep 20 2019
CROSSREFS
Cf. A032741, A048272, A075997 (partial sums), A325937.
Sequence in context: A347442 A336424 A353236 * A318586 A222580 A316978
KEYWORD
sign,look
AUTHOR
Ilya Gutkovskiy, Sep 09 2019
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 23 22:36 EDT 2024. Contains 371917 sequences. (Running on oeis4.)