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.

A115624 Number of iterations of signature function required to get to [1] from partitions in Mathematica order.

Original entry on oeis.org

0, 1, 2, 1, 3, 2, 1, 3, 2, 4, 2, 1, 3, 3, 4, 4, 4, 2, 1, 3, 3, 4, 2, 3, 4, 2, 3, 4, 2, 1, 3, 3, 4, 3, 3, 4, 4, 4, 5, 4, 4, 4, 4, 2, 1, 3, 3, 4, 3, 3, 4, 2, 3, 4, 5, 4, 4, 3, 5, 5, 4, 2, 4, 4, 4, 2, 1, 3, 3, 4, 3, 3, 4, 3, 3, 4, 5, 4, 4, 3, 5, 5, 5, 4, 2, 5, 4, 4, 5, 5, 4, 4, 3, 4, 4, 2
Offset: 1

Views

Author

Keywords

Comments

The signature function takes a partition to the partition consisting of its repetition factors.

Examples

			Partition 5 in Mathematica order is [2,1]. Applying the signature function to this repeatedly gives [2,1] -> [1^2] -> [2] -> [1], so a(5)=3.
		

Crossrefs

Cf. A115621, A113787, Sequence of first partitions with a(m)=n is A012257, with initial rows {1} and {2} in prepended. See A080577 for Mathematica partition order.

Programs

  • Mathematica
    sig[x_] := Length@NestWhileList[Last@Transpose@Tally@# &, x, # != {1} &, 1] - 1;
    Table[sig /@ IntegerPartitions[n], {n, 8}]  // Flatten (* Robert Price, Jun 12 2020 *)