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.

A113787 Number of iterations of signature function required to get to [1] from partitions in Abramowitz and Stegun 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, 2, 4, 3, 2, 4, 3, 4, 2, 1, 3, 3, 3, 4, 3, 4, 4, 4, 5, 4, 4, 4, 4, 2, 1, 3, 3, 3, 2, 4, 3, 3, 4, 4, 4, 5, 3, 5, 2, 4, 5, 4, 4, 4, 4, 2, 1, 3, 3, 3, 3, 4, 3, 3, 4, 4, 3, 2, 4, 5, 5, 5, 5, 4, 4, 5, 4, 5, 4, 4, 5, 3, 4, 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 A&S order is [1,2]. Applying the signature function to this repeatedly gives [1,2] -> [1^2] -> [2] -> [1], so a(5)=3.
		

Crossrefs

Cf. A115621, A115624, Sequence of first partitions with a(m)=n is A012257, with initial rows {1} and {2} in prepended. See A036036 for A&S partitions.

Programs

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