OFFSET
0,9
COMMENTS
Conjecture: a(n) > 0 for all n > 10.
LINKS
Robert Israel, Table of n, a(n) for n = 0..10000
Ilya Gutkovskiy, Extended graphical example
FORMULA
EXAMPLE
a(17) = 4 because we have [15, 2], [14, 3], [11, 6] and [10, 7].
MATHEMATICA
nmax = 107; CoefficientList[Series[(Sum[x^Prime[i], {i, 1, nmax}]) (x + Sum[Sign[PrimeNu[j] - 1] MoebiusMu[j]^2 x^j, {j, 2, nmax}]), {x, 0, nmax}], x]
PROG
(MATLAB)
N = 200; % to get a(0) to a(N)
Primes = primes(N);
B = zeros(1, N);
B(Primes) = 1;
LPrimes = Primes(Primes .^ 2 < N);
SF = 1 - B;
for p = LPrimes
SF(p^2:p^2:N) = 0;
end
C = conv(SF, B);
C = [0, 0, C(1:N-1)] % Robert Israel, Feb 12 2017
CROSSREFS
KEYWORD
nonn,look
AUTHOR
Ilya Gutkovskiy, Feb 11 2017
STATUS
approved