OFFSET
1,2
EXAMPLE
MATHEMATICA
With[{s = Array[LengthWhile[#, # == 1 &] &@ Reverse@ FoldList[GCD[#1, #2] &, Reverse@ Divisors@ #] &, 10^6]}, Map[First@ FirstPosition[s, #] &, Union@ FoldList[Max, s]]] (* Michael De Vlieger, Dec 31 2018 *)
PROG
(PARI) upto(n) = my(r=0, res=List()); for(i=1, n, c=A322373(i); if(c > r, listput(res, i); print1(i", "); r = c)); res \\ David A. Corneth, Dec 09 2018
CROSSREFS
KEYWORD
nonn
AUTHOR
David A. Corneth, Dec 09 2018
STATUS
approved