OFFSET
1,2
LINKS
Rémy Sigrist, Table of n, a(n) for n = 1..25000 (first 4178 terms from Michael De Vlieger)
Rémy Sigrist, C program for A347305
MATHEMATICA
j = r = c[_] = 0; {1}~Join~Reap[Do[k = 0; While[c[k] > 0, Set[m, c[k]]; c[m]++; j++; k++; If[m > r, Set[r, m]; Sow[j]]]; Set[m, c[k]]; c[m]++; j++, {i, 63}]][[-1, -1]]] (* Michael De Vlieger, Nov 13 2021 *)
PROG
(C) See Links section.
CROSSREFS
KEYWORD
nonn
AUTHOR
N. J. A. Sloane, Aug 31 2021
EXTENSIONS
Definition corrected by N. J. A. Sloane, Nov 13 2021
b-file corrected by Michael De Vlieger, Nov 13 2021
STATUS
approved