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.

Showing 1-3 of 3 results.

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

Original entry on oeis.org

1, 1, 0, 0, 0, 0, 1, 1, 0, 0, 1, 1, 1, 1, 1, 2, 2, 1, 2, 2, 2, 4, 4, 2, 3, 4, 4, 5, 6, 5, 5, 6, 7, 9, 10, 10, 12, 11, 11, 15, 16, 15, 17, 18, 19, 23, 26, 25, 27, 30, 33, 37, 38, 39, 46, 50, 52, 57, 59, 61, 71, 77, 78, 84, 91, 97, 107, 114, 120, 131, 139, 147, 163, 172, 180, 197
Offset: 0

Views

Author

Ilya Gutkovskiy, May 04 2017

Keywords

Examples

			a(21) = 4 because we have [21], [20, 1], [15, 6] and [14, 6, 1].
		

Crossrefs

Programs

  • Mathematica
    nmax = 75; CoefficientList[Series[Product[1 + Boole[EvenQ[PrimeNu[k]]] x^k, {k, 1, nmax}], {x, 0, nmax}], x]

Formula

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

A286222 Number of partitions of n into distinct parts with an odd number of prime divisors (counted with multiplicity).

Original entry on oeis.org

1, 0, 1, 1, 0, 2, 0, 2, 2, 1, 3, 2, 3, 4, 3, 5, 4, 5, 7, 6, 10, 8, 10, 12, 10, 15, 14, 16, 20, 18, 25, 25, 28, 32, 31, 38, 38, 44, 49, 51, 59, 61, 68, 75, 79, 89, 93, 103, 113, 120, 137, 141, 157, 168, 176, 200, 205, 229, 245, 260, 289, 303, 332, 356, 376, 411, 433, 470, 507, 535, 587
Offset: 0

Views

Author

Ilya Gutkovskiy, May 04 2017

Keywords

Examples

			a(10) = 3 because we have [8, 2], [7, 3] and [5, 3, 2].
		

Crossrefs

Programs

  • Mathematica
    nmax = 70; CoefficientList[Series[Product[1 + Boole[OddQ[PrimeOmega[k]]] x^k, {k, 1, nmax}], {x, 0, nmax}], x]

Formula

G.f.: Product_{k>=1} (1 + x^A026424(k)).

A286224 Number of compositions (ordered partitions) of n into parts with an odd number of distinct prime divisors.

Original entry on oeis.org

1, 0, 1, 1, 2, 3, 4, 8, 11, 19, 28, 47, 72, 116, 182, 289, 460, 724, 1153, 1820, 2891, 4572, 7249, 11482, 18190, 28821, 45651, 72338, 114582, 181549, 287597, 455647, 721849, 1143590, 1811753, 2870247, 4547245, 7203933, 11412922, 18080907, 28644799, 45380602, 71894401, 113899027, 180444897, 285870668
Offset: 0

Views

Author

Ilya Gutkovskiy, May 04 2017

Keywords

Examples

			a(6) = 4 because we have [4, 2], [3, 3], [2, 4] and [2, 2, 2].
		

Crossrefs

Programs

  • Mathematica
    nmax = 45; CoefficientList[Series[1/(1 - Sum[Boole[OddQ[PrimeNu[k]]] x^k, {k, 1, nmax}]), {x, 0, nmax}], x]

Formula

G.f.: 1/(1 - Sum_{k>=1} x^A030230(k)).
Showing 1-3 of 3 results.