OFFSET
1,2
COMMENTS
Next term exceeds 2^28, if it exists.
LINKS
Michael De Vlieger, Plot (log_2 a(n), A362132(n)) at (x, y).
MATHEMATICA
nn = 2^20;
c[_] := False; q[_] := False; h[_] := 0; f[n_] := DivisorSigma[0, n];
a[1] = j = u = w = 1;
{1}~Join~Rest@ Reap[Do[
If[c[j],
k = j + f[u]; h[j]++; h[u]--,
k = f[j]; c[j] = True; h[j]++ ];
u = Min[u, j]; Set[{a[n], q[k], j}, {k, True, k}];
While[h[u] == 0, u++];
If[k == w, While[q[w], w++]; Sow[n]], {n, 2, nn}] ][[-1, -1]]
CROSSREFS
KEYWORD
nonn,more
AUTHOR
Michael De Vlieger, Apr 10 2023
STATUS
approved