A030717 The first list after the following procedure: starting with a list [1] and an empty list, repeatedly add the distinct values already in the first list in ascending order to the second list and add the corresponding frequencies of those values to the first list.
1, 1, 2, 2, 1, 3, 2, 3, 3, 1, 4, 3, 3, 4, 3, 5, 1, 5, 3, 6, 2, 1, 6, 4, 7, 2, 2, 1, 7, 6, 7, 3, 2, 2, 1, 8, 8, 8, 3, 2, 3, 3, 8, 9, 11, 3, 2, 3, 3, 3, 8, 10, 15, 3, 2, 3, 3, 4, 1, 1, 10, 11, 18, 4, 2, 3, 3, 5, 1, 1, 1, 1, 14, 12, 20, 5, 3, 3, 3, 5, 1, 2, 2, 1
Offset: 1
Examples
First list begins: 1; 1; 2; 2, 1; 3, 2; 3, 3, 1; 4, 3, 3; 4, 3, 5, 1; 5, 3, 6, 2, 1; 6, 4, 7, 2, 2, 1; 7, 6, 7, 3, 2, 2, 1; 8, 8, 8, 3, 2, 3, 3; 8, 9, 11, 3, 2, 3, 3, 3;
Links
- Seiichi Manyama, Table of n, a(n) for n = 1..10000 (terms 1..1000 from Sean A. Irvine)
- Sean A. Irvine, Java program (github)
Crossrefs
Programs
-
Mathematica
t = {{1}}; Do[AppendTo[t, BinCounts[#, {1, Max[#] + 1}] &[Flatten[t]]], {25}]; DeleteCases[Flatten[t], 0] (* Peter J. C. Moses, Apr 09 2020 *)
Extensions
More terms from Franklin T. Adams-Watters, Dec 14 2006
Rolled back to original definition and data by Sean A. Irvine, Apr 08 2020
Name revised in line with A030777 by Peter Munn, Oct 11 2022
Comments