cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A285798 Number of partitions of n into parts with an even number of distinct prime divisors.

Original entry on oeis.org

1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 3, 3, 5, 5, 6, 7, 8, 8, 11, 11, 14, 16, 19, 19, 25, 26, 31, 34, 40, 41, 51, 53, 62, 68, 80, 85, 103, 107, 124, 135, 157, 166, 195, 205, 235, 256, 294, 311, 362, 383, 437, 472, 535, 568, 652, 695, 786, 847, 954, 1016, 1155, 1231, 1381, 1486, 1662, 1774, 1997, 2130, 2377, 2557, 2846
Offset: 0

Views

Author

Ilya Gutkovskiy, Apr 26 2017

Keywords

Examples

			a(10) = 3 because we have [10], [6, 1, 1, 1, 1] and [1, 1, 1, 1, 1, 1, 1, 1, 1, 1].
		

Crossrefs

Cf. A030231, A087153 (number of partitions into parts with an even number of divisors), A285799.

Programs

  • Mathematica
    nmax = 70; CoefficientList[Series[Product[1/(1 - Boole[EvenQ[PrimeNu[k]]] x^k), {k, 1, nmax}], {x, 0, nmax}], x]

Formula

G.f.: Product_{k>=1} 1/(1 - x^A030231(k)).