OFFSET
1,2
COMMENTS
From Michael De Vlieger, May 04 2022: (Start)
Also positions of 0's in A352931.
Fixed points of A352588 are these terms together with 2 and 8. (End)
LINKS
Rémy Sigrist, Table of n, a(n) for n = 1..10000
Rémy Sigrist, C program
EXAMPLE
MATHEMATICA
{1}~Join~Reap[Do[k = u; While[Nand[FreeQ[c, k], CoprimeQ[j, k], k != j + 1], k++]; j = k; AppendTo[c, k]; If[k == i, Sow[k]]; If[k == u, While[MemberQ[c, u], u++]; c = DeleteCases[c, _?(# < u &)]], {i, 2, nn}]][[-1, -1]] (* Michael De Vlieger, May 04 2022 *)
PROG
(C) See Links section.
CROSSREFS
KEYWORD
nonn
AUTHOR
Rémy Sigrist, May 04 2022
STATUS
approved