OFFSET
1,1
MATHEMATICA
nn = 2^14; c[_] := False;
Array[Set[{a[#], c[#]}, {#, True}] &, 2]; u = s = a[1] + a[2];
Rest@ Reap[Monitor[Do[k = SelectFirst[Divisors[s], ! c[#] &];
c[k] = True; s += k;
If[k == u, Sow[u]; While[c[u], u++]], {n, 3, nn}], n]][[-1, 1]] (* Michael De Vlieger, Apr 27 2024 *)
PROG
(Haskell)
import Data.List (group)
a253584 n = a253584_list !! (n-1)
a253584_list = map head $ group a253443_list
CROSSREFS
KEYWORD
nonn,more
AUTHOR
Reinhard Zumkeller, Jan 05 2015
EXTENSIONS
More terms from Michael De Vlieger, Apr 27 2024
STATUS
approved