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!)
A302236 Expansion of Product_{k>=1} (1 + x^prime(k))/(1 + x^k). 3
1, -1, 1, -1, 0, 0, -1, 1, -1, 0, 0, 0, 0, 1, -1, 1, 0, 0, 1, 0, 0, 0, -1, 1, 0, -1, 1, -2, 1, 0, 0, 2, -1, 0, 0, -1, 2, -1, -1, 1, -2, 1, 0, 0, 0, -2, -1, 2, 0, 0, 1, -3, 2, -1, 1, 2, -2, -1, -1, 1, 3, 0, -2, 1, -2, 0, 3, 0, 0, -2, -2, 5, 1, 1, -1, -4, 1, -1, 2, 4, -2 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,28
COMMENTS
The difference between the number of partitions of n into an even number of nonprime parts and the number of partitions of n into an odd number of nonprime parts.
Convolution of the sequences A000586 and A081362.
LINKS
FORMULA
G.f.: Product_{k>=1} 1/(1 + x^A018252(k)).
MATHEMATICA
nmax = 80; CoefficientList[Series[Product[(1 + x^Prime[k])/(1 + x^k), {k, 1, nmax}], {x, 0, nmax}], x]
nmax = 80; CoefficientList[Series[Product[1/(1 + Boole[!PrimeQ[k]] x^k), {k, 1, nmax}], {x, 0, nmax}], x]
CROSSREFS
Sequence in context: A330460 A027186 A131962 * A262929 A226862 A226864
KEYWORD
sign
AUTHOR
Ilya Gutkovskiy, Apr 03 2018
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 18:16 EDT 2024. Contains 371916 sequences. (Running on oeis4.)