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.

A281273 Expansion of Product_{j>=1} 1/(1 - x^(Sum_{i=1..j} prime(i))).

Original entry on oeis.org

1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 3, 1, 3, 1, 3, 3, 3, 4, 3, 4, 6, 4, 7, 4, 7, 7, 7, 9, 8, 9, 12, 9, 14, 10, 15, 14, 15, 17, 17, 18, 22, 19, 25, 21, 27, 27, 28, 31, 31, 33, 38, 36, 42, 39, 45, 47, 49, 52, 55, 55, 64, 61, 70, 67, 74, 77, 81, 84, 91, 89, 102, 98, 110, 109, 116, 123, 126, 133, 141, 141, 156, 153, 168, 169, 178, 188, 193
Offset: 0

Views

Author

Ilya Gutkovskiy, Jan 18 2017

Keywords

Comments

Number of partitions of n into nonzero partial sums of primes (A007504).

Examples

			a(10) = 3 because we have [10], [5, 5] and [2, 2, 2, 2, 2], where 2 = prime(1), 5 = prime(1) + prime(2), 10 = prime(1) + prime(2) + prime(3).
		

Crossrefs

Programs

  • Mathematica
    nmax = 86; CoefficientList[Series[Product[1/(1 - x^Sum[Prime[i], {i, 1, j}]), {j, 1, nmax}], {x, 0, nmax}], x]

Formula

G.f.: Product_{j>=1} 1/(1 - x^(Sum_{i=1..j} prime(i))).

A282906 Expansion of 1/(1 - Sum_{j>=1} x^(Sum_{i=1..j} prime(i))).

Original entry on oeis.org

1, 0, 1, 0, 1, 1, 1, 2, 1, 3, 3, 4, 6, 5, 10, 9, 15, 18, 21, 32, 33, 52, 58, 79, 102, 122, 172, 201, 277, 341, 438, 575, 707, 947, 1169, 1530, 1949, 2474, 3228, 4046, 5281, 6678, 8594, 11035, 14025, 18142, 23015, 29681, 37888, 48512, 62319, 79456, 102230, 130456, 167418, 214356, 274221, 351904, 449700, 577024, 738150
Offset: 0

Views

Author

Ilya Gutkovskiy, Feb 24 2017

Keywords

Comments

Number of compositions (ordered partitions) of n into partial sums of primes (A007504).
Conjecture: every number > 3 is the sum of at most 5 partial sums of primes.

Examples

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

Crossrefs

Programs

  • Mathematica
    nmax = 60; CoefficientList[Series[1/(1 - Sum[x^Sum[Prime[i], {i, 1, j}], {j, 1, nmax}]), {x, 0, nmax}], x]

Formula

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