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.

A326371 Irregular triangular array: row n shows the number of condensations needed to convert all the partitions of n to strict partitions.

Original entry on oeis.org

1, 1, 2, 1, 1, 2, 1, 1, 2, 3, 2, 1, 1, 1, 2, 2, 2, 2, 1, 1, 1, 2, 2, 1, 3, 2, 2, 2, 2, 1, 1, 1, 2, 1, 1, 2, 2, 2, 3, 2, 2, 2, 2, 2, 1, 1, 1, 2, 1, 1, 2, 2, 1, 3, 4, 3, 2, 2, 2, 3, 2, 2, 2, 3, 2, 2, 1, 1, 1, 2, 1, 1, 2, 1, 1, 2, 3, 2, 2, 1, 2, 3, 2, 2, 2, 2
Offset: 1

Views

Author

Clark Kimberling, Jul 06 2019

Keywords

Comments

It appears that there is a limiting row and that it includes every positive integer.

Examples

			First seven rows:
1
1   2
1   1   2
1   1   2   3   2
1   1   1   2   2   2   2
1   1   1   2   2   1   3   2   2   2   2
1   1   1   2   1   1   2   2   2   3   2   2   2   2   2
		

Crossrefs

Programs

  • Mathematica
    f[m_] := Table[Tally[m][[h]][[1]]*Tally[m][[h]][[2]], {h, 1, Length[Tally[m]]}];l
    m[n_, k_] := IntegerPartitions[n][[k]];
    q[n_, k_] := -1 + Length[FixedPointList[f, m[n, k]]];
    t = Table[q[n, k], {n, 1, 16}, {k, 1, PartitionsP[n]}]   (* A326371, array *)
    Flatten[t]   (* A326371, sequence *)
    TableForm[t]