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.

A286225 Number of compositions (ordered 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, 3, 4, 5, 7, 9, 13, 18, 25, 34, 46, 61, 83, 112, 153, 209, 286, 387, 526, 713, 969, 1317, 1794, 2437, 3312, 4497, 6110, 8302, 11290, 15347, 20865, 28354, 38533, 52361, 71167, 96721, 131464, 178672, 242834, 330020, 448532, 609590, 828511, 1126037, 1530418, 2079977, 2826896, 3841998
Offset: 0

Views

Author

Ilya Gutkovskiy, May 04 2017

Keywords

Examples

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

Crossrefs

Programs

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

Formula

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

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

Original entry on oeis.org

1, 0, 1, 1, 1, 3, 2, 6, 7, 10, 18, 22, 39, 54, 81, 127, 179, 282, 412, 620, 940, 1384, 2106, 3129, 4698, 7062, 10531, 15856, 23695, 35541, 53304, 79773, 119723, 179262, 268748, 402832, 603484, 904821, 1355652, 2031963, 3045374, 4563604, 6840316, 10250612, 15363248, 23024904, 34506390
Offset: 0

Views

Author

Ilya Gutkovskiy, May 04 2017

Keywords

Examples

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

Crossrefs

Programs

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

Formula

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