OFFSET
1,3
COMMENTS
The signature function takes a partition to the partition consisting of its repetition factors.
LINKS
Robert Price, Table of n, a(n) for n = 1..9295 (first 25 rows).
EXAMPLE
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.
MATHEMATICA
sig[x_] := Length@NestWhileList[Last@Transpose@Tally@# &, x, # != {1} &, 1] - 1;
Table[sig /@ IntegerPartitions[n], {n, 8}] // Flatten (* Robert Price, Jun 12 2020 *)
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Franklin T. Adams-Watters, Jan 25 2006
STATUS
approved