OFFSET
0,4
COMMENTS
Same as A324078 with pairs after a(0) swapped.
LINKS
Michael De Vlieger, Table of n, a(n) for n = 0..10000
EXAMPLE
1, 1 time term 1, 3 times term 1, 1 time term 3, 2 times term 3, 1 time term 2, 2 times terms 2, ...
MATHEMATICA
Nest[Append[#, Reverse@ First@ SortBy[Union@ Tally[Flatten@ #], Last]] &, {{1}}, 52] // Flatten (* Michael De Vlieger, Feb 25 2019 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Joerg Arndt, Feb 15 2019
STATUS
approved