login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A362128
Indices of records in A360179.
4
1, 3, 5, 7, 9, 12, 15, 21, 25, 29, 52, 69, 87, 100, 138, 176, 233, 252, 265, 338, 371, 384, 400, 447, 459, 492, 515, 594, 606, 677, 779, 794, 850, 896, 1100, 1144, 1204, 1225, 1243, 1584, 1674, 1700, 2214, 2239, 2265, 2338, 2568, 3014, 3621, 3652, 4027, 4058, 4437, 4464, 4584, 4625, 5111, 5201, 5281
OFFSET
1,2
LINKS
MATHEMATICA
nn = 6000; c[_] := False; h[_] := 0; f[n_] := DivisorSigma[0, n];
a[1] = j = u = 1; r = 0;
{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], j}, {k, k}]; While[h[u] == 0, u++];
If[k > r, r = k; Sow[n]], {n, 2, nn}] ][[-1, -1]]
CROSSREFS
KEYWORD
nonn
AUTHOR
Michael De Vlieger, Apr 09 2023
STATUS
approved