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-2 of 2 results.

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)).

A286227 Number of compositions (ordered partitions) of n into parts with an even number of prime divisors (counted with multiplicity).

Original entry on oeis.org

1, 1, 1, 1, 2, 3, 5, 7, 10, 15, 24, 36, 53, 78, 118, 179, 271, 405, 605, 907, 1366, 2055, 3086, 4628, 6948, 10440, 15689, 23560, 35371, 53110, 79771, 119821, 179958, 270243, 405833, 609495, 915394, 1374780, 2064647, 3100680, 4656676, 6993575, 10503180, 15773877, 23689467, 35577360
Offset: 0

Views

Author

Ilya Gutkovskiy, May 04 2017

Keywords

Examples

			a(6) = 5 because we have [6], [4, 1, 1], [1, 4, 1], [1, 1, 4] and [1, 1, 1, 1, 1, 1].
		

Crossrefs

Programs

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

Formula

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