The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A362128 Indices of records in A360179. 4

%I #8 Apr 14 2023 11:36:12

%S 1,3,5,7,9,12,15,21,25,29,52,69,87,100,138,176,233,252,265,338,371,

%T 384,400,447,459,492,515,594,606,677,779,794,850,896,1100,1144,1204,

%U 1225,1243,1584,1674,1700,2214,2239,2265,2338,2568,3014,3621,3652,4027,4058,4437,4464,4584,4625,5111,5201,5281

%N Indices of records in A360179.

%H Michael De Vlieger, <a href="/A362128/b362128.txt">Table of n, a(n) for n = 1..8238</a>

%t nn = 6000; c[_] := False; h[_] := 0; f[n_] := DivisorSigma[0, n];

%t a[1] = j = u = 1; r = 0;

%t {1}~Join~Rest@ Reap[Do[

%t If[c[j],

%t k = j + f[u]; h[j]++; h[u]--,

%t k = f[j]; c[j] = True; h[j]++ ];

%t u = Min[u, j]; Set[{a[n], j}, {k, k}]; While[h[u] == 0, u++];

%t If[k > r, r = k; Sow[n]], {n, 2, nn}] ][[-1, -1]]

%Y Cf. A000005, A360179, A362127.

%K nonn

%O 1,2

%A _Michael De Vlieger_, Apr 09 2023

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 27 23:16 EDT 2024. Contains 372900 sequences. (Running on oeis4.)