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.

A337989 Number of compositions (ordered partitions) of n^n into n-th powers.

Original entry on oeis.org

1, 2, 120, 131204813713122
Offset: 1

Views

Author

Ilya Gutkovskiy, Oct 06 2020

Keywords

Comments

The next term is too large to include.

Examples

			a(3) = 120 because 3^3 = 27 and we have [27], [8, 8, 8, 1, 1, 1] (20 permutations), [8, 8, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] (78 permutations), [8, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] (20 permutations), [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] and 1 + 20 + 78 + 20 + 1 = 120.
		

Crossrefs

Programs

  • Mathematica
    Table[SeriesCoefficient[1/(1 - Sum[x^(k^n), {k, 1, n}]), {x, 0, n^n}], {n, 1, 4}]

Formula

a(n) = [x^(n^n)] 1 / (1 - Sum_{k>=1} x^(k^n)).