%I #25 Nov 03 2019 12:21:02
%S 1,0,-1,-1,-1,0,1,1,0,0,1,1,1,0,-1,-1,-2,-1,0,0,1,1,0,-1,0,0,0,0,0,0,
%T 1,1,0,1,1,1,0,-3,-3,-1,1,1,0,-1,-1,2,2,0,1,-1,0,1,0,-1,0,1,0,0,-2,-3,
%U -1,-1,0,2,0,1,3,0,1,3,1,-3,-2,-3,-2,3,2,-1,0,-2,1,1,-2,-1,1,2,2,3,-1,-2,4
%N Expansion of Product_{p prime, k>=1} (1 - x^(p^k)).
%C Convolution inverse of A023894.
%C The difference between the number of partitions of n into an even number of distinct prime power parts and the number of partitions of n into an odd number of distinct prime power parts (1 excluded).
%C Conjecture: the last zero (38th) occurs at n = 340.
%H Robert Israel, <a href="/A328556/b328556.txt">Table of n, a(n) for n = 0..10000</a>
%F G.f.: Product_{k>=1} (1 - x^A246655(k)).
%p N:= 100: # for a(0)..a(N)
%p R:= 1:
%p p:= 1:
%p do
%p p:= nextprime(p);
%p if p > N then break fi;
%p for k from 1 to floor(log[p](N)) do
%p R:= series(R*(1-x^(p^k)),x,N+1)
%p od;
%p od:
%p seq(coeff(R,x,j),j=0..N); # _Robert Israel_, Nov 03 2019
%t nmax = 90; CoefficientList[Series[Product[(1 - Boole[PrimePowerQ[k]] x^k), {k, 1, nmax}], {x, 0, nmax}], x]
%t a[n_] := a[n] = If[n == 0, 1, -Sum[Sum[Boole[PrimePowerQ[d]] d, {d, Divisors[k]}] a[n - k], {k, 1, n}]/n]; Table[a[n], {n, 0, 90}]
%Y Cf. A023894, A046675, A054685, A246655, A292561.
%K sign,look
%O 0,17
%A _Ilya Gutkovskiy_, Nov 01 2019